Quintiq file version 2.0
#parent: #root
Method SetLabels (
  UnitOfMeasure_MP uom
) id:Method_DialogCreateEditSupplyTarget_SetLabels
{
  #keys: '[139394.1.54634861]'
  Body:
  [*
    // Update labels based on selected unit uom
    uomName := guard( uom.Name(), MacroPlan.DefaultUnitOfMeasure().Name() );
    
    EditFieldTargetQuantity.Label( Translations::MP_WebDesigner_TargetQuantityUOM( uomName ) );
    EditFieldMinQuantity.Label( Translations::MP_WebDesigner_MinQuantityUOM( uomName ) );
    EditFieldMaxQuantity.Label( Translations::MP_WebDesigner_MaxQuantityUOM( uomName ) );
  *]
}
