pegaga1979
8th March 2016, 03:18
Hi,

I would like to add GL code from Integration transactions to report printed from session Print Purchase Receipt.
I hv add program in the script as below, but the code is not printed.


domain tfgld.leac acc

select tfgld482.*
from tfgld482
where tfgld482.rbon="tdpur040" and
tfgld482.rbid=:tfacp240.otbp and
tfgld482.idtc="10001074" and
tfgld482.dbcr=tfgld.dbcr.credit and
tfgld482.rpon=10001
selectdo
acc=tfgld482.leac
selectempty
acc=""
endselect


your expertise is highly appreciated.

pegaga1979
8th March 2016, 03:47
i got it....i just wrongly put the constraint.