ainulm
19th November 2014, 03:00
Hi guys,
I want to print Invoice History in each Asset and display it together in one report which is "Print Acquisition Register".
Invoice History : tffam130 , Asset Register = tffam810
I tried to combine between tffam130.anbr = tffam810.xanb. But all the value didnt come out. cane refer my code below. Thanks.
*********************function section**********************
functions:
function AdjDate()
{
a=tffam810.xanb
select tffam130.anbr, tffam130.desc, tffam130.aext, tffam130.dcdt, tffam130.ttyp,
tffam130.iamt, tffam130.docn, tffam130.cost, tffam810.xanb
from tffam130, tffam810
where tffam130.anbr =:a
order by
tffam810.xanb
as set with 1rows
selectdo
endselect
}
I want to print Invoice History in each Asset and display it together in one report which is "Print Acquisition Register".
Invoice History : tffam130 , Asset Register = tffam810
I tried to combine between tffam130.anbr = tffam810.xanb. But all the value didnt come out. cane refer my code below. Thanks.
*********************function section**********************
functions:
function AdjDate()
{
a=tffam810.xanb
select tffam130.anbr, tffam130.desc, tffam130.aext, tffam130.dcdt, tffam130.ttyp,
tffam130.iamt, tffam130.docn, tffam130.cost, tffam810.xanb
from tffam130, tffam810
where tffam130.anbr =:a
order by
tffam810.xanb
as set with 1rows
selectdo
endselect
}