Hi,
My requirement is to post purchase order product receipt journal through x code.
I had written code as below. But the issue is journal is not being created and posted.
Please can someone help me in this.
purchFormLetter = PurchFormLetter::construct(DocumentStatus::PackingSlip); purchFormLetter.transDate(parmTable.TransDate); purchFormLetter.proforma(false); purchFormLetter.specQty(PurchUpdate::All); purchFormLetter.purchTable(purchTable); purchFormLetter.parmParmTableNum(parmTable.ParmId); purchFormLetter.parmId(parmTable.ParmId); purchFormLetter.purchParmUpdate(purchFormLetterParmData.parmParmUpdate()); purchFormLetter.run();
And calling the above code through batch job.
Please can someone help me.
Thanks in advance.