| Quintiq file version 2.0 | 
| #parent: #root | 
| Method OnUserUpdateUI ( | 
|   String timeunit, | 
|   UnitOfMeasure_MP secondaryuom | 
| ) id:Method_DialogCreateEditTransportCapacity_OnUserUpdateUI | 
| { | 
|   #keys: '[139394.1.45300339]' | 
|   Body: | 
|   [* | 
|     // Set labels | 
|     this.SetLabels( timeunit, secondaryuom ); | 
|      | 
|     // Enable disable components | 
|     this.EnableDisableComponents( CheckboxBatchEditCapacity.Checked() /*isbatcheditcapacity*/,  | 
|                                   CheckboxBatchEditLotSize.Checked() /*isbatcheditlotsize*/,  | 
|                                   CheckboxBatchEditSecondaryCapacity.Checked() /*isbatcheditsecondarycapacity*/,  | 
|                                   CheckboxHasSecondaryCapacity.Checked() ); | 
|   *] | 
| } |