Use this when:
Trigger Event

Example:
}
button to check and preview and click the
update button to save your changes.After configuring the email body, click Validate to preview and Update to save changes.
Send to Consignment Sender Phone: Yes/No
Send to Consignment Receive Phone: Yes/No
Send to Customer Contact: Select the contact type you require from the Customer Contact List
Mobile Number: Enter a mobile number for the required contact
SMS Message: SMS Message can be a simple text or can also include variable data.
There are 2 types of variable data that can be entered. This is handled using Razor Syntax, if you require a complicated SMS, don't hesitate to contact the support team to help you understand the syntax.
Field Insertion
Right click in a location you need to enter a field. You will be presented with a menu to select fields. Find you field and select it and it will be presented like follows;
You will need to change the name of the field between the "@" and the "." to be "Model" to look similar to the following;
This will enable the output of the field in the location you require on the page.
List insertion
Right click in a location you need to output a list. You will be presented with a menu to select lists and fields. Go into the List menu and select the list type you would like to insert. It will display similar to the following.
@foreach(var consignmentStatus in Model.ConsignmentStatusChange){
}
Now you need to insert the fields you wish to output within the listed loop, This is done within the "{}" brackets that was inserted above. Right click in there and select the fields required, so it looks similar to the following;
@foreach(var consignmentStatus in Model.ConsignmentStatusChange){
@consignmentStatus.ConsignmentNumber
@consignmentStatus.ConsignmentCurrentStatusDate
@consignmentStatus.ConsignmentCurrentStatus
}
Within the "{}" brackets if you would like to output text is must be done using a @Raw() command. An example follows;
@foreach(var consignmentStatus in Model.ConsignmentStatusChange){
@Raw("Consignment Number: ")@consignmentStatus.ConsignmentNumber
@Raw("Status Change Date: ")@consignmentStatus.ConsignmentCurrentStatusDate
@Raw("Status Value: ")@consignmentStatus.ConsignmentCurrentStatus
}
This would output
Consignment Number: CUSTA37157
Status Change Date: 1/09/2017 3:19 PM AEST
Status Value: Assigned
Click on the Validate button to check and preview and click on the Update
button to save your changes.
There are currently 2 base export file types to perform your data export, follow each of the links to see an article on how to configure each of them.
XML/JSON/TEXT/Other
CSV/Excel
The 3rd option allows you to combine the 2-output type above into a single output
CSV and TEXT
Configuration Fields:
Delimiter Char: This is the character that separates the fields within the row. This is commonly a comma.
CSV File Type: Select Standard for CSV, Excel 2003 or Excel 2007.
Include Header Row: Tick the box to include a header row.
Send PDF Report: Send a PDF of the output file.
Send Consignment Image: Tick the box to send an image of the consignment.
Send Signature Image: Tick the box to send a signature image.
Export POD Image Format: Normal (PNG), Black & White, Group 4 Tiff, PDF.
File Name Format (POD Image): POD image file name that is exported. [number] to display consignment number in file name [ddMMyyyy] to display day, month and year of file export [ddMMyyyyhhmmss] to display day, month, year, hour, min and sec of file export.
File name format: XML (or other) file name that is exported. [ddMMyyyy] to display day, month and year of file export [ddMMyyyyhhmmss] to display day, month, year, hour, min and sec of file export.
File Extension Name: The extension of the file type. Defaults to ".csv" can be changed to anything required.
Data to Export: By default, a few common field names will be inserted in this field. The order of these is replicated in the output file. Left click to add a field to the output. You can re-order the fields by dragging the field that requires moving.
Once done the changes, click on the Update
button to save your changes.
Send PDF report: Yes/No. This is a PDF File of the below File Structure
Send consignment image: Yes/No
Send signature image: Yes/No
Export POD Image Format: Normal (PNG), Black & White, Group 4 Tiff, PDF
File name format (POD Image): POD image file name that is exported. [number] to display consignment number in file name [ddMMyyyy] to display day, month and year of file export [ddMMyyyyhhmmss] to display day, month, year, hour, min and sec of file export
File name format: XML (or other) file name that is exported. [ddMMyyyy] to display day, month and year of file export [ddMMyyyyhhmmss] to display day, month, year, hour, min and sec of file export
File extension name: The extension of the file type. Defaults to ".xml" can be changed to anything required
Strip out whitespace: Yes/No
Strip out new line: Yes/No
File Structure: By default, an XML output is created to get you started, this can be modified as suits.
Field Insertion
Right click in a location you need to enter a field. You will be presented with a menu to select fields. Find you field and select it and it will be presented like follows;
@consignmentStatus.ConsignmentNumber
You will need to change the name of the field between the "@" and the "." to be "Model" to look similar to the following;
@Model.ConsignmentNumber
This will enable the output of the field in the location you require on the page.
List insertion
Right click in a location you need to output a list. You will be presented with a menu to select lists and fields. Go into the List menu and select the list type you would like to insert. It will display similar to the following;
@foreach(var pod in Model.PodData){
}
Now you need to insert the fields you wish to output within the listed loop, this is done within the "{}" brackets that was inserted above. Right click in there and select the fields required, so it looks similar to the following;
@foreach(var pod in Model.PodData){
@Raw("<Delivery>")
@Raw("<DeliveryTime>")@Model.ReceivedTime@Raw("</DeliveryTime>")
@Raw("<ReceivedBy>")@Model.ReceivedBy@Raw("</ReceivedBy>")
@Raw("<ConsignmentNumber>")@Model.ConsignmentNumber@Raw("</ConsignmentNumber>")
@Raw("</Delivery>")
}
Within the "{}" brackets if you would like to output text must be done using a @Raw() command. An example follows;
<root>
<DeliveryList>
@foreach(var pod in Model.PodData){
@Raw("<Delivery>")
@Raw("<DeliveryTime>")@Model.ReceivedTime@Raw("</DeliveryTime>")
@Raw("<ReceivedBy>")@Model.ReceivedBy@Raw("</ReceivedBy>")
@Raw("<ConsignmentNumber>")@Model.ConsignmentNumber@Raw("</ConsignmentNumber>")
@Raw("</Delivery>")
}
</DeliveryList>
</root>
This would output
<root>
<DeliveryList>
<Delivery>
<DeliveryTime>30/05/2016 11:53 AM AEST</DeliveryTime>
<ReceivedBy>David</ReceivedBy>
<ConsignmentNumber>DEM90241</ConsignmentNumber>
</Delivery>
</DeliveryList>
</root>
Click on the Validate button to check and preview and click on the Update
button to save your changes.