Quintiq file version 2.0
#parent: ListSafetyStocks
Response OnClick () id:Response_ListSafetyStocks_MenuCreate_OnClick
{
  #keys: '[136682.2.137020960]'
  CanBindMultiple: false
  DefinitionID => /ListSafetyStocks/Responsedef_ListSafetyStocks_WebMenu_OnClick
  GroupServerCalls: true
  Initiator: 'MenuCreate'
  Precondition:
  [*
    return ProductInStockingPoint_MP::ValidateIsSafetyStockKept( feedback, DataHolderSelectedPISP.Data() );
  *]
  QuillAction
  {
    Body:
    [*
      //Create new safetystock
      pisp := guard( DataHolderSelectedPISP.Data().Element( 0 ), null( ProductInStockingPoint_MP ) );
      dlg := construct( DialogCreateEditSafetyStock );
      dlg.New( pisp, FormSafetyStocks );
    *]
  }
}
