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 DepartmentItem 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 DepartmentItem Tags


Assuming you have access to the DepartmentItem object, since the object itself is a list type, the object must be looped. The tags and/or sub-object tags should be nested within the loop.


Here is a chart displaying these use cases.



SyntaxExample

 
<!-- {{#each  DepartmentItems}} -->
{{TagName}} <br />
<!-- {{/each}} -->
 
 
<!-- {{#each DepartmentItems}} -->
{{Cost}} <br />
<!-- {{/each}} -->
 


Overview


Tag Name
Description
Type
CostThe total calculated cost of the department item.Decimal Value
CostPerHourThe cost per hour for the department item.Decimal Value
CostPerPieceThe cost per piece for the department item.
Decimal Value
DepartmentThe department that has been selected on the department item.
Graphics, Press, Finishing, Outsourced or Shipping.
Text
DescriptionThe description that has been input on the department item.Text
GroupThe group that has been selected on the department item.
Text
IdThe id of the department item.Guid
MinimumPriceThe minimum price for the department item.
Decimal Value
NameThe name that has been input on the department item.Text 
OnlineName
The online name that has been input on the department item.Text
OrderItemId
The id of the order item.Guid
PiecesPerHourThe pieces per hour for the department item.Whole Number
PriceThe total calculated price of the department item.Decimal Value
PricePerHourThe price per hour for the department item.Decimal Value
PricePerPieceThe price per piece for the department item.
Decimal Value
QuantityThe calculated quantity of the department item.Decimal Value
SetupCostThe setup cost for the department item.
Decimal Value
SetupPriceThe setup price for the department item.

SortOrder
Whole Number
TimeThe total estimated time of the department item.Long
WasteThe total calculated waste of the department item.Whole Number