Quintiq file version 2.0 #parent: #root Method OnOK () id:Method_DialogEditKPIHorizon_OnOK { #keys: '[139394.0.522292598]' Body: [* // On ok selection := DataHolderDialogData.Data(); if( selection.StartOfKPIHorizon() <> DateSelectorStart.Date() or selection.EndOfKPIHorizon() <> DateSelectorEnd.Date() ) { // Set attr to trigger refresh of KPI when changes of horizon is detected selection.HasNewKPIHorizon( true ); } Form.ApplyChanges(); selection.Commit(); this.Close(); *] }