Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 73760

AX2012 - Issue generating proforma packing slip through x++

$
0
0

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


Viewing all articles
Browse latest Browse all 73760

Trending Articles