Hi everybody,
I have made an Invoice Report for a customer and try to print it. Under the Print button of the Posted Sales Invoice Form there is this code:
CurrForm.SETSELECTIONFILTER(SalesInvHeader);
SalesInvHeader.PrintRecords(TRUE,Rec);
No matter which report I try to print to (the original 206 or my new 50002), specified in Report Selection, the No. is NOT sent to the report.
](*,)
Any suggestions?
Alx
0
Comments
The code is a bit awkward
In standard navision is:
So you need to find out where the (True, Rec) comes from.
Maybe the fault is in the PrintRecords function.
Regards,
Marq
I took out the Rec from the call and from the function in Sales Invoice Header and it worked. I still don't know how Rec got in there in the first place, but I guess it might have something to do with the Greek localization...
Anyway, hartstikke bedankt!
Alx