Quotation/Sales Order Configuration - Sales Prospecting Document

From Catalyst
Revision as of 11:12, 27 June 2008 by ThrashBot (talk | contribs) (Updated from revision control)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The Platinum System allows the layout of "Sales Prospecting" Quotation and Sales Ordsers 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).

Four different letters may be produced depending on the age of the debt.

'SXSP013.EPL'
Quotation layout.
'SXSP020.EPL'
Sales Order layout.

Tokens

General Tokens

~1
(30 characters)
Prospect Company Name
~2
(30 characters)
Prospect Address Line 1
~3
(30 characters)
Prospect Address Line 2
~4
(30 characters)
Prospect Address Line 3
~5
(30 characters)
Prospect Address Line 4
~6
(30 characters)
Prospect Address Line 5
~7
(25 characters)
Quotation Number
~8
(30 characters)
Long Date
~9
(10 characters)
Short Date
~10,n
(60 characters)
Column Position for Text
n
Length on body text system will default to 24 if ommitted.
~11
(12 characters)
Column for Amounts
~12
(12 characters)
Nett
~13
(12 characters)
V.A.T.
~14
(12 characters)
Grand Total
~15
(10 characters)
Deposit for Finance
~16
(10 characters)
Nett - Deposit
~17
(10 characters)
Credit Insurance
~18
(10 characters)
Amount of Credit
~19
(10 characters)
Interest
~20
(10 characters)
Document Fee
~21
(10 characters)
Total Charge of Credit
~22
(10 characters)
Balance to Pay
~23
(10 characters)
Total Cash Price
~24
(10 characters)
Total Amount Payable
~25
(5 characters)
APR%
~26
(10 characters)
Monthly Amount
~27
(10 characters)
Weekly Amount
~28
(13 characters)
Number of Payments
~29
(10 characters)
Amount to Pay each Period
~30
(8 characters)
User Name of Person Printing Quote/Sales Order
~31
(15 characters)
Finance Type
~32
(3 characters)
Total Number of Pages
~33
(3 characters)
Page Number
~56 Do not print this line if it is all spaces

Generally most useful for the Area Blocks (below) when you may wish to define, for example, completely different Headings for the first page.

~74,"x" Copy specifed 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 elese 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 elese on a line that has this token will be ignored.
~77 Skip block until next ~78

Print Spaces if fiance is not being used until the next '~78'.

~78 Fiance block end

Will resume printing after '~78'.

Area Tokens

The following will enable you to configure multiple page documents so that, for example, Totals appear only on the final page, or the word "Continued ..." only appears at the foot of a page if the document is continued after that page.

In order that these tokens take up no room on the Document you should lay out your text and then insert the tokens around the text you wish to include or omit.
~200 Text after this token up to ~299 to print on page 1 only
~299 Text from ~200 up to this token to print on page 1 only
~300 Text after this token up to ~399 to print on any page which has at least one page after it. e.g. "Continued ..."
~399 Text from ~300 up to this token to print on any page which has at least one page after it.
~400 Text after this token up to ~499 to print on any page which has at least one page before it. eg. "... Continuation"
~499 Text from ~400 up to this token to print on any page which has at least one page before it.
~500 Text after this token up to ~599 to print on Final Page only.
~599 Text from ~500 up to this token to print on Final Page only.

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 the Catalyst sales team (0116) 230 1500 or your Platinum dealer 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.

The special symbols are currently '$' and '#' (hash symbol, but may have been misprinted as a pound sign). Both of these will cause a conversion to take place; the difference being '#' will suppress the printing of a currency symbol. This can be useful when printers don't have relevant symbols for some currencies.

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 tax rate 1.
~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.56'
~29#12USD,1
same, but suppress the symbol and print to a width of 12
'234.56'

Currency Configuration

There is an optional Currency Conversion configuration token which when used should be placed in the Configuration block. This token may have a currency modifier applied to it which will then be used by default throughout the document, although it can be overridden by modifiers applied to individual tokens.

~198x x = Default currency modifier (optional)

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.

~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