Jump to content
Seja Membro VIP - Remova Banners de Propagandas, Tenha Liberado Qualquer Download, Além de Acessos em Áreas Exclusivas!! ×

Recommended Posts


  • 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

Posted

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)

 

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic


  • 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

Posted

Isso seria para um filtro?


  • 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

Posted

Poderia exemplificar melhor o cenário ?

[]'s 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.