Quintiq file version 2.0
#parent: PanelOptimizerGoalsButtonsAllH/ButtonUnassignAll
Response OnClick () id:Response_PanelOptimizerGoalsButtonsAllH_ButtonUnassignAll_OnClick
{
  #keys: '[146140.1.1762223551]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  QuillAction
  {
    Body:
    [*
      // Deactivate all kpi weights from goals
      
      kpis := selectset( DataHolderDialogData.Data(), KPIWeight, kpi, kpi.KPI().IsUsedByOptimizer() );
      Form.DeactivateKPIWeight( kpis );
    *]
    GroupServerCalls: false
  }
}
