Quintiq file version 2.0 
 | 
#parent: ListPostponementPenalties 
 | 
Response OnClick () id:Response_ListPostponementPenalties_MenuCreatePostponePenalty_OnClick 
 | 
{ 
 | 
  #keys: '[139394.0.1870644511]' 
 | 
  CanBindMultiple: false 
 | 
  DefinitionID => /ListPostponementPenalties/Responsedef_ListPostponementPenalties_WebMenu_OnClick 
 | 
  Initiator: 'MenuCreatePostponePenalty' 
 | 
  Precondition: 
 | 
  [* 
 | 
    return Product_MP::HasProductAndHasPeriod( feedback, MacroPlan ) 
 | 
           and PostponedSalesDemandCost::CanCreate( feedback,  
 | 
                                                    DataHolderProduct.Data(),  
 | 
                                                    DataHolderStockingPoint.Data() ); 
 | 
  *] 
 | 
  QuillAction 
 | 
  { 
 | 
    Body: 
 | 
    [* 
 | 
      // new postponement penalty 
 | 
      dlg := construct( DialogCreateEditPostponementPenalty ); 
 | 
      dlg.New(); 
 | 
    *] 
 | 
    GroupServerCalls: false 
 | 
  } 
 | 
} 
 |