Difference between revisions of "Mailshot Configuration - Accounts Document"
(Updated from revision control) |
(Updated from revision control) |
||
Line 133: | Line 133: | ||
{{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 |
Latest revision as of 05:30, 28 October 2021
It should be noted that these mailshot letters via these token files are supported for historic purposes and have been replaced by the " " Reports & Settings" Account Mailshots" option which uses the " Report Generator" for producing mailshots. |
Contents
Tokens
General Tokens
~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 | (10 characters) Credit Limit
| ||
~11 | (5 characters) Discount Percentage
| ||
~12 | (3 characters) Settlement Period
| ||
~13 | (6 characters) Customer Code
| ||
~14 | (10 characters) User Date
| ||
~15 | (40 characters) Account Notes Line 1
| ||
~15 | (40 characters) Account Notes Line 2
| ||
~17 | (10 characters) Account Reference
| ||
~18,n | (25 characters) Contact Name
| ||
~40 | (40 characters) Your Company Name - Line 1
| ||
~41 | (40 characters) Your Company Name - Line 2
| ||
~42 | (50 characters) Your Company Address - Line 1
| ||
~43 | (50 characters) Your Company Address - Line 2
| ||
~44 | (50 characters) Your Company Address - Line 3
| ||
~45 | (50 characters) Your Company Address - Line 4
| ||
~46 | (50 characters) Your Company Address - Line 5
| ||
~75,n,m,l | Form Length
| ||
~76 | Form Feed
| ||
~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.
|
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) |
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 |