Document Configuration - Unit Sales Document

From Catalyst
Jump to: navigation, search

The Platinum System " Unit Sales" allows the layout of your Invoices (credits use the original format of the invoice), Quotations and Sales Orders 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

Invoice

'SXVS017.EPL'
New Unit Invoice Format
'SXVS018.EPL'
Used Unit Invoice Format
'SXVS019.EPL'
New Unit Commercial Invoice
'SXVS020.EPL'
Used Unit Commercial Invoice

Quotation

'SXVS025.EPL'
New Unit Quotation Format
'SXVS026.EPL'
Used Unit Quotation Format
'SXVS027.EPL'
New Unit Commercial Quotation
'SXVS028.EPL'
Used Unit Commercial Quotation

Sales Order

'SXVS049.EPL'
New Unit Sales Order
'SXVS050.EPL'
Used Unit Sales Order
'SXVS051.EPL'
New Commercial Sales Order
'SXVS052.EPL'
Used Commercial Sales Order

Layout Tokens

Tokens are indicated by the character '~' followed by a number (the token identifier).

These identifiers may be up to 3 digits in length in the range 1 to 999. Tokens each have specific uses, which are listed below.

Parameters

Some tokens may also be given parameters. The number of parameters vary for each token. To specify a token with parameters the token must be followed by a comma then parameter. Each parameter is similarly divided from the next by a comma (no terminating comma is required).

Document Areas

For the purposes of configuration, the document layouts are divided into 3 main areas: "Headings", "Body" & "Footings".

The printing program goes to some lengths to work out where the "headers", "footers" and "part exchange" sections lie, but you may explicitly tell it the following tokens.

~901,1 Header Section start
~901,2 Header Section end
~902,1 Footer Section start
~902,2 Footer Section end
~903,1 Totals Section start
~903,2 Totals Section end
~904,1 Part Exchange Section start
~904,2 Part Exchange Section end
~905,1 Sale Unit Section start
~905,2 Sale Unit Section end

The main purpose of these are to set out what details will be printed for multiple sale units, or multiple part exchanges, where these occur. In such cases, additional pages will be printed. These consist of the detected "Header Section", as many "Sale Unit" or "Part Exchange" sections as can be on between the headers and footers, and a "Footer" section.

The only purpose of the "Totals Section" at the time of writing is to avoid the program getting sidetracked by what is otherwise a "part exchange" token included in the document totals.

Tokens

General Tokens

These can appear in either Headers or Footers.

~1,n,m
(30 characters)
Client Name
m = 0
Client
m = 1
Sales Account
m = 2
Client details overridden by Delivery Address if set
~2,n,m
(30 characters)
Client Address Line 1
m = 0
Client
m = 1
Sales Account
m = 2
Client details overridden by Delivery Address if set
~3,n,m
(30 characters)
Client Address Line 2
m = 0
Client
m = 1
Sales Account
m = 2
Client details overridden by Delivery Address if set
~4,n,m
(30 characters)
Client Address Line 3
m = 0
Client
m = 1
Sales Account
m = 2
Client details overridden by Delivery Address if set
~5,n,m
(30 characters)
Client Address Line 4
m = 0
Client
m = 1
Sales Account
m = 2
Client details overridden by Delivery Address if set
~6,n,m
(30 characters)
Client Address Line 5
m = 0
Client
m = 1
Sales Account
m = 2
Client details overridden by Delivery Address if set
~7
(25 characters)
Document Number
~8
(32 characters)
Document Date - Long Format
~9
(10 characters)
Document Date - Short Format
~10
(70 characters)
Notes Entered
~118 Suppresses Printing of V.A.T. Information and associated prompts
~124 Print a Customer Statement

Automatically prints a customer statement to follow the invoice.

No statement will be printed if the customer's account balance is zero following this invoice and any payments made along with it.

