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 PreviousOrder 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 PreviousOrder Tags
Assuming you have access to the PreviousOrder object, you must prefix the object's name to the required tag.
Here is a chart displaying these use cases.
Syntax | Example | |
{{PreviousOrder.TagName}} | {{PreviousOrder.InvoiceDate}} |
Overview
Tag Name | Description | Type |
Id | The id of the previous order. | Guid |
InvoiceDate | The date set as the invoice date on the previous order. | Date/Time |
InvoiceTotal | The calculated total of previous order. | Decimal Value |
Name | The name of the previous order. | Text |
Number | The system generated number of the previous order. | Whole Number |
OrderDate | The date set as the order date on the previous order. | Date/Time |