Hi Sumit,
Thanks for reply,
I have tried doing COC of createParmLinesAndTable method of PurchFormLetterParmDataInvoice class, but not succeeded.
Below my coc-
protected void createParmLinesAndTable()
{
VendInvoiceInfoLine vendInvoiceInfoLine;
PurchTable purchTable;
ParmId currentParmId = this.parmId();
next createParmLinesAndTable();
select vendInvoiceInfoLine where vendInvoiceInfoLine.ParmId == currentParmId;
purchTable = PurchTable::find(vendInvoiceInfoLine.OrigPurchId);
if(purchTable.CON == NoYes::Yes)
{
if(vendInvoiceInfoLine)
{
info(strFmt("Before = %1",vendInvoiceInfoLine.LineAmount));
vendInvoiceInfoLineUp.LineAmount = 0;
info(strFmt("After = %1",vendInvoiceInfoLine.LineAmount));
}
}
}
In debugging it's triggering and getting value (Line Amount Value) in Before info and updating line amount 0 in after info but in table it is not updating zero.
let me know if any suggestion,
Thanks,
Amol