Example 2 - Export Allocation resource
Export quantities from Allocation class Customer Allocations.
This table lists the mapping required to export resources for Customer Allocations:
Mapped field | Description |
---|---|
Routes Out.name | Name of Routes Out resource |
Locations.name | Name of the related Location resource |
Customers.Name | Name of the related Customer resource |
Customer Allocations.Slocation | Value of user attribute Slocation for Customer Allocations resource |
Customer Allocations.planned sales | Value of property ‘Planned sales’ for Customer Allocations resource and bucket |
Bucket.start | Bucket start date |
The Export process identifies ‘Customer Allocations’ as the common child class and exports each mapped field values for Customer Allocations resource and bucket in the planning horizon.
References to related class fields are resolved to the resource from the perspective of each Customer Allocations resource.
In this example:
- Customers resource is a component of the Customer Allocations resource.
- Products and Locations resources are the component of Products At Locations, which is a direct component of the Customer Allocations resource.