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 SetLabels () id:Method_DialogCreateEditProductInTrip_SetLabels
| {
| #keys: '[124808.2.620226309]'
| Body:
| [*
| // Set labels
| data := Dialog.Data();
| // UoM
| uom := guard( data.ArrivalPISPIP().ProductInStockingPoint_MP().UnitOfMeasure_MP().Name(), '' );
|
| if( uom = '' )
| {
| selectedPISP := select( Dialog.Data(), Trip.LaneLeg.LaneLegOutput.ProductInStockingPoint_MP, pisp,
| pisp.Product_MP() = SelectionProduct.Data() );
|
| uom := guard( selectedPISP.UnitOfMeasure_MP().Name(), '' );
| }
|
| LabelQuantity.Text( Translations::MP_Designer_QuantityUOM( uom ) );
| *]
| }
|
|