Getting Started
If you are new to the HTML document/canned email tag system, you can get an overview of tags, objects and loops here.
Accessing The OrderEntryAllocation Object
Access to this object is dependent on what document or canned email type you are trying to access the object from. Start by finding the document or canned email type you are working with from the links provided below. Follow the chart for your specified document or canned email type to see if the object is accessible, and if so, where it is located. You may need to use a combination of loops and/or chaining to access this object.
Accessing The OrderEntryAllocation Tags
Assuming you have access to the OrderEntryAllocation object, you must do one of the following:
1. The object itself is always a list type, so the object must be looped. The tags and/or sub-object tags should be nested within the loop.
2. If the object itself and the sub-object are list types, then both objects must be looped. The sub-sub-objects tags and/or objects should be nested within the loop
The following are implementations of the OrderEntryAllocation object that give access to the OrderEntryAllocation tags: EntryAllocations
Here is a chart displaying these use cases.
Syntax | Example | |
1 | <!-- {{#each OrderEntryAllocation}} --> {{TagName.SubObjectTagName}} <br /> <!-- {{/each}} --> | <!-- {{#each EntryAllocations}} --> {{Order.ItemsTotal}} <br /> <!-- {{/each}} --> |
2 | <!-- {{#each OrderEntryAllocation}} --> <!-- {{#each TagName}} --> {{SubObjectTagName}} <br /> <!-- {{/each}} --> <!-- {{/each}} --> | <!-- {{#each EntryAllocations}} --> <!-- {{#each Entries}} --> {{Total}} <br /> <!-- {{/each}} --> <!-- {{/each}} --> |
Overview
Tag Name | Description | Type | Additional Sub Object |
Amount | The amount of the entry applied to an order. | Decimal Value | |
CreatedDate | The date the entry was applied to the order. | Date/Time | |
Entry | The tags relating to a entry can be accessed for the entry this order allocation is on. | Entry Tags | |
EntryId | The id of the entry. | Guid | |
Id | The id of the order allocation. | Guid | |
OrderId | The id of the order. | Guid | |
Order | The tags relating to an order can be accessed for the order this order allocation is on. | Order Tags |