| Quintiq file version 2.0 | 
| #parent: #root | 
| Method SetAttributeAfterApplyData () id:Method_DialogCreateEditEventType_SetAttributeAfterApplyData | 
| { | 
|   #keys: '[415136.0.725550482]' | 
|   Body: | 
|   [* | 
|     // Set attributes on apply data, before commiting the data | 
|     data := dhDialogData.Data(); | 
|      | 
|     //Parent product | 
|     parentID := ''; | 
|     parentEventType := selParent.Data(); | 
|     if( not isnull(  parentEventType ) ) | 
|     { | 
|       parentID := parentEventType.ID(); | 
|     } | 
|     data.ParentID( parentID ); | 
|   *] | 
| } |