This depends on having the " Sales Ledger" module issued.
~73,n
(25 characters)
Company Name
n = 1 -> 2
Name index
~77,n
(50 characters)
Company Address
n = 1 -> 2
Address index
~78,n
(25 characters)
Standard Headings

Used from the Print record.

This token must be on a line of its own.
n = 1 -> 2
Heading index
~89,n
(25 characters)
Standard Footings

Used from the Print record.

This token must be on a line of its own.
n = 1 -> 3
Footing index
~92,n Delivery Due Date
n = 0
(10 characters)
Short format. e.g. 'DD/MM/CCYY'.
n = 1
(32 characters)
Long Format. e.g. 'Friday, 31st January 20??'.
~195,n
(10 characters)
Sales Person
n = 0
Short name.
n = 1
Long name.
~236
(30 characters)
Document Reference
~255,n,"x" Suppresses Printing if account attribute not set

Print spaces if the customer account does not have the given account attribute set.

n = 1
Printing off (if attribute not set).
n = 2
Printing on.
"x"
The code of the account attribute which must be set in order to print content.

Finance Company Tokens

~206,n Suppresses Printing if no Finance
n = 1
Printing off (If no Finance).
n = 2
Printing on.
~11
(30 characters)
Name of Finance Company
~12,n
(30 characters)
Finance Company Address
n = 1 -> 2
Address index
~196
(6 characters)
Finance Company Account Code
~197,n
(25 characters)
Finance Company Contact Name
n = 1 -> 10
Name index
~198,n Finance Company Phone Number / Email
n = 1
(15 characters)
Telephone Number.
n = 2
(20 characters)
Mobile Number.
n = 3
(60 characters)
Email Address.
~199
(15 characters)
Finance Company Fax Number
~200,n
(40 characters)
Finance Company Brief Notes
n = 1 -> 5
Notes index
~201
(10 characters)
Finance Company Reference
~202
(6 characters)
Finance Company Account Group
~203,n
(1 character)
Finance Company Analysis Code
n = 1 -> 3
Analysis Code index.
~204,n,m
(15 characters)
Finance Company Analysis Description
n = 1 -> 9
Analysis Description index.
m = 0
(15 characters)
First 15 characters of description.
m = >0
(Up to 30)
The specified width, up to the full description.
~205,n
(60 characters)
Finance Company Extra Notes
n = 1 -> 999
Account Extra Note line index.
~237
(3 characters)
Finance Company Incoterm
~244
(30 characters)
Finance Company V.A.T. Registration Number
~245
(20 characters)
Finance Agreement Number
~249
(17 characters)
Finance Company EORI Number

Client Tokens

