Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method Edit () id:Method_DialogKpiSettings_Edit 
 | 
{ 
 | 
  #keys: '[146874.1.152948705]' 
 | 
  Body: 
 | 
  [* 
 | 
    // Initialize Kpi Global Parameter and daemon settings 
 | 
    globalParameter := KpiTracker.GlobalParameter(); 
 | 
     
 | 
    if ( isnull( globalParameter ) ) 
 | 
    {  
 | 
      globalParameter := KpiGlobalParameter::Create( KpiTracker ); 
 | 
    } 
 | 
     
 | 
    data := shadow( globalParameter ); 
 | 
    Form.DataHolderGlobalParameter().Data( &data ); 
 | 
     
 | 
    Form.EditCustom(); 
 | 
     
 | 
    /* 
 | 
    // Not working properly in webclient.  
 | 
    Form.EnableDisableCleanup(); 
 | 
    Form.EnableDisableRecord(); 
 | 
    */ 
 | 
     
 | 
    Form.Show( 'modal' ); 
 | 
  *] 
 | 
} 
 |