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 Supplier 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 Supplier Tags
Assuming you have access to the Supplier object, you must do one of the following:
1. Prefix the object's name to the required tag
2. If the tag contains an 'Additional Sub Object', then the tag must prefix the sub-object tag and suffix the object
3. If the tag is a list type, then the tag must be looped. The sub-object tags should be nested within the loop.
Here is a chart displaying these use cases.
Syntax | Example | |
1 | {{Supplier.TagName}} | {{Supplier.Email}} |
2 | {{Supplier.TagName.SubObjectTagName}} | {{Supplier.BillingLocation.Address}} |
3 | <!-- {{#each Supplier.TagName}} --> {{SubObjectTagName}} <br /> <!-- {{/each}} --> | <!-- {{#each Supplier.Notes}} --> {{CreatedDate}} <br /> <!-- {{/each}} --> |
Overview
Tag Name | Description | Type | Additional Sub Object |
BillingLocation | The tags relating to a location can be accessed for the default billing location input on the supplier. | Location Tags | |
The email address that has been input on the supplier. | Text | ||
Fax | The fax number that has been input on the supplier. | Text | |
Id | The id of the supplier. | Guid | |
Name | The full name that has been input on the supplier. | Text | |
Notes | The tags relating to a note can be accessed for notes entered on the supplier. | List | Note Tags |
Phone | The phone number that has been input on the supplier. | Text | |
ShippingLocation | The tags relating to a location can be accessed for the default shipping location input on the supplier. | Location Tags | |
Tags | A list of tag (names) applied to the supplier. | List | |
Website | The website that has been input on the supplier. | Text |