~13,n,m
(30 characters)
Client Account Code
m = 0
Client
m = 1
Sales Account
m = 2
Client details overridden by Delivery Address if set
~207,n,m
(25 characters)
Client Contact Name
n = 1 -> 10
Name index
m = 0
Client
m = 1
Sales Account
m = 2
Client details overridden by Delivery Address if set
~208,n,m Client Phone Number / Email
n = 1
(15 characters)
Telephone Number.
n = 2
(20 characters)
Mobile Number.
n = 3
(60 characters)
Email Address.
m = 0
Client
m = 1
Sales Account
m = 2
Client details overridden by Delivery Address if set
~209,n,m
(15 characters)
Client Fax Number
m = 0
Client
m = 1
Sales Account
m = 2
Client details overridden by Delivery Address if set
~210,n,m,l Client Notes
n = 1 -> 5
Notes index
m = 0
Client
m = 1
Sales Account
m = 2
Client details overridden by Delivery Address if set
l = 0
(40 characters)
Notes information.
l = 1
(10 characters)
Notes prompt.
~211,n,m
(10 characters)
Client Reference
m = 0
Client
m = 1
Sales Account
m = 2
Client details overridden by Delivery Address if set
~212,n,m
(6 characters)
Client Account Group
m = 0
Client
m = 1
Sales Account
m = 2
Client details overridden by Delivery Address if set
~213,n,m
(1 character)
Client Analysis Code
n = 1 -> 9
Analysis Code index.
m = 0
Client
m = 1
Sales Account
m = 2
Client details overridden by Delivery Address if set
~214,n,m,l Client Analysis Description
n = 1 -> 9
Analysis Description index.
m = 0
Client
m = 1
Sales Account
m = 2
Client details overridden by Delivery Address if set
l = 0
(15 characters)
First 15 characters of description.
l = >0
(Up to 30)
The specified width, up to the full description.
~215,n,m
(1 character)
Client Extra Notes
n = 1 -> 999
Client Extra Note line index.
m = 0
Client
m = 1
Sales Account
m = 2
Client details overridden by Delivery Address if set
~234,n,m
(30 characters)
Client V.A.T Registration Number
m = 0
Client
m = 1
Sales Account
m = 2
Client details overridden by Delivery Address if set
~235,n,m Client Date of Birth
n = 0
(10 characters)
Short format. e.g. 'DD/MM/CCYY'.
n = 1
(32 characters)
Long Format. e.g. 'Friday, 31st January 20??'.
m = 0
Client
m = 1
Sales Account
m = 2
Client details overridden by Delivery Address if set
~238,n,m
(3 characters)
Client Incoterm
m = 0
Client
m = 1
Sales Account
m = 2
Client details overridden by Delivery Address if set
~239,n,m
(17 characters)
Client EORI Number
m = 0
Client
m = 1
Sales Account
m = 2
Client details overridden by Delivery Address if set

Payment & Total Tokens

~14,n
(12 characters)
Pre-Paid Deposit
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
~15,n
(12 characters)
Payment Taken at the time of this Document
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
~93,n
(12 characters)
Total Payment

Deposit + Document Payment = Total Payment

n = 0
Skip printing zeroes.
n = 1
Print zeroes.
~189,n,"x" Payments Tendered Layout
n
The column number about which the text will be centered.
"x"
A line of descriptive text which may contain the following tokens (without padding spaces):
~190
(10 characters)
Amount Paid
~191
(6 characters)
Payment Code
~192
(30 characters)
Payment Description
~107,n
(12 characters)
Gross Total, Nett of Accessories

Includes Delivery if priced "On the Road".

n = 0
Skip printing zeroes.
n = 1
Print zeroes.
~101,n,m
(12 characters)
Nett Amount due from Client (Split Invoice)
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
m = 1 -> 4
The Tax Rate.
~102,n,m
(12 characters)
Nett Amount due from Finance Company (Split Invoice)
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
m = 1 -> 4
The Tax Rate.
~16,n,m
(12 characters)
Nett Amount Due
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
m = 1 -> 4
The Tax Rate.
~103,n,m
(12 characters)
V.A.T Amount due from Client (Split Invoice)
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
m = 1 -> 4
The Tax Rate.
~104,n,m
(12 characters)
V.A.T Amount due from Finance Company (Split Invoice)
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
m = 1 -> 4
The Tax Rate.
~17,n,m
(12 characters)
Total V.A.T.
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
m = 1 -> 4
The Tax Rate.
~105,n,m
(12 characters)
Gross Amount due from Client (Split Invoice)
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
m = 1 -> 4
The Tax Rate.
~106,n,m
(12 characters)
Gross Amount due from Finance Company (Split Invoice)
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
m = 1 -> 4
The Tax Rate.
~18,n,m
(12 characters)
Gross Amount
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
m = 1 -> 4
The Tax Rate.
~19,n
(12 characters)
Balance due on Invoice
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
~90,n
(12 characters)
Balance Due On Invoice (Includes deduction for Amount Financed)
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
~20,n
(12 characters)
Invoice Total excluding Part Exchange
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
~21,n
(12 characters)
Nett Part Exchange Value (Value Less Settlement)
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
~193,n
(12 characters)
Outstanding Balance

This takes into account the Cashback, Part Exchange, Deposits/Payments and Finance.

