on 02-19-2024 7:25 PM
Hola todos, necesito ayuda con este qwery ya que estoy intentando ver el saldo de determinadas cuentas en cierto periodo de tiempo. pero los datos que me devuelven son erroneos.
este es mi qwery
SELECT Account,SUM(T0.Debit - T0.Credit) FROM JDT1 T0
WHERE T0.Account in( '_SYS00000000156','_SYS00000000160','_SYS00000000357','')AND T0.RefDate <='20241231' and TransType<>-3
group by Account
User | Count |
---|---|
107 | |
12 | |
10 | |
5 | |
5 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.