yypsybs
2023-09-07 bc2de42011e9f28a3741bc0e340a9eef53e375d1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 );
    }
  *]
}