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