hongji.li
2023-11-07 1a1ba3ad5ed9e4380185aa1ccad20204a0e5f115
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Quintiq file version 2.0
#parent: #root
Method UISetLabelLotSize (
  String uomValue
) id:Method_DialogCreateEditUnit_UISetLabelLotSize
{
  #keys: '[135040.0.226033806]'
  Body:
  [*
    // Set labels lot size for different uom selection.
    /*
    //todo!! set UOM warning image
    //few limitation faced now, hence, skip this features:
    //1. changing the label text causing out of alignment
    //2. this method unable to retrieve from "DropDownListUOM.Data().Name()", causing error (but without prompting)
         and halting the caller method (Dialog.OnCreated()) failed to executed.
    */
    
    EditFieldMinimumQuantity.Label( Form.FormatLabelWithUOM( EditFieldMinimumQuantity.Label(), uomValue ) );
    EditFieldMaximumQuantity.Label( Form.FormatLabelWithUOM( EditFieldMaximumQuantity.Label(), uomValue ) );
    EditFieldLotSize.Label( Form.FormatLabelWithUOM( EditFieldLotSize.Label(), uomValue ) );
  *]
}