Hi All,
I am trying to generate the proforma packing slip through X++ by using the following code. The issue is that the document only prints the first time. After debugging a lot, I finally found that there was no matching SalesParmTable for the parm id of the salesparmupdate. Has anyone had the same experience?
salesTable = SalesTable::find(salesId); salesFormLetter = SalesFormLetter::construct(DocumentStatus::PackingSlip);
salesFormLetter.update(salesTable,
systemDateGet(),SalesUpdate::PackingSlip,AccountOrder::None,true,true);
Thanks,
Rohini