Function: Create dimension value from field in TMS Document Header
General
Object Id: 11172845 Function Id: 346
Purpose of function
The function will allow any field-value on the TMS-documentheader to be added as a Dimension Value on the TMS document.
Application Area
The function can be used in the Status Template of the TMS-Order, TMS-Section and TMS-Trip.
Functionality
Based on the field as set in parameter: FIELDNO. a Dimension will be set on the TMS-Order.
Parameters
| Name | Description |
|---|---|
| DIMENSIONCODE | The Dimension Code applicable. |
| FIELDNO | The field in the tabel TMS Document Header on which the Dimension must be based. |
| DOCHEADER | Set to True if TMS documentheader must be updated. |
| TYPEFILTER | Set the type of Documentheader on which the Dimension is applicable. |
| CREATEDIM | Set to True if an Dimension Value must be created when the fieldno. contains a value on which no Dimension Value has been created yet. |