Quintiq file version 2.0
#parent: ListProductInLane
Response OnClick (
  structured[ProductInLane] selection
) id:Response_ListProductInLane_MenuExcludeFromUtilizationOfUnit_OnClick
{
  #keys: '[124808.2.572601780]'
  Body:
  [*
    // Include / exclude from capacity consumption
    ProductInLane::ToggleIsExcluded( selection );
  *]
  CanBindMultiple: false
  DefinitionID => /ListProductInLane/Responsedef_ListProductInLane_Menu_OnClick
  Initiator: 'MenuExcludeFromUtilizationOfUnit'
  Precondition:
  [*
    MenuExcludeFromUtilizationOfUnit.SetProperty( 'Checked', [String]selection.Element( 0 ).IsExcluded() );
    return true;
  *]
}
