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

AX-7 Create Pending vendor invoice X++ but not working am using purchFormLetter framework Please help see code below am using purchFormLetter framework AX 7 and parm PurchUpdate::All

$
0
0

AX-7 I'm Trying create Pending vendor invoice but not working am using purchFormLetter framework Please help see code below am using purchFormLetter framework AX 7 and parm PurchUpdate::All  see code below nothing happen paramId object has value but not parmLastParmTableRecId

 purchFormLetter = purchformletter::construct(DocumentStatus::Invoice);

 purchFormLetter.purchTable(_purchTable);

purchFormLetter.specQty(PurchUpdate::All);
PurchFormLetter.allowEmptyTable(true);
PurchFormLetter.initAllowEmptyTable(true);
PurchFormLetter.multiForm(true);
purchFormLetter.proforma(false);
purchFormLetter.parmParmTableNum(_parmTableNum);

// purchFormLetter.chooseLinesQuery(chooseLinesQuery);
// purchFormLetter.reArrangeNow(false);
// purchFormLetter.reArrange();
purchFormLetter.initLinesQuery();
purchFormLetter.parmNumber(_parmTableNum);

purchFormLetter.chooseLines(false);


Viewing all articles
Browse latest Browse all 46681

Trending Articles