hongji.li
2023-09-24 2709b3e28de35a866a65fa72f589d38a43d5045b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Quintiq file version 2.0
#parent: ListInventorySpecification
Response OnClick () id:Response_ListInventorySpecification_MenuRemoveRedundant_OnClick
{
  #keys: '[110880.2.1255271283]'
  Body:
  [*
    // Remove redundant inventory specifications
    pisps := selectset( MacroPlan, Product_MP.ProductInStockingPoint_MP, pisp, true );
    InventorySpecification::RemoveRedundant( pisps );
  *]
  CanBindMultiple: false
  DefinitionID => /ListInventorySpecification/Responsedef_ListInventorySpecification_Menu_OnClick
  Initiator: 'MenuRemoveRedundant'
  Precondition:
  [*
    return MacroPlan::HasMacroPlan( MacroPlan, feedback );
  *]
}