Hi all,
in my form i have a field which is storing vendor invoice number and I made a button so that when we click on that it should open the relevent pending vendor invoice record, here the form is not straight. i have written the below code to open the form which is not working.
FormRun purchEditLines;
Args clientArgs;
Args args;
VendInvoiceInfoTable VendInvoiceInfoTable;
PurchFormLetter purchformletter;
select VendInvoiceInfoTable where VendInvoiceInfoTable.Num == SummaryInvoice.VendorInvoiceNumber;
args = new Args();
args.record(VendInvoiceInfoTable);
args.parmEnum(7);
args.caller(this);
//args.parmObject(element);
new MenuFunction(menuItemActionStr(PurchFormLetter_InvoiceActionView ), MenuItemType::Action).run(args);
*This post is locked for comments
I have the same question (0)