[Control(/Button/)] class ButtonUpdate { void clicked() { Args args; super(); str test = 'test'; args = new Args(); args.record(salesParmTable); args.parmEnum(enum2int(DocumentStatus::Invoice)); args.name(formstr(SalesEditLines)); args.parm(test); SalesFormLetter::main(args); salesParmTable_ds.active(); } }