Quintiq file version 2.0
#parent: #root
Method SetDefaultSecondaryUOM () id:Method_DialogCreateEditTransportCapacity_SetDefaultSecondaryUOM
{
  #keys: '[135040.0.11090168]'
  Body:
  [*
    // Default secondary uom when user check
    if( CheckBoxSecondaryCapacity.Checked() and isnull( SelectionSecondaryUnitOfMeasure.Data() ) )
    {
      secondaryuom := MacroPlan.DefaultUnitOfMeasure();
      SelectionSecondaryUnitOfMeasure.Data( secondaryuom );
    }
  *]
}
