Quintiq file version 2.0
#parent: MatrixEditorProductPlanning
Response OnClick (
  ProductInStockingPointInPeriod objects
) id:Response_FormProductPlanningMatrix_MenuNewActual_OnClick
{
  #keys: '[136856.0.990459927]'
  Body:
  [*
    // Create a new ActualProductInStockingPointInPeriod
    dlg := construct( DialogCreateEditActualPISPIP );
    dlg.CreateActualPISPIP( this, objects );
  *]
  CanBindMultiple: false
  DefinitionID => /Responsedef_FormProductPlanningMatrix_MatrixEditor_Menu_OnClick_19
  Initiator: 'MenuNewActual'
  Precondition:
  [*
    return Product_MP::HasProductAndHasPeriod( feedback, MacroPlan )
           and ActualProductInStockingPointInPeriod::CanCreate( feedback,
                                                                DataHolderChildProducts.Data(),
                                                                DataHolderChildStockingPoints.Data() );
  *]
}
