Quintiq file version 2.0
#parent: ListTransportAvailabilities
Response OnClick () id:Response_ListTransportAvailabilities_MenuRemoveRedundant_OnClick
{
  #keys: '[135040.0.6576297]'
  Body:
  [*
    // Remove redundant transport availabilities
    units := selectset( MacroPlan, Unit, unit, unit.TransportAvailability( relsize ) > 0 );
    TransportAvailability::RemoveRedundant( units );
  *]
  CanBindMultiple: false
  DefinitionID => /ListTransportAvailabilities/Responsedef_ListTransportAvailabilities_Menu_OnClick
  Initiator: 'MenuRemoveRedundant'
  Precondition:
  [*
    return MacroPlan::HasMacroPlan( MacroPlan, feedback );
  *]
  UserRequiresReadWrite: true
}
