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 Vendor 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 Vendor Tags
Assuming you have access to the Vendor 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.
4. If the object itself is a list type, then the object must be looped. The tags and/or sub-object tags should be nested within the loop.
5. 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.
Here is a chart displaying these use cases.
Syntax | Example | |
1 | {{Vendor.TagName}} | {{Vendor.Name}} |
2 | {{Vendor.TagName.SubObjectTagName}} | {{Vendor.BillingLocation.ZipPostal}} |
3 | <!-- {{#each Vendor.TagName}} --> {{SubObjectTagName}} <br /> <!-- {{/each}} --> | <!-- {{#each Vendor.VendorQuotes}} --> {{Cost}} <br /> <!-- {{/each}} --> |
4 | <!-- {{#each Vendors}} --> {{TagName}} <br /> <!-- {{/each}} --> | <!-- {{#each Vendors}} --> {{Name}} <br /> <!-- {{/each}} --> |
5 | <!-- {{#each Vendors}} --> <!-- {{#each TagName}} --> {{SubObjectTagName}} <br /> <!-- {{/each}} --> <!-- {{/each}} --> | <!-- {{#each Vendors}} --> <!-- {{#each Orders}} --> {{Number}} <br /> <!-- {{/each}} --> <!-- {{/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 vendor. | Location Tags | |
The email address that has been input on the vendor. | Text | ||
Fax | The fax number that has been input on the vendor. | Text | |
Id | The id of the vendor. | Guid | |
Name | The full name that has been input on the vendor. | Text | |
Notes | The tags relating to a note can be accessed for notes entered on the vendor. | List | Note Tags |
Phone | The phone number that has been input on the vendor. | Text | |
ShippingLocation | The tags relating to a location can be accessed for the default shipping location input on the vendor. | Location Tags | |
Tags | A list of tag (names) applied to the vendor. | List | |
VendorQuotes | The tags relating to a vendor quote can be accessed for the outsourced quote information on an item. | List | Vendor Quote Tags |
Website | The website that has been input on the vendor. | Text |