Posting PO packing slip through X++ Code

Hello friends,

I want to post purchase order packing slip through X++ code.

Your supervision required for it, Pls help!!

Thanks

B K Sharma

Hi,

PurchFormLetter purchFormLetter;

purchFormLetter = PurchFormLetter::construct(DocumentStatus::PackingSlip);
purchFormLetter.update(purchTable, strFmt(“Inv_%1”, purchTable.PurchId));

Use this code to do the packing slip for your PO.

Thanks.

Thanks M Kumaran L

But is there any help/code available to create purchase packing slip ?

Regards

B K

can you pls explain your requirement.