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 ) );
|
*]
|
}
|