I need to create something similar to printhistory in salesinvoice
Quantity : 5 Site : ILA-LOG-01 Warehouse : LOG-ILA-01 Location : OUT Licence plate : LS000477
I need a information how many items were selected from a warehouse and add to it intrastatcommodity.
I tried to add intrastat with this but it gives me 0 back.
int642Str(SalesLine::findInventTransId(ProjItemTrans::find(projInvoiceItem.ProjTransId).inventtransid).IntrastatCommodity);