Difference between revisions of "Ticket Configuration - Logistics Management Document"

From Catalyst
Jump to: navigation, search
(Updated from revision control)
(Updated from revision control)
 
(One intermediate revision by the same user not shown)
Line 435: Line 435:
  
 
{{Example|text=
 
{{Example|text=
Some examples using {{DataValue|~29,1}} amount taxed at tax rate 1. Note that {{DataValue|~29}} may not represent an amount in all document formats. This is just an example.
+
Some examples using {{DataValue|~29,1}} amount taxed at first tax rate. Note that {{DataValue|~29}} may not represent an amount in all document formats. This is just an example.
  
 
;~29,1
 
;~29,1
Line 457: Line 457:
 
}}
 
}}
  
==== Currency Tokens ====
+
==== Country/Currency Tokens ====
There is a group of tokens that may be used in headers and footers to print details about the currency set up for the account associated with the document.
+
There is a group of tokens that may be used in headers and footers to print details about the country and currency set up for the account associated with the document.
  
 
{| cellspacing="5" width="95%" valign="baseline"
 
{| cellspacing="5" width="95%" valign="baseline"
Line 465: Line 465:
 
!|
 
!|
  
 +
|- valign="baseline"
 +
| '''~292''',n
 +
| <div style="float:right; margin-left:1em; font-style:italic;">(3 characters)</div>'''Country code/description for the document.'''
 +
If the account in use has a specific country associated with it this will be used, otherwise the system default country will be output.
 +
;n = 0
 +
:Output the country code.
 +
;n = 1
 +
:<div style="float:right; margin-left:1em; font-style:italic;">(30 characters)</div>Output the country description.
 
|- valign="baseline"
 
|- valign="baseline"
 
| '''~293'''
 
| '''~293'''

Latest revision as of 05:39, 28 October 2021

The Platinum System allows the layout of " Logistics Management" Tickets to be configured to print the details you require. This is done using a system of "tokens" which represent the items you wish to print, and their positions on the Document.

Token File Names

The layout files are stored in the 'SXCo1\Docs' folder, (or 'SXCo2', 'SXCo3', etc).

'SXTI007.EPL'
Ticket layout.

Tokens

General Tokens

~1
(30 characters)
Customer Company Name
~2
(30 characters)
Customer Address Line 1
~3
(30 characters)
Customer Address Line 2
~4
(30 characters)
Customer Address Line 3
~5
(30 characters)
Customer Address Line 4
~6
(30 characters)
Customer Address Line 5
~7
(25 characters)
Ticket Extra Notes Line 1
~8
(60 characters)
Ticket Extra Notes Line 2
~9
(60 characters)
Ticket Extra Notes Line 3
~10
(60 characters)
Ticket Extra Notes Line 4
~11
(60 characters)
Ticket Extra Notes Line 5
~12
(10 characters)
Short Date
~13
(30 characters)
Long Date
~14
(15 characters)
Ticket Line 1
~15
(15 characters)
Ticket Line 2
~16
(15 characters)
Ticket Line 3
~17,n
(30 characters)
Text Box 1 Line 1
n = 1 -> 30
Number of characters to print.
~18,n
(30 characters)
Text Box 1 Line 2
n = 1 -> 30
Number of characters to print.
~19,n
(30 characters)
Text Box 1 Line 3
n = 1 -> 30
Number of characters to print.
~20,n
(30 characters)
Text Box 1 Line 4
n = 1 -> 30
Number of characters to print.
~21,n
(30 characters)
Text Box 1 Line 5
n = 1 -> 30
Number of characters to print.
~22,n
(30 characters)
Text Box 2 Line 1
n = 1 -> 30
Number of characters to print.
~23,n
(30 characters)
Text Box 2 Line 2
n = 1 -> 30
Number of characters to print.
~24,n
(30 characters)
Text Box 2 Line 3
n = 1 -> 30
Number of characters to print.
~25,n
(30 characters)
Text Box 2 Line 4
n = 1 -> 30
Number of characters to print.
~26,n
(30 characters)
Text Box 2 Line 5
n = 1 -> 30
Number of characters to print.
~27,n
(30 characters)
Text Box 3 Line 1
n = 1 -> 30
Number of characters to print.
~28,n
(30 characters)
Text Box 3 Line 2
n = 1 -> 30
Number of characters to print.
~29,n
(30 characters)
Text Box 3 Line 3
n = 1 -> 30
Number of characters to print.
~30,n
(30 characters)
Text Box 3 Line 4
n = 1 -> 30
Number of characters to print.
~31,n
(30 characters)
Text Box 3 Line 5
n = 1 -> 30
Number of characters to print.
~32
(12 characters)
Rate
~33
(12 characters)
Quantity
~34
(12 characters)
Nett
~35,n
(10 characters)
Prompt for Text Block 1
n = 1 -> 5
Line index.
~36,n
(10 characters)
Prompt for Text Block 2
n = 1 -> 5
Line index.
~37,n
(10 characters)
Prompt for Text Block 3
n = 1 -> 5
Line index.
~38
(10 characters)
Prompt for Quantity
~39
(10 characters)
Prompt for Rate
~40,n
(8 characters)
Driver Code
n = 1 -> 6
Driver index.
~41,n
(30 characters)
Driver Name
n = 1 -> 6
Driver index.
~42,n
(8 characters)
Vehicle Code
n = 1 -> 6
Vehicle index.
~43,n
(30 characters)
Vehicle Name
n = 1 -> 6
Vehicle index.
~44,n
(10 characters)
Prompt for Ticket Block
n = 1 -> 3
Line index.
~46
(3 characters)
Ticket Analysis Codes as a block of 3 Letters
~47
(1 character)
Ticket Analysis Code 1
~48
(1 character)
Ticket Analysis Code 2
~49
(1 character)
Ticket Analysis Code 3
~50
(15 characters)
Ticket Analysis Description 1
~51
(15 characters)
Ticket Analysis Description 2
~52
(15 characters)
Ticket Analysis Description 3
~53
(10 characters)
Customer Account Reference
~54
(6 characters)
Customer Account Group
~55
(6 characters)
Customer Account Code
~56,n
(60 characters)
Ticket Extra Notes Line
n = 1 -> 999
Extra Note line index.
~57,n
(40 characters)
Company Name
n = 1 -> 2
Line number
~58
(10 characters)
Ticket Quantity Prompt
~59,n
(10 characters)
Text Block Date
n = 1 -> 3
Block index.
~60,n
(5 characters)
Text Block Time
n = 1 -> 3
Block index.
~61
(8 characters)
Load Reference
~62,n
(30 characters)
Load Notes
n = 1 -> 2
Notes index.
~63
(2 characters)
Pallets
~64
(12 characters)
Weight
~65
(12 characters)
Volume
~66
(3 characters)
Area Code
~67
(30 characters)
Area Code Description
~68
(8 characters)
Trailer
~69
(30 characters)
Trailer Description
~70,n
(25 characters)
Text Block Contact
n = 1 -> 3
Block index.
~71,n
(25 characters)
Text Block Phone
n = 1 -> 3
Block index.
~72,n
(25 characters)
Text Block Open Time
n = 1 -> 3
Block index.
~73,n
(25 characters)
Text Block Close Time
n = 1 -> 3
Block index.
~74,n Customer Telephone Number
n = 0
(15 characters)
Telephone Number.
n = 1
(20 characters)
Mobile Number.
~75,n,m,l Form Length
This code must be on it's own line, as everything else on a line that has this token will be ignored.
n
Current line number.
m
Form Length.
l
Form Break.
~76 Form Feed
This code must be on it's own line, as everything else on a line that has this token will be ignored.
~90
(2 characters)
Half Pallets
~91
(2 characters)
Quarter Pallets
~92
(2 characters)
Blue Pallets
~93
(2 characters)
Over Size Pallets
~94
(3 characters)
Consignment Type
~95
(30 characters)
Consignment Type Description
~96
(3 characters)
Service
~97
(30 characters)
Service Description
~98
(3 characters)
Input Period
~99
(30 characters)
Input Period Description
~100
(12 characters)
Work Total
~101
(12 characters)
Extra Amount
~102
(8 characters)
Job's Unique Sequence Number
~103,n
(50 characters)
Company Address
n = 1 -> 5
Line number
~104,n
(1 character)
Ticket Analysis Code
n = 0
Output All Analysis Codes as a Block of Nine.
n = 1 -> 9
Analysis Code index.
~105,n
(15 characters)
Ticket Analysis Description
n = 1 -> 9
Analysis Code index.

Print Style Tokens

The following print style codes must have 3 spaces after them as these codes always 6 characters wide.

~79
(6 characters)
Expand
~80
(6 characters)
Unexpand
~81
(6 characters)
Compact
~82
(6 characters)
Uncompact
~83
(6 characters)
Double Strike On
~84
(6 characters)
Double Strike Off
~86
(6 characters)
Paper Forward
~87
(6 characters)
Paper Backward
~88,n
(up to 32 characters)
Insert print style

This print style code doesn't need any spaces after it as it will the width of the print code to insert.

n = 1 -> 999
Corresponds to the print code ID in the "Print Code Amendments".
~89 Space Compression

Turn space compression on and off (default). Multiple spaces on a line will be compressed down into one space.

Currency Conversions

Platinum "Elite" systems only. "Solo" systems will need to be upgraded to "Elite", contact your Platinum dealer or our sales team on (0116) 230 1500 or by using our website sales contact page for your upgrade path.

All tokens that return a currency amount may now be modified to convert that amount into a different currency before printing. This is done by using a currency modifier after the token number but before any parameters. This modifier begins with a special symbol and may optionally be followed by a number and/or a three character currency code.

To get the relevant currency symbol to print on a document, the symbols '$' and '#' (hash symbol, but may have been misprinted as a pound sign) are used immediately after the token that you wish the currency conversion to take place. Using the '#' will suppress the printing of the currency symbol. This can be useful when printers don't have relevant symbols for some currencies.

Unless the relevant currency required is set up against the base rate in Currency Maintenance, no conversion will take place. Also, the customer needs to be correctly flagged for the appropriate Country.

The number part of the modifier may be used to specify the maximum number of characters to print. Some currencies may involve quite large amounts and this number can be used to make sure there is enough room to print them. The three character currency code specifies which currency to convert the amount to. This may be omitted, in which case the currency specified for the account associated with the document being printed will be used, if there is one.

Some examples using '~29,1' amount taxed at first tax rate. Note that '~29' may not represent an amount in all document formats. This is just an example.
~29,1
no conversion
'*100.00' - (where * is your usual currency symbol).
~29$,1
convert to the account currency (if there is one)
'1005.18F' - (e.g. French Francs.)
~29$12,1
convert to account currency and print to a width of 12
'1005.18F'
~29$USD,1
convert to currency USD (US Dollar)
'$234.02'
~29$USD(02),1
convert to currency USD (US Dollar) and target to whole dollar units if within 2 cents. This feature is useful if you want to display values with the cents/pennies rounded away. For example if displaying in dollars then the number in brackets represents the maximum number of cents over or under a dollar within which the conversion will target to a whole dollar. For 02 within the brackets then $1.98, $1.99, $2.00, $2.01, $2.02 will all display as $2.00.
'$234.00'
~29#12USD,1
same, but suppress the symbol and print to a width of 12
'234.56'

Country/Currency Tokens

There is a group of tokens that may be used in headers and footers to print details about the country and currency set up for the account associated with the document.

~292,n
(3 characters)
Country code/description for the document.

If the account in use has a specific country associated with it this will be used, otherwise the system default country will be output.

n = 0
Output the country code.
n = 1
(30 characters)
Output the country description.
~293
(12 characters)
Exchange rate from base currency to account currency
~294
(15 characters)
Sub-units of the currency set for this account
~295
(15 characters)
Units of the currency set for this account
~296
(30 characters)
Name of the currency set for this account
~297
(3 characters)
Code of the currency set for this account
~298 Skip block until next ~298

Should be used in pairs on a line. Everything between them is blanked out if there is no currency set for this account


Feedback
Thank you for using our Knowledge Base, we value your feedback. Did you find this article useful? 'Yes' or 'No'
Keywords AND Misspellings
Layout, Token, Format, Document, Setup, Config, Configuration, Ticket, Job