| Quintiq file version 2.0 | 
| #parent: ListPostponedSDCost | 
| Response OnClick () id:Response_ListPostponedSDCost_MenuNewPostponedSalesDemandCost_OnClick | 
| { | 
|   #keys: '[11660.0.757984636]' | 
|   Body: | 
|   [* | 
|     // Create a new PSD cost | 
|     dlg := construct( DialogCreateEditPostponedSalesDemandCost ); | 
|     postponedsdcost := dlg.NewPostponedSalesDemandCost( this ); | 
|      | 
|     ApplicationLibMacroPlanner.AutoExpandSelection( this, postponedsdcost ); | 
|   *] | 
|   CanBindMultiple: false | 
|   DefinitionID => /ListPostponedSDCost/Responsedef_ListPostponedSDCost_Menu_OnClick | 
|   Initiator: 'MenuNewPostponedSalesDemandCost' | 
|   Precondition: | 
|   [* | 
|     return Product_MP::HasProductAndHasPeriod( feedback, MacroPlan ) | 
|            and PostponedSalesDemandCost::CanCreate( feedback, DataHolderChildProducts.Data(), DataHolderChildStockingPoints.Data() ); | 
|   *] | 
|   UserRequiresReadWrite: true | 
| } |