Hi,
I am trying to run this query for 1 specific transaction number (309985) but it is giving me hundred thousand results! I don't know what is wrong. Can someone help to see whats my error? Please?
SELECT T0.refDate as "Contabilizacion",
T0.dueDate as "Vencimiento",
T0.folioPref as "Serie",
T0.baseRef as "No. Documento",
T0.TransId as "No. Transaccion",
T0.Memo as "Comentarios",
T2.Account as "Cuenta",
T0.LocTotal as "Cargo/Abono",
T3.Cardcode as "RUT",
T3.CardName as "Razon Social"
FROM OJDT T0 Inner Join JDT1 T2 on T0.transId=T2.transId, OPCH T3 where T0.transId='309985'
Thanks a lot!