Traverse Global v11.2 - Service Repair
Tokens
Tokens are a type of variable that represents a context-sensitive value that can be included in an output. They are placeholders that show a real-time value when the software runs.
For example:
A receipt header could be established to include the current date, terminal id, and user id using the following combination of text and token values:
| Tokenized String | Output Value |
|---|---|
|
Thanks for shopping with us. |
Thanks for shopping with us. |
| Your salesperson today was: <USERID> | Your salesperson today was: John |
| Date: <DATE> |
Date: 11/19/2013 |
| Terminal: <HOSTID> | Terminal: Front01 |
| Value | Token | Description |
|---|---|---|
| Date | <DATE> | Inserts the current date using the short date format |
| Time | <TIME> | Inserts the current time using the long time format |
| Day | <DAY> | Inserts the long name of the current day of the week |
| Terminal ID | <HOSTID> | Inserts the current terminal id |
| User ID | <USERID> | Inserts the current user id |
| Transaction ID | <TRANSID> | Inserts the formatted transaction id (TransIDPrefix + TransID) |
| Sold To ID | <SOLDTOID> | Sold To Customer ID |
| Sold To Name | <SOLDTONAME> | Sold To Customer Name |
| Sold To Address 1 | <SOLDTOADDRESS1> | Sold To Customer Address 1 |
| Sold To Address 2 | <SOLDTOADDRESS2> | Sold To Customer Address 2 |
| Sold To City | <SOLDTOCITY> | Sold To Customer City |
| Sold To Region | <SOLDTOREGION> | Sold To Customer Region |
| Sold To Postal Code | <SOLDTOPOSTALCODE> | Sold To Customer Postal Code |
| Sold To Country | <SOLDTOCOUNTRY> | Sold To Customer Country |
| Sold To Phone | <SOLDTOPHONE> | Sold To Customer Phone |
| Sold To Email | <SOLDTOEMAIL> | Sold To Customer Email |
| Bill To ID | <BILLTOID> | Bill To Customer ID |
| Bill To Name | <BILLTONAME> | Bill To Name |
| Bill To Address 1 | <BILLTOADDRESS1> | Bill To Address 1 |
| Bill To Address 2 | <BILLTOADDRESS2> | Bill To Address 2 |
| Bill To City | <BILLTOCITY> | Bill To City |
| Bill To Region | <BILLTOREGION> | Bill To Region |
| Bill To Postal Code | <BILLTOPOSTALCODE> | Bill To Postal Code |
| Bill To Country | <BILLTOCOUNTRY> | Bill To Country |
| Bill To Phone | <BILLTOPHONE> | Bill To Phone |
| Bill To Email | <BILLTOEMAIL> | Bill To Email |
| Ship To ID | <SHIPTOID> | Ship To ID |
| Ship To Name | <SHIPTONAME> | Ship To Name |
| Ship To Address 1 | <SHIPTOADDRESS1> | Ship To Address 1 |
| Ship To Address 2 | <SHIPTOADDRESS2> | Ship To Address 2 |
| Ship To City | <SHIPTOCITY> | Ship To City |
| Ship To Region | <SHIPTOREGION> | Ship To Region |
| Ship To Postal Code | <SHIPTOPOSTALCODE> | Ship To Postal Code |
| Ship To Country | <SHIPTOCOUNTRY> | Ship To Country |
| Ship To Phone | <SHIPTOPHONE> | Ship To Phone |
| Ship To Email | <SHIPTOEMAIL> | Ship To Email |
| Ship Via | <SHIPVIA> | Ship via |
| Ship Number | <SHIPNUMBER> | Shipping number |
| Value | Token | Description |
|---|---|---|
| Date | <DATE> | Inserts the current date using the short date format |
| Time | <TIME> | Inserts the current time using the long time format |
| Day | <DAY> | Inserts the long name of the current day of the week |
| Terminal ID | <HOSTID> | Inserts the current terminal id |
| Terminal Description | <HOSTDESCR> | Inserts the description of the current terminal |
| User ID | <USERID> | Inserts the current user id |
| Sales Rep ID | <SALESREPID> | Inserts the current Sales Rep Id |
| Employee ID | <EMPLOYEEID> | Inserts the current Employee Id |