Quintiq file version 2.0
#parent: #root
Method InitializeData () id:Method_FormDefaultCapacities_InitializeData
{
  #keys: '[139394.1.79202843]'
  Body:
  [*
    // Set labels
    if( not isnull( MacroPlan ) )
    {
      EditFieldDefaultMinCapacityPerDayForUnit.Label( EditFieldDefaultMinCapacityPerDayForUnit.Label() 
                                                      + ' (' 
                                                      + MacroPlan.DefaultUnitOfMeasure().Name()
                                                      + ')' )
      EditFieldDefaultMaxCapacityPerDayForUnit.Label( EditFieldDefaultMaxCapacityPerDayForUnit.Label() 
                                                      + ' (' 
                                                      + MacroPlan.DefaultUnitOfMeasure().Name()
                                                      + ')' )
      EditFieldDefaultMaxCapacityPerDayForStockingPoint.Label( EditFieldDefaultMaxCapacityPerDayForStockingPoint.Label() 
                                                               + ' (' 
                                                               + MacroPlan.DefaultUnitOfMeasure().Name()
                                                               + ')' )
    }
  *]
}
