For the sales line, I have created a function ‘Loan Sold’. During this operation i’m posting packing slip. Now, The posting is happening for all the lines in the sales order. How can I post the packing for the particular sales line ?
I’m using the following code to post the packing slip.
salesFormLetter = salesFormLetter::construct(DocumentStatus::PackingSlip); salesFormLetter.update(salesLine.salesTable(),systemDateGet(),SalesUpdate::PackingSlip,AccountOrder::None,NoYes::No,NoYes::No);
How can I post the packing slip for single sales line ? Please help.