n = 0
Skip printing zeroes.
n = 1
Print zeroes.
~246,n,m
(10 characters)
System Tax Rate(s)
n = 1
Print Tax Rate description.
n = 2
Print Tax Rate as a percentage.
m = 1 -> 4
The Tax Rate.
~401
(80 characters)
Top Left hand corner of Credit Charge Text Block

The Credit Charge Text Block is defined in " Reports & Settings Maintenance Options System Administrator Credit Charge Settings" and configures itself according to the details of the current document.

~402
(10 characters)
Total: Amount of any Credit Charge Applicable to the Current Document.
~403
(10 characters)
Total: Gross total for the current document, plus any applicable Credit Charge.

Discount Tokens

~140,n Suppresses Printing if no Discount
n = 1
Printing off (If no Discount).
n = 2
Printing on.
~141,n,m
(12 characters)
Unit Price Before Discount
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
m = 0
Returns the nett amount.
m = 1
Returns the gross amount.
m = 2
Returns the VAT amount.
~142,n
(12 characters)
Discount Amount
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
~143,n
(7 characters)
Discount Percentage
n = 0
Skip printing zeroes.
n = 1
Print zeroes.

Cashback Tokens

~160,n Suppresses Printing if no Cashback
n = 1
Printing off (If no Cashback).
n = 2
Printing on.
~161
(20 characters)
Cashback Prompt/Description
~162,n
(12 characters)
Cashback Amount Gross
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
~163,n
(12 characters)
Cashback Amount Nett
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
~164,n
(12 characters)
Cashback Amount V.A.T.
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
~165,n
(7 characters)
Cashback Percentage
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
~166,n
(12 characters)
Balance Due on Invoice

Includes deduction for Cashback Credit.

n = 0
Skip printing zeroes.
n = 1
Print zeroes.
~167,n
(12 characters)
Total of Unit plus Accessories, less Cashback
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
~168,n
(12 characters)
Total of Unit plus Accessories, less Cashback, less Part Exchange
n = 0
Skip printing zeroes.
n = 1
Print zeroes.

Finance Tokens

~22
(12 characters)
Amount Financed
~23
(6 characters)
Finance Period in Years
~24
(3 characters)
Finance Number of Payments
~25
(6 characters)
Finance Basic Percentage Rate
~26
(12 characters)
Finance Documentation Fee
~94
(12 characters)
Finance Termination Fee
~27
(12 characters)
Finance Amount of Each Installment
~28
(12 characters)
Finance Total of Repayments

(Number of Payments * Payment Amount) + Deposit + Part Exchange Asking + Balloon = Repayments total.

~194
(12 characters)
Finance Total to Pay

Number of Payments * Payment Amount = Total to Pay

~29
(6 characters)
A.P.R. of Finance
~95
(12 characters)
Finance Balloon Amount
~96
(12 characters)
Finance Balloon Percentage Rate
~97
(12 characters)
Finance Final Payment Amount
~98
(12 characters)
Finance Subsidy Amount

Sale Unit Tokens

~110,n Suppresses Printing if Sales Unit is New
n = 1
Printing off (if Sale Unit is New).
n = 2
Printing on.
~111,n Suppresses Printing if Sales Unit is Used
n = 1
Printing off (if Sale Unit is Used).
n = 2
Printing on.
~112,n Suppresses Printing if Sales Unit is Commercial
n = 1
Printing off (if Sale Unit is Commercial).
n = 2
Printing on.
~113,n Suppresses Printing if Sales Unit is non-Commercial
n = 1
Printing off (if Sale Unit is non-Commercial).
n = 2
Printing on.
~115 Suppresses Printing Additional Pages for Multiple Sale Units
~159,n Maximum number of Sale Units per Page

May be required when printing multiple sale units using Windows printer control codes, as calculating the safe number to print between the headers and footers becomes more difficult.

