Quintiq file version 2.0
#parent: #root
Method EditCustom () id:Method_Kpi_dlgSettings_EditCustom #extension
{
  Body:
  [*
    // To be extended in model.
    // Implementation: Drag and drop Panel Kpi_pnlDaemon, name differently: Kpi_pnlDaemonCompany
    // Format: this.Kpi_pnlDaemonCompany().dhSnapshotGenerator().Data( shadow( Company.KPIHolderCompany() ) );
    this.Kpi_pnlDaemoSMSnapshotGenerator().dhSnapshotGenerator().Data( shadow( ScenarioManager.SMKpiSnapshotGenerator() ) );
    policy := select( this.Data().KpiTracker(), RetentionPolicy.astype(KpiPeriodRetentionPolicy ), p, p.Identification() = SMKpiSnapshotGenerator::KPISnapshotRetentionPolicyID( ) ) ;
    dhRetentionPolicy.Data( shadow ( policy ) );
  *]
}
