Example 1- Export from non-Allocation class with optional parents
This table list the mapping required to export quantities from Routes Out which includes references to optional Location resources:
Mapped field | Description |
---|---|
Routes Out.name | Name of Routes Out resource |
Locations.name | Name of parent Location resource |
Routes Out.shipments | Value of property ‘shipments’ for Routes Out resource and bucket |
bucket.start | Bucket start date |
The Export process identifies Routes Out as the common child class and exports each mapped field values for Routes Out resource and bucket in the planning horizon.
References to relating class fields is resolved to the resource from the perspective of each Routes Out resource.
In this example:
- 'Locations' resource is a direct parent of the ‘Routes Out’ resource.
- If there is no parent for the ‘Routes Out’ resource, the value of exported field ‘Locations.name’ is NULL.