n
Number of (multiple) sale units per page.
~30
(8 characters)
Sale Unit Stock Number
~31,n
(20 characters)
Sale Unit Description
n = 0
(20 characters)
First 20 characters of the description (legacy layouts).
n = 1-4
(40 characters)
Line 1 - 4 of the description
~32
(10 characters)
Sale Unit Registration Number
~33,n Sale Unit Colour
n = 0
(15 characters)
Colour
n = 1
(30 characters)
Technical Colour
n = 2
(3 characters)
Technical Colour Code
~34,n Sale Unit Registration Date
n = 0
(10 characters)
Short format. e.g. 'DD/MM/CCYY'.
n = 1
(32 characters)
Long Format. e.g. 'Friday, 31st January 20??'.
~35
(8 characters)
Sale Unit Mileage
~36
(25 characters)
Sale Unit Chassis Number
~37
(25 characters)
Sale Unit V.I.N.
~38
(25 characters)
Sale Unit Engine Number
~39
(12 characters)
Total Sale Unit Price

Includes Delivery if priced "On the Road".

~40
(12 characters)
Total Sale Unit Nett Amount

Includes Delivery if priced "On the Road".

~41
(12 characters)
Total Sale Unit V.A.T. Amount
~42,n
(12 characters)
Delivery Charge
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
~43,n,m,l Sale Unit Notes or Sales Text, or Notes Prompts
n = 1 -> 999
Notes/Sales Text line (max 4 for Notes/Notes Prompts, 999 for Sales Text).
m = 0
Sale Unit.
m = 1
Part Exchange Unit.
l = 0
(40 characters)
Notes text.
l = 1
(15 characters)
Notes prompt.
l = 2
(60 characters)
Sales text.
~44,n
(15 characters)
Sale Unit Price

Excludes Delivery (if priced "On the Road").

n = 0
Skip printing zeroes.
n = 1
Print zeroes.
~45
(25 characters)
Sale Unit Warranty Number
~46
(10 characters)
Sale Unit Key Number
~108,n Unit Consignment
n = 0
Consignment Number.
n = 1
Consignment Prompt.
~109,n,m Unit Funding
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
m = 0
Unit Funding Amount.
m = 1
Unit Funding Prompt.
~114,n
(4 characters)
New/Used Flag

Used within the "Sale Unit" block this will check the "current" unit; otherwise will check the main/first unit.

n = 0
Prints "New" for New, "Used" for Used.
n = 1
Prints "Yes" for New, "No" for Used.
~130,n,m Sale Unit Model
n = 0
(20 characters)
Model Code.
n = 1
Model Description.
m = 0
(30 characters)
First 30 characters of the description (legacy layouts).
m = 1-4
(40 characters)
Line 1 - 4 of the description
~131
(5 characters)
Sale Unit Cubic Capacity
~132,n Sale Unit M.O.T. Expiry Date
n = 0
(10 characters)
Short format. e.g. 'DD/MM/CCYY'.
n = 1
(32 characters)
Long Format. e.g. 'Friday, 31st January 20??'.
~133
(30 characters)
Sale Unit Manufacturer Name
~134
(1 character)
Sale Unit Tax Code
~135,n
(6 characters)
Sale Unit Tax Percentage
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
~136
(15 characters)
Sale Unit Technical Model Code
~137
(1 character)
Sale Unit Fresh Import
~138
(10 characters)
Sale Unit Distance Counter
~139,n Sale Unit Location
n = 0
(3 characters)
Location Code.
n = 1
(30 characters)
Location Description.
~144,n
(10 characters)
Warranty Start Date
n = 0
(10 characters)
Short format. e.g. 'DD/MM/CCYY'.
n = 1
(32 characters)
Long Format. e.g. 'Friday, 31st January 20??'.
~145,n Warranty End Date
n = 0
(10 characters)
Short format. e.g. 'DD/MM/CCYY'.
n = 1
(32 characters)
Long Format. e.g. 'Friday, 31st January 20??'.
~146,n
(40 characters)
Warranty Notes
n = 1 -> 2
Notes index
~155,n,m,l Sale Unit / Document Analysis Code / Description
n = 1 -> 3
Analysis Code index.
m = 0
Sale Unit Analysis Codes.
m = 1
Document Analysis Codes.
l = 0
(15 characters)
Analysis Code Description.
l = 1
(1 character)
Analysis Code.
~156,n
(25 characters)
Sale Unit Image Path
n = 0
Default Image
n = 1 -> 999
n'th Image with publish set to Yes.
~157,n
(4 characters)
Unit Build Year

