Difference between revisions of "Remittance Configuration - Accounts Document"
(Updated from revision control) |
(Updated from revision control) |
||
Line 19: | Line 19: | ||
:Remittance Advice | :Remittance Advice | ||
== Layout Tokens == | == Layout Tokens == | ||
− | Tokens are indicated by the character {{DataValue|~}} followed by a number (the token identifier). | + | Tokens are indicated by the character {{DataValue|<nowiki>~</nowiki>}} 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. | 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. |
Revision as of 05:31, 22 October 2015
The Platinum System allows the layout of Remittance Advices 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.
Layout Data File Names
The default layout files are stored in the 'sxco1\docs' folder, (or 'sxco2', 'sxco3', etc).
Remittance
- 'FAXREMI'
- Remittance pre-set up for Faxing
- 'WINREMI'
- Remittance pre-set up for Windows Printing, on Plain Paper
- 'MULREMI'
- Multi-part Remittance
- 'SINREMI'
- Single Part Remittance
Token File Names
These are copied down into the main data directory when they are needed for the first time by Platinum, and from that point the layouts are as follows:
- 'SXLD043.EPL'
- Remittance Advice
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 remittance layouts are divided into 3 main areas: "Headings", "Body" & "Footings".
Area Tokens
~100 | Configuration Section Start | |
~199 | Configuration Section End | |
~200 | Heading Block (First Page) Start | |
~299 | Heading Block (First Page) End | |
~300 | Heading Block (Continuation) Start | |
~399 | Heading Block (Continuation) End | |
~400 | Footing Block (Continuation) Start | |
~499 | Footing Block (Continuation) End | |
~500 | Footing Block (Last Page) Start | |
~599 | Footing Block (Last Page) End | |
~600 | Body Block Start | |
~699 | Body Block End |
Tokens
General Tokens
These can appear in either Headers or Footers.
~1 | (30 characters) Account Address Line 1
| ||
~2 | (30 characters) Account Address Line 2
| ||
~3 | (30 characters) Account Address Line 3
| ||
~4 | (30 characters) Account Address Line 4
| ||
~5 | (30 characters) Account Address Line 5
| ||
~6 | (30 characters) Company Name
| ||
~7,n | Telephone Number
| ||
~8 | (15 characters) Fax Number
| ||
~9 | (12 characters) Account Balance
| ||
~10 | (12 characters) Credit Limit
| ||
~11 | (5 characters) Discount Percentage
| ||
~12 | (3 characters) Settlement Period
| ||
~13 | (6 characters) Customer Code
| ||
~14 | (10 characters) Today's Date
| ||
~15 | (30 characters) Notes 1
| ||
~16 | (30 characters) Notes 2
| ||
~17 | (7 characters) Month Selected
| ||
~18 | (60 characters) Message Of the Day Line 1
| ||
~19 | (60 characters) Message Of the Day Line 2
| ||
~20 | (40 characters) Company Name 1
| ||
~21 | (40 characters) Company Name 2
| ||
~22 | (50 characters) Company Address Line 1
| ||
~23 | (50 characters) Company Address Line 2
| ||
~24 | (50 characters) Company Address Line 3
| ||
~25 | (50 characters) Company Address Line 4
| ||
~26 | (50 characters) Company Address Line 5
| ||
~27 | Heading Line 1
| ||
~27 | Heading Line 2
| ||
~27 | Heading Line 3
| ||
~27 | Heading Line 4
| ||
~27 | Heading Line 5
| ||
~32 | (10 characters) Account Reference
| ||
~33 | (6 characters) Account Group
| ||
~234 | (30 characters) Account V.A.T. Registration Number
|
Configuration Tokens
These affect the overall layout of the Invoice, and should be grouped together at the head of the layout file.
Document Configuration
~110,n | Document Type
| ||
~111,n | Line Skip
| ||
~112,n | Heading Block
| ||
~113,n,m | Body Block
| ||
~114,n | Footing Block
| ||
~115,n | Form Length
| ||
~116 | (6 characters) Payment Indicator Start
| ||
~118 | Enhance Payment Lines
| ||
~198 | Currency conversion configuration
|
Payment Amount Word Configuration
~119 | (10 characters) Pounds
| |
~120 | (10 characters) Pence
| |
~121 | Do not Print Pence | |
~122 | Print "Only" in place of Zero pence | |
~123 | Suppress "And" |
Body Block
General Information
'~6nn,1,2,3' where '~6nn' represents an item, described below, which you wish to be printed in the remittance body.
All have up to three parameters :-
- Parm 1 - 'n'
- Column position, from 1 to 132. You may omit this parameter if you place the token in the column in which it is supposed to print.
- Parm 2 - 'm'
- When this parameter is set to 1 then this column will be totalled. (Only available on some columns).
- Parm 3 - 'l'
- When this parameter is set to 1 then this tokeni n the case of a zero figure this will print '0.00' instead of spaces.
- A maximum of 20 tokens may be placed across the body line.
- If required a token may appear more than once per line.
~601,n | (8 characters) Document Number
| ||
~602,n | (10 characters) Document Type
| ||
~603,n | (10 characters) Document Date
| ||
~604,n | (10 characters) Payment Amount
| ||
~605,n | (10 characters) Payment Indicator
| ||
~606,n | (10 characters) Balance before Payment
| ||
~607,n | (15 characters) Document Comment
| ||
~608,n | (10 characters) Amount if Debit
| ||
~609,n | (10 characters) Amount if Credit
| ||
~610,n | (10 characters) Amount Signed
| ||
~611,n | (10 characters) Document Balance
| ||
~613,n | (10 characters) Rolling Balance
| ||
~614,n | (3 characters) Invoice Age in Days
| ||
~615,n | (10 characters) Original Amount
| ||
~616,n | (10 characters) Previous Payment or Allocation for this document
| ||
~617,n | (10 characters) Total Held for Document
| ||
~618,n | (10 characters) Document Balance - Held
| ||
~619,n | (10 characters) Discount Amount
|
Totals Block
General Information
'~5nn,1,2,3' where '~5nn' represents an item, described below, which you wish to be printed in the remittance totals.
All have up to three parameters :-
- Parm 1 - 'n'
- See indiviual token for explaination.
- Parm 2 - 'm'
- See indiviual token for explaination.
- Parm 3 - 'l'
- When this parameter is set to 1 then this tokeni n the case of a zero figure this will print '0.00' instead of spaces.
~510 | (10 characters) Total of Periods Payments
| |
~511,n | Discounts
| |
~512,n,m | (10 characters) Total of Periods Payment in Words Line 1
| |
~513,n,m | (10 characters) Total of Periods Payment in Words Line 2
| |
~514 | (10 characters) Total Amount
| |
~517 | Blank Line If Period Payment is 0.00 | |
~521 | (10 characters) First digit of Pounds as a Word
| |
~522 | (10 characters) Second digit (10's) of Pounds as a Word
| |
~523 | (10 characters) Third digit (100's) of Pounds as a Word
| |
~524 | (10 characters) Fourth digit (1,000's) of Pounds as a Word
| |
~525 | (10 characters) Fifth digit (10,000's) of Pounds as a Word
| |
~526 | (10 characters) Sixth digit (100,000's) of Pounds as a Word
| |
~527 | (10 characters) Seventh digit (1,000,000's) of Pounds as a Word
| |
~528 | (10 characters) Eighth digit (10,000,000's) of Pounds as a Word
| |
~529 | (10 characters) First digit of Pence as a Word
| |
~529 | (10 characters) Second digit of Pence as a Word
|
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.
|
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 [[1]] 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 remittance being printed will be used, if there is one.
Some examples using '~29,1' amount taxed at tax rate 1.
|
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,n | 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 |
SL11