Args args;
FormRun formRun;
;
args = new Args();
args.name(formstr(FormName));
args.caller();
args.record();
formRun = classfactory.formRunClass(args);
formRun.init();
formRun.run();
formRun.dataSource().findRecord(common);
formRun.wait(); localSalesLine = element.args().record();
localSalesLine.ItemId = ctrlItemId.valueStr();
localSalesLine.dataSource().object(fieldNum(SalesLine, ItemId)).modified(); if (_args && _args.dataset() == bomCosTGroup.TableId)
{
if (_args.record().isFormDataSource())
{
formDataSource = _args.record().dataSource();
for(caller = formDataSource.getFirst(true) ? formDataSource.getFirst(true): _args.record();
caller;
caller = formDataSource.getNext())
{
info(caller.CostGroupId);
info("test");
}
}
}t. Args args = new Args();
;
args.record(wmsShipment);
args.caller(element);
args.parmObject(wmsShipmentOption);
new MenuFunction(menuitemactionstr(SalesFormLetter_PackingSlip), MenuItemType::Action).run(args);
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)