| Quintiq file version 2.0 | 
| #parent: #root | 
| Method New ( | 
|   internal[GUIComponent] parent | 
| ) as PostponementSpecification id:Method_DialogCreateEditPostponementSpecification_New | 
| { | 
|   #keys: '[130036.1.306632888]' | 
|   Body: | 
|   [* | 
|     // Create a new PostponementSpecification                                 | 
|     this.ShowHideComponentForBatchEdit( false ); | 
|     salesSegment := select( DataHolderChildSalesSegments.Data(), Elements, ss, true ); | 
|      | 
|     data := salesSegment.PostponementSpecification( relshadow, SalesSegmentName := "" ); | 
|      | 
|     Dialog.Data( data ); | 
|      | 
|     Dialog.SetDefaultValue( null( PostponementSpecification ) ); | 
|      | 
|     if ( Dialog.DoModal( parent ) > 0 ) | 
|     { | 
|       data.Commit();                                              | 
|     } | 
|      | 
|     return data.WrappedInstance(); | 
|   *] | 
| } |