Quintiq file version 2.0
#parent: ListStockingPointCapacity
Response OnClick () id:Response_ListStockingPointCapacity_MenuRemoveRedundant_OnClick_946
{
  #keys: '[132444.0.102045104]'
  Body:
  [*
    // Remove redundant stocking point capacities
    sps := selectset( MacroPlan, StockingPoint_MP, sp, sp.StockingPointCapacity( relsize ) > 0 );
    StockingPointCapacity::RemoveRedundant( sps );
  *]
  CanBindMultiple: false
  DefinitionID => /ListStockingPointCapacity/Responsedef_ListStockingPointCapacity_Menu_OnClick
  Initiator: 'MenuRemoveRedundant'
  Precondition:
  [*
    return MacroPlan::HasMacroPlan( MacroPlan, feedback );
  *]
}
