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. 


HTML Tags by Document Type

HTML Tags by Email Type


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.


 
SyntaxExample
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
AmountThe amount of the entry applied to an order.Decimal Value
CreatedDateThe date the entry was applied to the order.
Date/Time
EntryThe tags relating to a entry can be accessed for the entry this order allocation is on.

Entry Tags
EntryIdThe id of the entry.
Guid
IdThe id of the order allocation.Guid
OrderIdThe id of the order.Guid
OrderThe tags relating to an order can be accessed for the order this order allocation is on.

Order Tags