public Object dialog(){ dialogRunBase dialog; Dialog d;; dialog = dialog::newFormnameRunbase(formstr(GetSalesLn_REP),this); dialog = super(dialog); custAccountDLG=dialog.addField(typeId(CustAccount)); itemIdDLG=dialog.addField(typeId(ItemId)); inventSerialIdDLG=dialog.addField(typeId(InventSerialId)); GridMN=dialog.addCtrl(FormControlType::Grid); return dialog;}