Format 'CCYY'.

n = 0
Sale Unit Build Year
n = 1
Part Exchange Build Year
~170,n,"x"
(30 characters)
Country of Origin

Print a country code or a country name.

n = 0
Print the country code
n = 1 -> 30
The number of characters to print from the country name.
"x"
An optional account attribute code which must be set in order to print anything for this token. It can be left blank if printed output is always required.
~171,n,"x"
(10 characters)
Commodity Code

Print a commodity code.

n
The number of characters to print from the commodity code.
"x"
An optional account attribute code which must be set in order to print anything for this token. It can be left blank if printed output is always required.
~247
(8 characters)
Total Number of Sale Units

Part Exchange Tokens

~60,n Suppresses Printing If no Part Exchange
n = 1
Printing off (if no Part Exchange).
n = 2
Printing on.
~62,n Suppresses Printing If Part Exchange is Non-Commercial
n = 1
Printing off (if Non-Commercial).
n = 2
Printing on.
~116 Suppresses Printing Additional Pages for Multiple Part Exchange Units
~158,n Maximum number of Part Exchange Units per Page

May be required when printing using Windows printer control codes, as calculating the safe number to print between the headers and footers becomes more difficult.

n
Number of part exchange units per page.
~43,n,m,l Part Exchange Unit Notes or Sales Text, or Notes Prompts
n = 1 -> 999
Notes/Sales Text line (max 4 for Notes/Notes Prompts, 999 for Sales Text).
m = 0
Sale Unit.
m = 1
Part Exchange Unit.
l = 0
(40 characters)
Notes text.
l = 1
(15 characters)
Notes prompt.
l = 2
(60 characters)
Sales text.
~47
(12 characters)
Part Exchange Finance Settlement
~48
(2 characters)
Part Exchange Prev Owners
~49,n Part Exchange M.O.T. Expiry Date
n = 0
(10 characters)
Short format. e.g. 'DD/MM/CCYY'.
n = 1
(32 characters)
Long Format. e.g. 'Friday, 31st January 20??'.
~50
(8 characters)
Part Exchange Unit Stock Number
~51,n
(20 characters)
Part Exchange Unit Description
n = 0
(20 characters)
First 20 characters of the description (legacy layouts).
n = 1-4
(40 characters)
Line 1 - 4 of the description
~52
(10 characters)
Part Exchange Registration Number
~53,n
(15 characters)
Part Exchange Unit Colour
n = 0
(15 characters)
Colour
n = 1
(30 characters)
Technical Colour
n = 2
(3 characters)
Technical Colour Code
~54,n Part Exchange Registration Date
n = 0
(10 characters)
Short format. e.g. 'DD/MM/CCYY'.
n = 1
(32 characters)
Long Format. e.g. 'Friday, 31st January 20??'.
~55
(8 characters)
Part Exchange Unit Mileage
~56
(25 characters)
Part Exchange Unit Chassis Number
~57
(25 characters)
Part Exchange Unit V.I.N.
~58
(25 characters)
Part Exchange Unit Engine Number
~59
(12 characters)
Part Exchange Unit Amount Allowed
~147
(30 characters)
Part Exchange Unit Manufacturer Name
~148,n
(12 characters)
Nett portion of Amount Paid for Commercial Part Exchange Unit
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
~149,n
(12 characters)
V.A.T. portion of Amount Paid for Commercial Part Exchange Unit
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
~150,n,m Part Exchange Unit Model
n = 0
(20 characters)
Model Code.
n = 1
Model Description.
m = 0
(30 characters)
First 30 characters of the description (legacy layouts).
m = 1-4
(40 characters)
Line 1 - 4 of the description
~151
(30 characters)
Part Exchange Unit Technical Model Code
~152
(10 characters)
Part Exchange Unit Key Number
~153
(1 character)
Part Exchange Unit Fresh Import
~154
(10 characters)
Part Exchange Unit Distance Counter
~157,n
(4 characters)
Unit Build Year

