ChromusMaster Posted April 24, 2017 Topic Count: 14 Topics Per Day: 0.00 Content Count: 39 Content Per Day: 0.01 Reputation: 1 Achievement Points: 330 Solved Content: 0 Days Won: 1 Status: Offline Age: 25 Report Posted April 24, 2017 BOa tarde como fazer para que uma consulta rode internamente ao TOTVS e busque os dados filtrando por parâmetros ? Ou seja, não retornar os movimentos inseridos pelo usuario. Segue Trecho para explicar melhor FROM TMOV A INNER JOIN FCFO B ON A.CODCOLIGADA = B.CODCOLIGADA AND A.CODCFO = B.CODCFO INNER JOIN FLAN FL ON FL.CODCOLIGADA=A.CODCOLIGADA AND FL.IDMOV=A.IDMOV WHERE A.CODTMV IN ('1.2.01','1.2.03','1.2.09','1.2.10','1.2.17','1.2.18','1.2.20','1.2.21','1.2.22','1.2.23','1.2.24','1.2.30','1.2.31','1.2.32','1.2.35','1.2.36','1.2.37','1.2.38') AND A.DATACRIACAO >= :INICIAL AND A.DATACRIACAO <= :FINAL AND A.NUMEROMOV NOT IN(:NUMEROMOV) Quote
marcosjmfilho Posted April 28, 2017 Topic Count: 3 Topics Per Day: 0.00 Content Count: 10 Content Per Day: 0.00 Reputation: 0 Achievement Points: 82 Solved Content: 0 Days Won: 0 Status: Offline Age: 36 Report Posted April 28, 2017 Isso seria para um filtro? Quote
Frederico Posted April 29, 2017 Topic Count: 11 Topics Per Day: 0.00 Content Count: 1,140 Content Per Day: 0.21 Reputation: 60 Achievement Points: 6,163 Solved Content: 0 Days Won: 33 Status: Offline Age: 43 Device: Windows Report Posted April 29, 2017 Poderia exemplificar melhor o cenário ? []'s Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.