Difference between revisions of "Statement Configuration - Accounts Document"
(Updated from revision control) |
(Updated from revision control) |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | The Platinum System allows the layout of Customer Statements to be configured to print the details you require. This is done using a system of "tokens" | + | The Platinum System allows the layout of Customer Statements 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 == | == Layout Data File Names == | ||
− | The | + | The layout files are stored in the {{FilePath|SXCo1\Docs}} folder, (or {{FilePath|SXCo2}}, {{FilePath|SXCo3}}, etc). |
=== Customer Statement === | === Customer Statement === | ||
Line 27: | Line 27: | ||
:Customer Statement (settlement discounts) | :Customer Statement (settlement discounts) | ||
== 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. | ||
Line 179: | Line 179: | ||
|- valign="baseline" | |- valign="baseline" | ||
− | | '''~ | + | | '''~28''' |
| '''Heading Line 2''' | | '''Heading Line 2''' | ||
{{Warning|iconsize=small|text= | {{Warning|iconsize=small|text= | ||
Line 186: | Line 186: | ||
|- valign="baseline" | |- valign="baseline" | ||
− | | '''~ | + | | '''~29''' |
− | | ''' | + | | '''Footing Line 1''' |
{{Warning|iconsize=small|text= | {{Warning|iconsize=small|text= | ||
This token must be on a line of its own. | This token must be on a line of its own. | ||
Line 193: | Line 193: | ||
|- valign="baseline" | |- valign="baseline" | ||
− | | '''~ | + | | '''~30''' |
− | | ''' | + | | '''Footing Line 2''' |
{{Warning|iconsize=small|text= | {{Warning|iconsize=small|text= | ||
This token must be on a line of its own. | This token must be on a line of its own. | ||
Line 200: | Line 200: | ||
|- valign="baseline" | |- valign="baseline" | ||
− | | '''~ | + | | '''~31''' |
− | | ''' | + | | '''Footing Line 3''' |
{{Warning|iconsize=small|text= | {{Warning|iconsize=small|text= | ||
This token must be on a line of its own. | This token must be on a line of its own. | ||
Line 227: | Line 227: | ||
|- valign="baseline" | |- valign="baseline" | ||
| '''~110''',n | | '''~110''',n | ||
− | | ''' | + | | '''Document Type''' |
;n = 0 | ;n = 0 | ||
− | : | + | :One line per document number. |
;n = 1 | ;n = 1 | ||
− | : | + | :Full document detail. |
|- valign="baseline" | |- valign="baseline" | ||
| '''~111''',n | | '''~111''',n | ||
Line 277: | Line 277: | ||
:When this parameter is set to 1 then this column will be totalled. (Only available on some columns). | :When this parameter is set to 1 then this column will be totalled. (Only available on some columns). | ||
;Parm 3 - 'l' | ;Parm 3 - 'l' | ||
− | :When this parameter is set to 1 then this | + | :When this parameter is set to 1 then this token in the case of a zero figure this will print {{DataValue|0.00}} instead of spaces. |
*A maximum of 20 tokens may be placed across the body line. | *A maximum of 20 tokens may be placed across the body line. | ||
*If required a token may appear more than once per line. | *If required a token may appear more than once per line. | ||
Line 286: | Line 286: | ||
|- valign="baseline" | |- valign="baseline" | ||
− | | '''~601''',n | + | | '''~601''',n,m |
| <div style="float:right; margin-left:1em; font-style:italic;">(8 characters)</div>'''Document Number''' | | <div style="float:right; margin-left:1em; font-style:italic;">(8 characters)</div>'''Document Number''' | ||
+ | ;m = 0 | ||
+ | :Document number. | ||
+ | ;m = 1 | ||
+ | :<div style="float:right; margin-left:1em; font-style:italic;">(30 characters)</div>Document reference. | ||
|- valign="baseline" | |- valign="baseline" | ||
| '''~602''',n | | '''~602''',n | ||
Line 365: | Line 369: | ||
| '''~616''',n | | '''~616''',n | ||
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Document Balance - Held''' | | <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Document Balance - Held''' | ||
+ | {{Note|iconsize=small|text= | ||
+ | This will print on the last document item only. | ||
+ | }} | ||
+ | |||
+ | |- valign="baseline" | ||
+ | | '''~617''' | ||
+ | | <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Credit Charge Due Date''' | ||
+ | {{Note|iconsize=small|text= | ||
+ | This will print on the last document item only. | ||
+ | }} | ||
+ | |||
+ | |- valign="baseline" | ||
+ | | '''~618''',n | ||
+ | | <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Credit Charge that may be charged after the due date''' | ||
+ | {{Note|iconsize=small|text= | ||
+ | This will print on the last document item only. | ||
+ | }} | ||
+ | |||
+ | |- valign="baseline" | ||
+ | | '''~619''',n | ||
+ | | <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Credit Charge due at the time of printing''' | ||
+ | {{Note|iconsize=small|text= | ||
+ | This will print on the last document item only. | ||
+ | }} | ||
+ | |||
+ | |- valign="baseline" | ||
+ | | '''~620''',n | ||
+ | | <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Document Balance - Held + Credit Charge due at the time of printing''' | ||
{{Note|iconsize=small|text= | {{Note|iconsize=small|text= | ||
This will print on the last document item only. | This will print on the last document item only. | ||
Line 377: | Line 409: | ||
;Parm 1 - 'n' | ;Parm 1 - 'n' | ||
− | :See | + | :See individual token for explanation. |
;Parm 2 - 'm' | ;Parm 2 - 'm' | ||
− | :See | + | :See individual token for explanation. |
;Parm 3 - 'l' | ;Parm 3 - 'l' | ||
− | :When this parameter is set to 1 then this | + | :When this parameter is set to 1 then this token in the case of a zero figure this will print {{DataValue|0.00}} instead of spaces. |
{| cellspacing="5" width="95%" valign="baseline" | {| cellspacing="5" width="95%" valign="baseline" | ||
!width="15%"| | !width="15%"| | ||
Line 433: | Line 465: | ||
| '''~527''' | | '''~527''' | ||
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Rolling Balance - Total Held''' | | <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Rolling Balance - Total Held''' | ||
+ | |- valign="baseline" | ||
+ | | '''~528''' | ||
+ | | <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Total of Credit Charges Due''' | ||
+ | |- valign="baseline" | ||
+ | | '''~529''' | ||
+ | | <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Rolling Balance - Total Held + Credit Charges Due''' | ||
|} | |} | ||
=== Print Style Tokens === | === Print Style Tokens === | ||
Line 474: | Line 512: | ||
=== Currency Conversions === | === Currency Conversions === | ||
{{Information|text= | {{Information|text= | ||
− | ''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 [ | + | ''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 [https://www.catalyst-uk.com/sales website] sales contact page for your upgrade path. |
}} | }} | ||
Line 488: | Line 526: | ||
{{Example|text= | {{Example|text= | ||
− | Some examples using {{DataValue|~29,1}} amount taxed at tax rate | + | 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 501: | Line 539: | ||
;~29$USD,1 | ;~29$USD,1 | ||
:convert to currency USD (US Dollar) | :convert to currency USD (US Dollar) | ||
− | :{{DataValue|$234. | + | :{{DataValue|$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. | ||
+ | :{{DataValue|$234.00}} | ||
;~29#12USD,1 | ;~29#12USD,1 | ||
:same, but suppress the symbol and print to a width of 12 | :same, but suppress the symbol and print to a width of 12 | ||
Line 523: | Line 564: | ||
:Use exchange rate as at the transaction date for all currency conversions. | :Use exchange rate as at the transaction date for all currency conversions. | ||
|} | |} | ||
− | ==== 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 531: | Line 572: | ||
!| | !| | ||
+ | |- 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''' | ||
Line 552: | Line 601: | ||
|} | |} | ||
{{KB_Tags|Layout, Token, Format, Document, Setup, Config, Configuration, Statement}} | {{KB_Tags|Layout, Token, Format, Document, Setup, Config, Configuration, Statement}} | ||
− | {{KB_Ref|SL11}}[[Category:Accounts Documents]] | + | {{KB_Ref|SL11}}[[Category:Documents]][[Category:Accounts Documents]] |
Latest revision as of 05:30, 28 October 2021
The Platinum System allows the layout of Customer Statements 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 layout files are stored in the 'SXCo1\Docs' folder, (or 'SXCo2', 'SXCo3', etc).
Customer Statement
- 'SETSTAT'
- Statement to show Settlement Discount
- 'FAXSTAT'
- Statement pre-set up for Faxing
- 'WINSTAT'
- Statement pre-set up for Windows Printing, on Plain Paper
- 'PLASTAT'
- Plain Paper Statement
- 'PRESTAT'
- Statement for Paper with all column divisions etc pre-printed.
- 'OWNSTAT'
- "Own Brand" Paper Statement
- 'LETSTAT'
- Statement for Paper with a Pre-Printed Letterhead
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:
- 'SXLD041.EPL'
- Customer Statement (no settlement discount)
- 'SXLD042.EPL'
- Customer Statement (settlement discounts)
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 statement 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
| ||
~28 | Heading Line 2
| ||
~29 | Footing Line 1
| ||
~30 | Footing Line 2
| ||
~31 | Footing Line 3
| ||
~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
| |
~198 | Currency conversion configuration
|
Body Block
General Information
'~6nn,1,2,3' where '~6nn' represents an item, described below, which you wish to be printed in the statement 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 token in 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,m | (8 characters) Document Number
| ||
~602,n | (10 characters) Document Type
| ||
~603,n | (10 characters) Document Date
| ||
~604,n | (10 characters) Settlement Discount Percentage
| ||
~605,n | (10 characters) Settlement Discount Amount
| ||
~606,n | (10 characters) Discounted Amount
| ||
~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
| ||
~612,n | (10 characters) Discount Expiry Date
| ||
~613,n | (10 characters) Rolling Balance
| ||
~614,n | (3 characters) Invoice Age in Days
| ||
~615,n | (10 characters) Amount on Hold
| ||
~616,n | (10 characters) Document Balance - Held
| ||
~617 | (10 characters) Credit Charge Due Date
| ||
~618,n | (10 characters) Credit Charge that may be charged after the due date
| ||
~619,n | (10 characters) Credit Charge due at the time of printing
| ||
~620,n | (10 characters) Document Balance - Held + Credit Charge due at the time of printing
|
Totals Block
General Information
'~5nn,1,2,3' where '~5nn' represents an item, described below, which you wish to be printed in the statement totals.
All have up to three parameters :-
- Parm 1 - 'n'
- See individual token for explanation.
- Parm 2 - 'm'
- See individual token for explanation.
- Parm 3 - 'l'
- When this parameter is set to 1 then this token in the case of a zero figure this will print '0.00' instead of spaces.
~510 | (10 characters) Total Settlement Discount
| |
~511,n | Discounts
| |
~514 | (10 characters) Total Amount
| |
~517 | (10 characters) Period 1 Total
| |
~518 | (10 characters) Period 2 Total
| |
~519 | (10 characters) Period 3 Total
| |
~520 | (10 characters) Period 4 Total
| |
~521 | (10 characters) Description for period 1
| |
~522 | (10 characters) Description for period 2
| |
~523 | (10 characters) Description for period 3
| |
~524 | (10 characters) Description for period 4
| |
~525 | (10 characters) Unallocated Total
| |
~526 | (10 characters) On Hold Total
| |
~527 | (10 characters) Rolling Balance - Total Held
| |
~528 | (10 characters) Total of Credit Charges Due
| |
~529 | (10 characters) Rolling Balance - Total Held + Credit Charges Due
|
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 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 statement 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.
|
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)
|
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.
| |
~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