Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method Edit ( 
 | 
  internal[GUIComponent] parent, 
 | 
  shadow[LibOpt_BT_TargetKPI] selection, 
 | 
  Boolean overriding 
 | 
) id:Method_DialogTargetKPI_Edit_86 
 | 
{ 
 | 
  #keys: '[139544.1.1283200973]' 
 | 
  Body: 
 | 
  [* 
 | 
    Dialog.Data( selection ); 
 | 
    if ( selection.HasCellOverride() ) 
 | 
    { 
 | 
      GroupPanelAcceptanceSettings.SetProperty( "Text", Translations::LibOpt_BT_TrackingTableCell_OverrideGroupPanel() ); 
 | 
    } 
 | 
    if ( Dialog.DoModal( parent ) > 0 ) 
 | 
    { 
 | 
      if ( overriding ) 
 | 
      { 
 | 
        selection.HasCellOverride( true ); 
 | 
      } 
 | 
      this.UpdateValues( selection ); 
 | 
      selection.Commit(); 
 | 
    } 
 | 
  *] 
 | 
} 
 |