Quintiq file version 2.0 #parent: #root Method OnOk () id:Method_DialogCreateEditTransportationCost_OnOk { #keys: '[145730.1.941108639]' Body: [* // Create or update laneleg costs laneLegCosts := DataHolderDialogDatas.Data().Copy(); LaneLegCost::CreateUpdate( &laneLegCosts, //output DataHolderFormLaneLeg.Data(), DropDownListAccount.Data(), DropDownStringListCostDriver.Text(), DateSelectorCostStart.Date(), DropDownStringListTimeUnit.Text(), ApplicationMacroPlanner.FormatStringToNumber( EditFieldLengthOfTime.Text() ), CheckboxBatchEditCost.Checked(), ApplicationMacroPlanner.FormatStringToReal( EditFieldCost.Text() ), false ); if( not isnull( DataHolderForm.Data() ) ) { ApplicationMacroPlanner.SelectListObjects( DataHolderForm.Data().lsAccountCosts(), laneLegCosts ); } this.Close() *] }