InventReserve on InventTable form button script

void clicked()
{
Args args;

FormRun formCreate;
FormRun formRun;
InventTrans invTrans;

MenuFunction menuFunction;
;
select invTrans
where invTrans.ItemId == InventTable.ItemId;


// Use whole table (i.e. No filtering, show all rows)
// Establish this form as the caller
args = new Args();
args.caller(element);
args.record(invTrans);
// Create a new MenuFunction that launches the Reserve Menu Item
menuFunction = new MenuFunction(
menuitemdisplaystr(InventReserve),
MenuItemType::Display);
menuFunction.run(args);

/*
//args = new Args();

args.name(formstr(InventOnhandReserve));

//args.caller(formRun);

//args.record();

args.parmObject(this);

formCreate = classfactory.formRunClass(args);
formCreate.init();
formCreate.run();
formCreate.wait();
*/

}

InventReserve on InventTable form button script

上一篇:深拷贝


下一篇:8月29日考研单词分享