Quintiq file version 2.0 
 | 
#parent: MatrixEditorProductPlanning 
 | 
Response OnClick ( 
 | 
  structured[ProductInStockingPointInPeriod] objects 
 | 
) id:Response_FormProductPlanningMatrix_MenuNewInventorySupply_OnClick 
 | 
{ 
 | 
  #keys: '[130238.0.374693496]' 
 | 
  Body: 
 | 
  [* 
 | 
    // New inventory supply 
 | 
    dlg := construct( DialogCreateEditInventorySupply ); 
 | 
    dlg.CreateInventorySupply( objects, this ); 
 | 
  *] 
 | 
  CanBindMultiple: false 
 | 
  DefinitionID => /Responsedef_FormProductPlanningMatrix_MatrixEditor_Menu_OnClick_19 
 | 
  Initiator: 'MenuNewInventorySupply' 
 | 
  Precondition: 
 | 
  [* 
 | 
    return InventorySupply::CanCreate( feedback, objects ); 
 | 
  *] 
 | 
} 
 |