Posts

Showing posts with the label VendInvoiceInfoLine

Purchase Order Invoice posting with using X++ with custom VendInvoiceInfoLine fields

private boolean postPOInvoice(PurchTable purchTable) {     PurchFormLetter         letter      = purchFormLetter::construct(DocumentStatus::Invoice);     PurchParmUpdate         purchParmUpdate;     PurchLine               purchLineLocal;     VendInvoiceInfoTable    vendInvoiceInfoTable;     VendInvoiceInfoLine     vendInvoiceInfoLine, vendInvoiceInfoLineFrom;          boolean                 ret = true;                   letter.purchTable(purchTable);         letter.initParmDefault();         letter.transDate          (systemdateget());         letter.specQty            (PurchUp...