Quintiq file version 2.0
#parent: ListSafetyStock
Response OnClick (
  structured[ProductInStockingPoint_MP] pispselection
) id:Response_ListSafetyStock_MenuNewSafetyStock_OnClick
{
  #keys: '[136682.2.182625801]'
  Body:
  [*
    // Create a new SafetyStock
    dlg := construct( DialogCreateEditSafetyStock );
    dlg.New( this, pispselection.Element( 0 ) );
  *]
  CanBindMultiple: false
  DefinitionID => /ListSafetyStock/Responsedef_ListSafetyStock_Menu_OnClick
  Initiator: 'MenuNewSafetyStock'
  Precondition:
  [*
    return ProductInStockingPoint_MP::ValidateIsSafetyStockKept( feedback, pispselection );
  *]
}
