Quintiq file version 2.0
#parent: ListScenario
Response OnClick (
  ScenarioFolder selection
) id:Response_ListScenario_MenuFolderUnavailable_OnClick
{
  #keys: '[11766.1.296289669]'
  Body:
  [*
    // Unload all scenario under a folder
    selection.SetUnavailable( ValueHolderUserGroup.Value() );
  *]
  DefinitionID => /ListScenario/Responsedef_ListScenario_Menu_OnClick
  Initiator: 'MenuFolderUnavailable'
  Precondition:
  [*
    return selection.CanSetUnavailable( MacroPlan, feedback )
         // LSY: Comment out other IS stuff.
         // or selection.CanSetUnavailable( DemandPlan, feedback )
  *]
  UserRequiresReadWrite: true
}