Format 'CCYY'.

n = 0
Sale Unit Build Year
n = 1
Part Exchange Build Year
~248
(8 characters)
Total Number of Part Exchange Units

Extras/Accessories Tokens

~61,n Suppresses Printing if no Extras and Accessories
n = 1
Printing off (If no Extras and Accessories).
n = 2
Printing on.
~117 Suppresses Printing Overflow Sheet for more than 10 Extras and Accessories
~63,n
(30 characters)
Column position for Accessory Description
n = 0
Description
n = 1
Stock Code
~657,n,"x"
(30 characters)
Column position for Country of Origin

Print a country code or a country name.

n = 0
Print the country code
n = 1 -> 30
The number of characters to print from the country name.
"x"
An optional account attribute code which must be set in order to print anything for this token. It can be left blank if printed output is always required.
~658,n,"x"
(10 characters)
Column position for Commodity Code

Print a commodity code.

n
The number of characters to print from the commodity code.
"x"
An optional account attribute code which must be set in order to print anything for this token. It can be left blank if printed output is always required.
~64,n
(12 characters)
Column position for Accessory Quantity
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
~65,n
(12 characters)
Column position for Accessory Unit Price
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
~66
(1 character)
Column position for Accessory V.A.T. Code
~67,n,m
(12 characters)
Column position for Accessory Total
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
m = 0
Line Total
m = 1
Total Nett
m = 2
Total V.A.T.
m = 3
Total Gross
~68,n
(6 characters)
Accessories Discount
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
~69,n,m
(12 characters)
Accessories Total Nett
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
m = 0 -> 4
The Tax Rate (0 gives the total of all four rates).
~70,n,m
(12 characters)
Accessories Total V.A.T.
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
m = 0 -> 4
The Tax Rate (0 gives the total of all four rates).
~71,n,m
(12 characters)
Accessories Grand Total
n = 0
Skip printing zeroes.
n = 1
Print zeroes.
m = 0 -> 4
The Tax Rate (0 gives the total of all four rates).
~72,n
(25 characters)
Accessories Starting Line
n = 0
Line to start Accessories
~91,"x"
(80 characters)
Accessory Heading

If the Accessories overflow to an additional sheet, this heading will also appear as the headings there.

This token must be on a line of its own.
"x"
Accessory Heading Text

Credit Card Tokens

~216,n Suppresses Printing If no Credit Card Payment
n = 1
Printing off (If no Credit Card Payment).
n = 2
Printing on.
~217
(30 characters)
Credit Card Holder Name
~218
(20 characters)
Credit Card Number
~219
(5 characters)
Credit Card Expiry Date, as MM/YY
~220
(10 characters)
Credit Card Authorisation Code
~221
(2 characters)
Credit Card Issue Number
~222
(5 characters)
Credit Card Valid From Date, as MM/YY
~223
(15 characters)
System Merchant Number

Output Control Tokens

~74,"x" Copy specified file to output

Will copy the filename given after the token to the printer.

This token must be on a line of its own.
"x"
Filename to output.
~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.
~99 Pad Markers with Spaces

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".

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, Invoice, Credit, Currency, vehicle, unit, wholegood, caravan, agricultural machine, tractor, trailer, car, suv, motorcycle, motorbike, truck, van, lorry, motorhome, quad, atv, boat, tricycle, quadricycle, bicycle, bike, plant, Estimate, Quotation, Order