Quintiq file version 2.0
#parent: ListPISPGenerateSafetystock
Response OnClick (
  structured[ProductInStockingPoint_MP] selection
) id:Response_ListPISPGenerateSafetystock_MenuKeepSafetyStock_OnClick
{
  #keys: '[139394.1.911558939]'
  CanBindMultiple: false
  DefinitionID => //ListProductInStockingPoints/Responsedef_ListProductInStockingPoints_WebMenu_OnClick
  Initiator: 'MenuKeepSafetyStock'
  Precondition:
  [*
    return ProductInStockingPoint_MP::CanUpdateKeepSafetyStock( feedback, selection, true );
  *]
  QuillAction
  {
    Body:
    [*
      // Update keep safety stock to true
      ProductInStockingPoint_MP::UpdateSafetyStockParameters( selection, true );
    *]
    GroupServerCalls: false
  }
}
