Quintiq file version 2.0 #parent: #root Method ClickBtnOk () id:Method_DialogFillingCapacityOrder_ClickBtnOk { #keys: '[414382.0.402531772]' Body: [* // Disabled button to prevent the possibility of multiple firing //btnOk.Enabled(false,''); // OnOk this.ApplyChanges(); //DataHolderFillingCapacityOrder.Data().Commit(); //if( not isnull( DataHolderForm.Data() ) ) //{ // // Access the form, select the new assumption // DataHolderForm.Data().ListAssumptions().SelectByKey( DataHolderDialogData.Data().WrappedInstance().Key() ); //} this.Close(); *] }