lingdanglfw(DAX)

导航

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();
*/

}

posted on 2021-08-29 15:03  lingdanglfw  阅读(35)  评论(0编辑  收藏  举报