Difference between revisions of "Invoice/Credit Configuration - Order Processing Document"

From Catalyst
Jump to: navigation, search
(Updated from revision control)
(Updated from revision control)
Line 168: Line 168:
 
| '''~18'''
 
| '''~18'''
 
| '''Top Left hand corner of Tax Details Block'''
 
| '''Top Left hand corner of Tax Details Block'''
Use if tax is to be printed in self configuring block. See below.
+
Use if tax is to be prvalign="baseline"
|- valign="baseline"
 
| '''~19'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Total: Amount Before Tax or Blanket Discount'''
 
|- valign="baseline"
 
| '''~20'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Total: Blanket Discount Amount'''
 
|- valign="baseline"
 
| '''~21'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Total: Pre Tax After Applied Blanket Discount'''
 
|- valign="baseline"
 
| '''~22'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Total: Tax Amount'''
 
|- valign="baseline"
 
| '''~23'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Total: Amount after Tax and Blanket Discounts'''
 
|- valign="baseline"
 
| '''~24'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(6 characters)</div>'''Blanket Discount Percentage'''
 
|- valign="baseline"
 
| '''~25'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Total: Amount Paid'''
 
|- valign="baseline"
 
| '''~26'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Total: Amount Outstanding after Payment'''
 
|- valign="baseline"
 
| '''~27''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(5 characters)</div>'''Percentage Charged at Tax Rate'''
 
;n = 1 -> 4
 
:The Tax Rate.
 
|- valign="baseline"
 
| '''~28''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Description for Tax Rate'''
 
;n = 1 -> 4
 
:The Tax Rate.
 
|- valign="baseline"
 
| '''~29''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Amount Taxed at Tax Rate'''
 
;n = 1 -> 4
 
:The Tax Rate.
 
|- valign="baseline"
 
| '''~30''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Amount of Tax Charged at Tax Rate'''
 
;n = 1 -> 4
 
:The Tax Rate.
 
|- valign="baseline"
 
| '''~31''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Amount after Tax at Tax Rate'''
 
;n = 1 -> 4
 
:The Tax Rate.
 
|- valign="baseline"
 
| '''~32'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(3 characters)</div>'''Total Number of Pages'''
 
|- valign="baseline"
 
| '''~33'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(6 characters)</div>'''Account Group'''
 
|- valign="baseline"
 
| '''~35''',n,"x"
 
| '''Settlement Discount 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):
 
{| cellspacing="5" width="95%" valign="baseline"
 
!width="15%"|
 
!|
 
!|
 
 
 
|- valign="baseline"
 
| '''~36'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(6 characters)</div>'''Settlement Discount Percentage'''
 
|- valign="baseline"
 
| '''~37'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Settlement Discount Amount'''
 
|- valign="baseline"
 
| '''~38'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(3 characters)</div>'''Settlement Discount Period in Days'''
 
|}
 
|- valign="baseline"
 
| '''~39''',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):
 
{| cellspacing="5" width="95%" valign="baseline"
 
!width="15%"|
 
!|
 
!|
 
 
 
|- valign="baseline"
 
| '''~40'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Amount Paid'''
 
|- valign="baseline"
 
| '''~41'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(6 characters)</div>'''Payment Code'''
 
|- valign="baseline"
 
| '''~42'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(30 characters)</div>'''Payment Description'''
 
|}
 
|- valign="baseline"
 
| '''~44''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(30 characters)</div>'''Delivery Addresss'''
 
;n = 1 -> 4
 
:The line of the address.
 
|- valign="baseline"
 
| '''~45''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(5 characters)</div>'''Current Time'''
 
;n = 0
 
:<div style="float:right; margin-left:1em; font-style:italic;">(5 characters)</div>24 Hour format. e.g. {{DataValue|HH:MM}}.
 
;n = 1
 
:<div style="float:right; margin-left:1em; font-style:italic;">(7 characters)</div>am/pm format. e.g. {{DataValue|HH:MMpm}}.
 
|- valign="baseline"
 
| '''~46''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(15 characters)</div>'''Additional Invoice Prompt'''
 
;n = 1 -> 5
 
:Invoice Prompt
 
|- valign="baseline"
 
| '''~47''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(30 characters)</div>'''Additional Invoice Text'''
 
;n = 1 -> 5
 
:Invoice Text
 
|- valign="baseline"
 
| '''~55'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(6 characters)</div>'''Prints the (Country Determined) word for Tax'''
 
|- valign="baseline"
 
| '''~56'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(3 characters)</div>'''Do not print this line if blank'''
 
{{Note|text=
 
As this token is used to control {{DataValue|style}} and doesn't actually output anything other than 3 spaces to cover the size of token (i.e. '~##') it should be placed at the '''end''' of the format line, to avoid interfering with the flow of the text.
 
}}
 
 
 
|- valign="baseline"
 
| '''~57'''
 
| '''Skip block until next ~57'''
 
Print Spaces if all Items have a date equal to the User Date (e.g. headings.).
 
|- valign="baseline"
 
| '''~58'''
 
| '''Skip block until next ~58'''
 
Print Spaces if no Items have an individual discount applied (e.g. headings.).
 
|- valign="baseline"
 
| '''~60'''
 
| '''Skip block until next ~60'''
 
Print Spaces if {{DataPrompt|Delivery Note}} is not required.
 
|- valign="baseline"
 
| '''~61''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(8 characters)</div>'''User/Group Name'''
 
;n = 0
 
:Currently logged in user.
 
;n = 1
 
:User who created the order.
 
|- valign="baseline"
 
| '''~62'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Total Weight'''
 
Excludes Backorder Items.
 
|- valign="baseline"
 
| '''~63'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Total Volume'''
 
Excludes Backorder Items.
 
|- valign="baseline"
 
| '''~64'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Carriage Amount'''
 
|- valign="baseline"
 
| '''~65''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(3 characters)</div>'''Order Status'''
 
;n = 0
 
:Status Code.
 
;n = 1
 
:Status Description.
 
|- valign="baseline"
 
| '''~71'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Total Amount Paid (including change)'''
 
|- valign="baseline"
 
| '''~72'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Change Given'''
 
|- valign="baseline"
 
| '''~211'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Account Reference'''
 
|- valign="baseline"
 
| '''~213''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(1 character)</div>'''Account Analysis Code'''
 
;n = 1 -> 3
 
:Analysis Code index.
 
|- valign="baseline"
 
| '''~214''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(15 characters)</div>'''Account Analysis Description'''
 
;n = 1 -> 3
 
:Analysis Description index.
 
|- valign="baseline"
 
| '''~215''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(60 characters)</div>'''Account Extra Notes'''
 
;n = 1 -> 999
 
:Account Extra Note line index.
 
|- valign="baseline"
 
| '''~216'''
 
| '''Skip block until next ~216'''
 
Print Spaces if a Credit Card Transaction is not involved.
 
|- valign="baseline"
 
| '''~217'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(30 characters)</div>'''Credit Card Holder Name'''
 
|- valign="baseline"
 
| '''~218'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(20 characters)</div>'''Credit Card Number'''
 
|- valign="baseline"
 
| '''~219'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(5 characters)</div>'''Credit Card Expiry Date, as MM/YY'''
 
|- valign="baseline"
 
| '''~220'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Credit Card Authorisation Code'''
 
|- valign="baseline"
 
| '''~221'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(2 characters)</div>'''Credit Card Issue Number'''
 
|- valign="baseline"
 
| '''~222'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(5 characters)</div>'''Credit Card Valid From Date, as MM/YY'''
 
|- valign="baseline"
 
| '''~223'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(15 characters)</div>'''System Merchant Number'''
 
|- valign="baseline"
 
| '''~224'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(15 characters)</div>'''Transaction Comment'''
 
|- valign="baseline"
 
| '''~234'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(30 characters)</div>'''Account V.A.T. Registration Number'''
 
|- valign="baseline"
 
| '''~239'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(3 characters)</div>'''Payment Period'''
 
|- valign="baseline"
 
| '''~240''',n
 
| '''Payment Due Date'''
 
;n = 0
 
:<div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>Short format. e.g. {{DataValue|DD/MM/CCYY}}.
 
;n = 1
 
:<div style="float:right; margin-left:1em; font-style:italic;">(32 characters)</div>Long Format. e.g. {{DataValue|Friday, 31st January 20??}}.
 
|}
 
=== Configuration Tokens ===
 
These affect the overall layout of the invoice/credit , and should be grouped together at the head of the layout file.
 
 
 
==== Document Blocks ====
 
The block information can either be supplied by you, in which case you should leave the parameters blank to begin with, and fill the values in when you are happy with the rest of the file; or the compiler can track the values down itself, which will marginally slow down the compilation process.
 
 
 
{| cellspacing="5" width="95%" valign="baseline"
 
!width="15%"|
 
!|
 
!|
 
 
 
|- valign="baseline"
 
| '''~101''',n,m
 
| '''1st Page Heading Block'''
 
;n
 
:Start Line (i.e. Line for {{DataValue|~200}}).
 
;m
 
:End Line (i.e. Line for {{DataValue|~299}}).
 
|- valign="baseline"
 
| '''~102''',n,m
 
| '''Continuation Page Heading Block'''
 
;n
 
:Start Line (i.e. Line for {{DataValue|~300}}).
 
;m
 
:End Line (i.e. Line for {{DataValue|~399}}).
 
|- valign="baseline"
 
| '''~103''',n,m
 
| '''Continued Page Footing Block'''
 
;n
 
:Start Line (i.e. Line for {{DataValue|~400}}).
 
;m
 
:End Line (i.e. Line for {{DataValue|~499}}).
 
|- valign="baseline"
 
| '''~104''',n,m
 
| '''Final Page Footing Block'''
 
;n
 
:Start Line (i.e. Line for {{DataValue|~500}}).
 
;m
 
:End Line (i.e. Line for {{DataValue|~599}}).
 
|}
 
==== Document Configuration ====
 
{| cellspacing="5" width="95%" valign="baseline"
 
!width="15%"|
 
!|
 
!|
 
 
 
|- valign="baseline"
 
| '''~105''',n,m,l
 
| '''Enables grouping of multiple Stock Codes'''
 
Enables grouping of multiple Stock Codes into single lines on the invoice/credit . The parameter 'n' is the number of characters at the start of the code which must be identical for the codes to be grouped. parameter 'm' is the number of characters following these parameter 'n' characters which must be identical in order for the items to occupy one "column". parameter 'l' is the number of "columns" allowed per line..
 
|- valign="baseline"
 
| '''~109''',n
 
| '''Normal and Slip Body Style'''
 
;n = 0
 
:Standard.
 
;n = 1
 
:Condensed.
 
|- valign="baseline"
 
| '''~111''',n
 
| '''Line Skip'''
 
;n = 0
 
:No Line Skip.
 
;n = 1
 
:Line Skip between Items.
 
|- valign="baseline"
 
| '''~112''',n
 
| '''Heading Block'''
 
;n => 1
 
:The line to start printing.
 
|- valign="baseline"
 
| '''~113''',n,m
 
| '''Body Block'''
 
;n
 
:The line to start printing.
 
;m
 
:Depth (Number of lines to print).
 
|- valign="baseline"
 
| '''~114''',n
 
| '''Footing Block'''
 
;n
 
:The line to start printing.
 
|- valign="baseline"
 
| '''~115''',n
 
| '''Form Length'''
 
;n
 
:Number of Lines per Page.
 
|- valign="baseline"
 
| '''~116''',n
 
| '''Carriage Amount'''
 
;n = 0
 
:Carriage Prints in Totals Block after Discount has applied.
 
;n = 1
 
:Carriage Prints in Totals Block before Discount is applied.
 
;n = 2
 
:Carriage Prints on the Final Line of the Document Body and is Discounted.
 
;n = 3
 
:Carriage Prints in None of the above, and is not Discounted.
 
;n = 4
 
:Carriage Prints in None of the above, and is Discounted.
 
|- valign="baseline"
 
| '''~117''',n,m
 
| '''Backorder Printing'''
 
Prints a section after the invoice/credit Items consisting of Items on backorder for the current account, using the same line layout as for the items.
 
 
 
;n = 0
 
:Suppresses Tax and Totals information.
 
;n = 1
 
:Includes Tax and Totals information.
 
;m
 
:Column position for "Following Items on Backorder :-" text.
 
|- valign="baseline"
 
| '''~198'''
 
| '''Currency conversion configuration'''
 
*See Currency Conversions at the end of this article for more details.
 
|}
 
=== Body Block ===
 
==== General Information ====
 
{{DataValue|~6nn,1,2,3,"4",5}} where {{DataValue|~6nn}} represents an item, described below, which you wish to be printed in the invoice/credit body.
 
 
 
All have up to five parameters :-
 
 
 
;Parm 1 - 'n'
 
:Column Position across from the left of the page.
 
;Parm 2 - 'm'
 
:Unused. (Used by other Systems, but should be set to {{DataValue|0}} here if a third parameter is used).
 
;Parm 3 - 'l'
 
:Varies by Token. If not used, and parms 4 or above are needed, should be skipped by placing the commas next to each other. i.e. ~6nn,1,2,,"4",5.
 
:Generally, for numeric tokens, which print by default to two decimal places.
 
:*'0' - Quantity : Trailing Zeroes are Stripped off. Currency : Zero figures are not printed.
 
:*'1' - Quantity : Trailing Zeroes are NOT Stripped. Currency : Zero figures are printed.
 
:*'2' - As '0', but allow 3 decimal places.
 
:*'3' - As '1', but allow 3 decimal places.
 
;Parm 4 - 'x'
 
:Optional. Varies by token. If used should be contained in quotes. If not used and parm 5 or above required, should be skipped in the same way as parm 3. i.e. ~6nn,1,2,3,,5
 
;Parm 5 - 'k'
 
:Column, when {{DataValue|~105}} is used. See above. Up to 10 columns are allowed, limited by the "col" parameter after {{DataValue|~105}}. If the body token is to refer to the line total, or main text item, then this parameter should be {{DataValue|0}} (the default). If it is to refer to the value for a specific column then it should be given the value 1 - 10.
 
{{Information|text=
 
Body Tokens may be used in the Headers or Footers, and will in this case take their value from the '''first order''', or '''first item on that order''', which appears on the Invoice or Credit. This feature will generally be of use if you tend to print one Order per Invoice. In other cases the results may be misleading, so the feature should be used with care.
 
 
 
*The exceptions are the "Stock Description" and "General Notes Tokens". Parameters 'n' & 'm' are not used at all, so if a Body Token were used in the Header its first Parameter would act as Parameter 'l' would if it were used in the Body.
 
}}
 
 
 
==== Body Tokens ====
 
{| cellspacing="5" width="95%" valign="baseline"
 
!width="15%"|
 
!|
 
!|
 
 
 
|- valign="baseline"
 
| '''~601''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Item Quantity'''
 
|- valign="baseline"
 
| '''~602''',n,m,l
 
| '''Nett Amount'''
 
|- valign="baseline"
 
| '''~603''',n,m,l,"x"
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Unit Price'''
 
;"x" = "F"
 
:Prints the Unit Price of the first item to be stored on the current line/column.
 
;"x" = "A"
 
:Prints the average Unit Price, calculated as Nett Amount/Quantity.
 
|- valign="baseline"
 
| '''~604''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Tax Amount'''
 
|- valign="baseline"
 
| '''~605''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Amount after Tax'''
 
|- valign="baseline"
 
| '''~606''',n,m,l
 
| <div style="float:right; margin-left:1em; font-style:italic;">(1 character)</div>'''Tax Band'''
 
;l = 0
 
:Prints A - D.
 
;l = 1
 
:Prints 1 - 4.
 
|- valign="baseline"
 
| '''~607''',n,m,l
 
| '''Item Date'''
 
;l = 0
 
:<div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>Short format. e.g. {{DataValue|DD/MM/CCYY}}.
 
;l = 1
 
:<div style="float:right; margin-left:1em; font-style:italic;">(32 characters)</div>Long Format. e.g. {{DataValue|Friday, 31st January 20??}}.
 
|- valign="baseline"
 
| '''~608'''
 
| <div style="float:right; margin-left:1em; font-style:italic;">(15 characters)</div>'''Stock Code'''
 
|- valign="baseline"
 
| '''~609''',n,m,l
 
| <div style="float:right; margin-left:1em; font-style:italic;">(30 characters)</div>'''Stock Description'''
 
;l = 0
 
:Prints all required lines.
 
;l = 1 -> 3
 
:The line of the description.
 
|- valign="baseline"
 
| '''~610''',n,m,l
 
| '''Your Order Number'''
 
;l = 0
 
:<div style="float:right; margin-left:1em; font-style:italic;">(15 characters)</div>Prints all 15 Characters.
 
;l = 1
 
:Prints just the latter 8 Characters.
 
|- valign="baseline"
 
| '''~611''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Units'''
 
|- valign="baseline"
 
| '''~612''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(6 characters)</div>'''Percentage Discount'''
 
|- valign="baseline"
 
| '''~613''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Total Nett Order Value'''
 
|- valign="baseline"
 
| '''~614''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(3 characters)</div>'''Stock Group'''
 
|- valign="baseline"
 
| '''~615''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Weight'''
 
|- valign="baseline"
 
| '''~616''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Volume'''
 
|- valign="baseline"
 
| '''~617''',n,m,l
 
| <div style="float:right; margin-left:1em; font-style:italic;">(1 character)</div>'''Stock Analysis Code'''
 
;l = 1 -> 3
 
:Analysis code position.
 
|- valign="baseline"
 
| '''~618''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Price List Over-ride'''
 
|- valign="baseline"
 
| '''~619''',n,m,l
 
| <div style="float:right; margin-left:1em; font-style:italic;">(15 characters)</div>'''Short Description'''
 
;l = 0
 
:Always print the description.
 
;l = 1
 
:If this is blank, Print the "Stock Code", and if that is blank (freetype stock) print the first line of the stock description.
 
|- valign="baseline"
 
| '''~620''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(6 characters)</div>'''Depot Code'''
 
|- valign="baseline"
 
| '''~621''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Quantity in Stock'''
 
|- valign="baseline"
 
| '''~622''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(30 characters)</div>'''Order Delivery Name'''
 
|- valign="baseline"
 
| '''~623''',n,m,l
 
| <div style="float:right; margin-left:1em; font-style:italic;">(30 characters)</div>'''Order Delivery Address'''
 
;l = 1 -> 5
 
:Address line.
 
|- valign="baseline"
 
| '''~624''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(12 characters)</div>'''Location'''
 
|- valign="baseline"
 
| '''~625''',n,m,l,"x"
 
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Sales Price'''
 
;"x" = blank
 
:Sales Price Code. If left blank will give Standard Sales Price.
 
|- valign="baseline"
 
| '''~626''',n,m,l
 
| <div style="float:right; margin-left:1em; font-style:italic;">(5 characters)</div>'''Percentage Tax Charged'''
 
;l = 0
 
:Prints in all cases.
 
;l = 1
 
:Does not print if set to not print on Slip Printouts.
 
|- valign="baseline"
 
| '''~627''',n,m,l
 
| <div style="float:right; margin-left:1em; font-style:italic;">(8 characters)</div>'''Delivery Note Number'''
 
;l = 0
 
:Always print.
 
;l = 1
 
:Do not print when System Parms dictate Delivery Note number is not required.
 
|- valign="baseline"
 
| '''~628''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(15 characters)</div>'''Customer Order Number'''
 
|- valign="baseline"
 
| '''~629''',n
 
| <div style="float:right; margin-left:1em; font-style:italic;">(30 characters)</div>'''Item Reference'''
 
|- valign="baseline"
 
| '''~630''',n,m,l
 
| <div style="float:right; margin-left:1em; font-style:italic;">(15 characters)</div>'''Stock Analysis Description'''
 
;l = 1 -> 3
 
:Analysis Description index.
 
|- valign="baseline"
 
| '''~631''',n,m,l
 
| <div style="float:right; margin-left:1em; font-style:italic;">(1 character)</div>'''Order Analysis Code'''
 
;l = 1 -> 3
 
:Analysis Code index.
 
|- valign="baseline"
 
| '''~632''',n,m,l
 
| <div style="float:right; margin-left:1em; font-style:italic;">(1 character)</div>'''Order Analysis Description'''
 
;l = 1 -> 3
 
:Analysis Description index.
 
|- valign="baseline"
 
 
| '''~633''',n
 
| '''~633''',n
| '''Delivery by Date'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(13 characters)</div>'''Subcontracted Rate'''
;n = 0
 
:<div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>Short format. e.g. {{DataValue|DD/MM/CCYY}}.
 
;n = 1
 
:<div style="float:right; margin-left:1em; font-style:italic;">(32 characters)</div>Long Format. e.g. {{DataValue|Friday, 31st January 20??}}.
 
 
|- valign="baseline"
 
|- valign="baseline"
 
| '''~634''',n
 
| '''~634''',n
| '''Delivery Date'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(13 characters)</div>'''Subcontractor Quantity'''
;n = 0
 
:<div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>Short format. e.g. {{DataValue|DD/MM/CCYY}}.
 
;n = 1
 
:<div style="float:right; margin-left:1em; font-style:italic;">(32 characters)</div>Long Format. e.g. {{DataValue|Friday, 31st January 20??}}.
 
 
|- valign="baseline"
 
|- valign="baseline"
 
| '''~635''',n
 
| '''~635''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(3 characters)</div>'''Item Price Group'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(13 characters)</div>'''Subcontractor Total'''
 
|- valign="baseline"
 
|- valign="baseline"
 
| '''~636''',n
 
| '''~636''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(30 characters)</div>'''Item Price Group Description'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(13 characters)</div>'''Profit'''
 +
e.g. Subcontractor Total - Job Total = Profit.
 
|- valign="baseline"
 
|- valign="baseline"
 
| '''~637''',n
 
| '''~637''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Picked By'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(1 character)</div>'''Subcontractor Confirmation Note printed?'''
 
|- valign="baseline"
 
|- valign="baseline"
 
| '''~638''',n
 
| '''~638''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Delivery Method'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(8 characters)</div>'''Subcontractor Invoice Number'''
 +
Will be set automatically if allocated by Purchase Ledger link; or may be set manually through Planning View.
 
|- valign="baseline"
 
|- valign="baseline"
| '''~639''',n,m,l
+
| '''~639''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(60 characters)</div>'''Description/Detailed Notes'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(8 characters)</div>'''Trailer'''
Prints usual Stock Description for up to three lines, then all Detailed Notes.
 
;l = 0
 
:Stock Code Notes.
 
;l = 1
 
:Order Item Notes.
 
 
|- valign="baseline"
 
|- valign="baseline"
 
| '''~640''',n
 
| '''~640''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(8 characters)</div>'''User/Group Name'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(30 characters)</div>'''Trailer Description'''
Person who created the order.
 
 
|- valign="baseline"
 
|- valign="baseline"
| '''~641''',n,m,l
+
| '''~641''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(30 characters)</div>'''Order Reference'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(2 characters)</div>'''Pallets'''
;l = 0
 
:Use Item Reference if Order Reference is not set.
 
;l = 1
 
:Prints spaces if no Order Reference is set.
 
 
|- valign="baseline"
 
|- valign="baseline"
 
| '''~642''',n
 
| '''~642''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(30 characters)</div>'''Stock Group Description'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(13 characters)</div>'''Weight'''
 
|- valign="baseline"
 
|- valign="baseline"
| '''~643''',n,m,l
+
| '''~643''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Stock Barcode Number'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(13 characters)</div>'''Volume'''
;l = 0
 
:Stock Code Notes only.
 
;l = 1 -> 10
 
:Number of digits to print.
 
 
|- valign="baseline"
 
|- valign="baseline"
 
| '''~644''',n
 
| '''~644''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Account Fixed Stock Price'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(8 characters)</div>'''Load'''
 
|- valign="baseline"
 
|- valign="baseline"
 
| '''~645''',n
 
| '''~645''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(30 characters)</div>'''Account Fixed Stock Price Notes'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(2 characters)</div>'''Drop Sequence'''
 
|- valign="baseline"
 
|- valign="baseline"
 
| '''~646''',n
 
| '''~646''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Consignment Number'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(3 characters)</div>'''Area'''
 
|- valign="baseline"
 
|- valign="baseline"
 
| '''~647''',n
 
| '''~647''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(4 characters)</div>'''Number of Boxes in the Consignment'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(30 characters)</div>'''Area Description'''
 
|- valign="baseline"
 
|- valign="baseline"
 
| '''~648''',n
 
| '''~648''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(20 characters)</div>'''Batch Code'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(2 characters)</div>'''Half Pallets'''
 
|- valign="baseline"
 
|- valign="baseline"
 
| '''~649''',n
 
| '''~649''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Batch Quantity'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(2 characters)</div>'''Quarter Pallets'''
 
|- valign="baseline"
 
|- valign="baseline"
 
| '''~650''',n
 
| '''~650''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(20 characters)</div>'''Batch Location'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(3 characters)</div>'''Literal'''
|}
+
|- valign="baseline"
===== Including Batch Information =====
+
| '''~651''',n
Meaningful "Batch Information" may be retrieved only for Stock Lines marked as "Batched", which prompt for batch information whenever they are booked into or out of stock. The information extracted depends on the Order Item's status. If the item has been booked into stock, for example on a Goods Received Note, then you will see information relating to the batch transactions involved in booking the item in question in. This would enable you to go straight to the locations where the items are to be placed.
+
| <div style="float:right; margin-left:1em; font-style:italic;">(2 characters)</div>'''Blue Pallets'''
 
 
If the item has not yet impacted Stock History, on a Picking List for instance, you will get information on the batches you currently have in stock, enabling you to see which batches are suitable to be picked from.
 
 
 
Another thing to bear in mind is that for the second and subsequent lines of Batch Information for an item, only the Batch tokens ({{DataValue|~648}} -> {{DataValue|~650}}) shown above will be printed.
 
 
 
=== Totals Block ===
 
==== General Information ====
 
{{DataValue|~7nn,1,2,"x",4,5}} where {{DataValue|~7nn}} = token number.
 
 
 
All have up to five parameters :-
 
 
 
;Parm 1 - 'o'
 
:Line from Top of Block to print on.
 
;Parm 2 - 'n'
 
:Column from Left of Block to print.
 
;Parm 3 - 'x'
 
:Up to 15 Character Description.
 
;Parm 4 - 'm'
 
:*'0' - Description precedes Figures (default).
 
:*'1' - Description follows on from totals.
 
;Parm 5 - 'l'
 
:{{DataValue|0, 1 or 2}} - Printing conditions.
 
:In general, if items are configured to print one line after another, and {{DataPrompt|blanket discount}} does not apply, then if Parm 5 for blanket discount amount is set to {{DataValue|0}} then Blanket discount details will not be printed at all and the next line will shuffle up. If Parm 5 is set to {{DataValue|1}} and no blanket discount applies then zeroes will be printed, and if it is set to 2 then a blank line will be printed.
 
==== Totals Tokens ====
 
Some tokens below are suppressed on Tax Inclusive documents if {{DataValue|~119}} is included in the Configuration section.
 
{| cellspacing="5" width="95%" valign="baseline"
 
!width="15%"|
 
!|
 
!|
 
 
 
 
|- valign="baseline"
 
|- valign="baseline"
| '''~701''',n,m,l
+
| '''~652''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(25 characters)</div>'''Total Amount Before Tax or Blanket Discounts'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(2 characters)</div>'''Over Size Pallets'''
 
|- valign="baseline"
 
|- valign="baseline"
| '''~702''',n,m,l,k,j
+
| '''~653''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(25 characters)</div>'''Blanket Discount Amount'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(8 characters)</div>'''Distance'''
If the {{DataValue|S99.99}} is included in parameter 'l' it will be substituted with the percentage discount applied.
 
;j = 0
 
:Do not print when no Discount applies.
 
;j = 1
 
:Print even if no Discount applies.
 
;j = 2
 
:Print blank if no Discount applies.
 
 
|- valign="baseline"
 
|- valign="baseline"
| '''~703''',n,m,l,k,j
+
| '''~654''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(25 characters)</div>'''Pre Tax Amount after Blanket Discount'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(2 characters)</div>'''Days'''
;j = 0
 
:Do not print when no Discount applies.
 
;j = 1
 
:Print even if no Discount applies.
 
;j = 2
 
:Print blank if no Discount applies.
 
 
|- valign="baseline"
 
|- valign="baseline"
| '''~704''',n,m,l
+
| '''~655''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(25 characters)</div>'''Total Tax Amount'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(3 characters)</div>'''Consignment Type'''
Supressed on Tax Inclusive documents (see above).
 
 
|- valign="baseline"
 
|- valign="baseline"
| '''~705''',n,m,l
+
| '''~656''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(25 characters)</div>'''Total Amount after Tax and Blanket Discount'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(30 characters)</div>'''Consignment Type Description'''
 
|- valign="baseline"
 
|- valign="baseline"
| '''~706''',n,m,l
+
| '''~657''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(25 characters)</div>'''Total Amount Paid'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(3 characters)</div>'''Service'''
 
|- valign="baseline"
 
|- valign="baseline"
| '''~707''',n,m,l
+
| '''~658''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(25 characters)</div>'''Total Amount Outstanding after Payment'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(30 characters)</div>'''Service Description'''
 
|- valign="baseline"
 
|- valign="baseline"
| '''~708''',n,m
+
| '''~659''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(25 characters)</div>'''"Equals" Lines'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(3 characters)</div>'''Input Period'''
A line of {{DataValue|<nowiki>=</nowiki>}} signs where the figures would go in the other cases.
 
 
|- valign="baseline"
 
|- valign="baseline"
| '''~709''',n,m,l,k,j
+
| '''~660''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(25 characters)</div>'''Amount Charged at Tax Rate 1'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(30 characters)</div>'''Input period Description'''
If {{DataValue|99.99}} is included in the description it will be substituted with the percentage Tax applied.
 
 
 
Supressed on Tax Inclusive documents (see above).
 
 
 
;j = 0
 
:Do not print when no Tax incurred at this rate.
 
;j = 1
 
:Print even if no Tax incurred.
 
;j = 2
 
:Print blank if no Tax incurred.
 
 
|- valign="baseline"
 
|- valign="baseline"
| '''~710''',n,m,l,k,j
+
| '''~661''',n,m,l,k
| <div style="float:right; margin-left:1em; font-style:italic;">(25 characters)</div>'''Amount Charged at Tax Rate 2'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(23 characters)</div>'''Ticket Block Date'''
If {{DataValue|99.99}} is included in the description it will be substituted with the percentage Tax applied.
+
;l = 1 -> 3
 
+
:Block number.
Supressed on Tax Inclusive documents (see above).
+
;k = 0
 
+
:<div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>Short format. e.g. {{DataValue|DD/MM/CCYY}}.
;j = 0
+
;k = 1
:Do not print when no Tax incurred at this rate.
+
:<div style="float:right; margin-left:1em; font-style:italic;">(32 characters)</div>Long Format. e.g. {{DataValue|Friday, 31st January 20??}}.
;j = 1
 
:Print even if no Tax incurred.
 
;j = 2
 
:Print blank if no Tax incurred.
 
 
|- valign="baseline"
 
|- valign="baseline"
| '''~711''',n,m,l,k,j
+
| '''~662''',n,m,l
| <div style="float:right; margin-left:1em; font-style:italic;">(25 characters)</div>'''Amount Charged at Tax Rate 3'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(5 characters)</div>'''Text Block Time'''
If {{DataValue|99.99}} is included in the description it will be substituted with the percentage Tax applied.
+
;l = 1 -> 3
 
+
:Block number.
Supressed on Tax Inclusive documents (see above).
 
 
 
;j = 0
 
:Do not print when no Tax incurred at this rate.
 
;j = 1
 
:Print even if no Tax incurred.
 
;j = 2
 
:Print Blank if no Tax incurred.
 
 
|- valign="baseline"
 
|- valign="baseline"
| '''~712''',n,m,l,k,j
+
| '''~663''',n,m,l
| <div style="float:right; margin-left:1em; font-style:italic;">(25 characters)</div>'''Amount Charged at Tax Rate 4'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(30 characters)</div>'''Text Block Contact'''
If {{DataValue|99.99}} is included in the description it will be substituted with the percentage Tax applied.
+
;l = 1 -> 3
 
+
:Block number.
Supressed on Tax Inclusive documents (see above).
 
 
 
;j = 0
 
:Do not print when no Tax incurred at this rate.
 
;j = 1
 
:Print even if no Tax incurred.
 
;j = 2
 
:Print blank if no Tax incurred.
 
 
|- valign="baseline"
 
|- valign="baseline"
| '''~713''',n,m,"x",l,k
+
| '''~664''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(25 characters)</div>'''Tendered Amounts Breakdown'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(20 characters)</div>'''Text Block Phone'''
Prints a line for each cost centre with a payment posted to it.
 
;"x"
 
:When left blank, and the Centre Description will be printed trimmed to the first 13 Characters.
 
;k = 0
 
:Do not print when no Tax incurred at this rate.
 
;k = 1
 
:Print even if no Tax incurred.
 
;k = 2
 
:Print blank if no Tax incurred.
 
 
|- valign="baseline"
 
|- valign="baseline"
| '''~714''',n,m,l,k,j
+
| '''~665''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(25 characters)</div>'''Carriage Amount'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(5 characters)</div>'''Text Block Open'''
;j = 0
 
:Do not print when no Carriage applies.
 
;j = 1
 
:Print even if no Carriage applies.
 
;j = 2
 
:Print blank if no Carriage applies.
 
 
|- valign="baseline"
 
|- valign="baseline"
| '''~716''',n,m,l
+
| '''~666''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(25 characters)</div>'''Blanket Discount Amount'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(5 characters)</div>'''Text Block Close'''
An alternative for {{DataValue|~702}} for Negative Discounts. (i.e. Surcharges.).
 
 
 
If the Discount is {{DataValue|0%}} or greater {{DataValue|~702}} will be used; if the Discount is less than {{DataValue|0%}} then {{DataValue|~716}} is used. If {{DataValue|~716}} is not supplied, {{DataValue|~702}} will be used.
 
 
 
 
|- valign="baseline"
 
|- valign="baseline"
| '''~717''',n,m,l
+
| '''~667''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(25 characters)</div>'''Total Amount Paid'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(12 characters)</div>'''Work Total'''
 
|- valign="baseline"
 
|- valign="baseline"
| '''~718''',n,m,l
+
| '''~668''',n
| <div style="float:right; margin-left:1em; font-style:italic;">(25 characters)</div>'''Change Given'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(12 characters)</div>'''Extra'''
 
|}
 
|}
=== Tax Block ===
+
=== Range Block ===
==== General Information ====
+
==== Totals Tokens ====
 
{| cellspacing="5" width="95%" valign="baseline"
 
{| cellspacing="5" width="95%" valign="baseline"
 
!width="15%"|
 
!width="15%"|
Line 934: Line 297:
  
 
|- valign="baseline"
 
|- valign="baseline"
| '''~801''',n,m
+
| '''~701'''
| '''Details for 1st Tax Band'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(54 characters)</div>'''Drivers'''
;n
+
|- valign="baseline"
:Line from Block Top.
+
| '''~705'''
;m
+
| <div style="float:right; margin-left:1em; font-style:italic;">(54 characters)</div>'''Vehicles'''
:Column from Block Left.
+
|- valign="baseline"
 +
| '''~709'''
 +
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Date From'''
 
|- valign="baseline"
 
|- valign="baseline"
| '''~801''',n,m
+
| '''~710'''
| '''Details for 2nd Tax Band'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Date To'''
;n
 
:Line from Block Top.
 
;m
 
:Column from Block Left.
 
 
|- valign="baseline"
 
|- valign="baseline"
| '''~801''',n,m
+
| '''~711'''
| '''Details for 3rd Tax Band'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(54 characters)</div>'''Statuses'''
;n
 
:Line from Block Top.
 
;m
 
:Column from Block Left.
 
 
|- valign="baseline"
 
|- valign="baseline"
| '''~801''',n,m
+
| '''~714'''
| '''Details for 4th Tax Band'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(54 characters)</div>'''Accounts'''
;n
 
:Line from Block Top.
 
;m
 
:Column from Block Left.
 
 
|- valign="baseline"
 
|- valign="baseline"
| '''~805''',"x"
+
| '''~718'''
| <div style="float:right; margin-left:1em; font-style:italic;">(up to 160 characters)</div>'''Layout String'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(1 character)</div>'''Scanned Image'''
;"x"
 
:Up to 160 characters in length, defines how the text for each of the Four Tax bands will appear. Into this will be inserted variables appropriate to each Tax Band, withtheir positions in the string given by the parameter.
 
|}
 
==== Tax Tokens ====
 
{| cellspacing="5" width="95%" valign="baseline"
 
!width="15%"|
 
!|
 
!|
 
 
 
 
|- valign="baseline"
 
|- valign="baseline"
| '''~806''',n,m
+
| '''~719'''
| <div style="float:right; margin-left:1em; font-style:italic;">(1 character)</div>'''Tax Band Indicator'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(1 character)</div>'''History'''
;n = 1 -> 4
 
:Tax Index
 
;m = 0
 
:{{DataValue|A}} to {{DataValue|D}}.
 
;m = 1
 
:{{DataValue|1}} to {{DataValue|4}}.
 
 
|- valign="baseline"
 
|- valign="baseline"
| '''~807''',n
+
| '''~720'''
| <div style="float:right; margin-left:1em; font-style:italic;">(5 characters)</div>'''Tax Percentage'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(54 characters)</div>'''Trailers'''
;n = 1 -> 4
 
:Tax Index
 
 
|- valign="baseline"
 
|- valign="baseline"
| '''~808''',n
+
| '''~724'''
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Tax Band description'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(15 characters)</div>'''Ticket 1'''
;n = 1 -> 4
 
:Tax Index
 
 
|- valign="baseline"
 
|- valign="baseline"
| '''~809''',n
+
| '''~727'''
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Amount Rated in this Tax Band'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(8 characters)</div>'''Load'''
;n = 1 -> 4
 
:Tax Index
 
 
|- valign="baseline"
 
|- valign="baseline"
| '''~810''',n
+
| '''~728'''
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Amount of Tax Charged on the Amount Rated'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(1 character)</div>'''Load Attribute'''
;n = 1 -> 4
 
:Tax Index
 
 
|- valign="baseline"
 
|- valign="baseline"
| '''~811''',n
+
| '''~729'''
| <div style="float:right; margin-left:1em; font-style:italic;">(10 characters)</div>'''Total Amount After Tax in this Band'''
+
| <div style="float:right; margin-left:1em; font-style:italic;">(40 characters)</div>'''Text Filter'''
;n = 1 -> 4
 
:Tax Index
 
 
|}
 
|}
 
=== Print Style Tokens ===
 
=== Print Style Tokens ===
Line 1,045: Line 373:
 
;n = 1 -> 999
 
;n = 1 -> 999
 
:Corresponds to the print code ID in the "Print Code Amendments".
 
:Corresponds to the print code ID in the "Print Code Amendments".
 +
|}
 +
=== Area Tokens ===
 +
{| cellspacing="5" width="95%" valign="baseline"
 +
!width="15%"|
 +
!|
 +
!|
 +
 +
|- valign="baseline"
 +
| '''~100'''
 +
| '''Configuration Section Start'''
 +
|- valign="baseline"
 +
| '''~199'''
 +
| '''Configuration Section End'''
 +
|- valign="baseline"
 +
| '''~200'''
 +
| '''Heading Block (First Page) Start'''
 +
|- valign="baseline"
 +
| '''~299'''
 +
| '''Heading Block (First Page) End'''
 +
|- valign="baseline"
 +
| '''~300'''
 +
| '''Heading Block (Continuation) Start'''
 +
|- valign="baseline"
 +
| '''~399'''
 +
| '''Heading Block (Continuation) End'''
 +
|- valign="baseline"
 +
| '''~400'''
 +
| '''Footing Block (Continuation) Start'''
 +
|- valign="baseline"
 +
| '''~499'''
 +
| '''Footing Block (Continuation) End'''
 +
|- valign="baseline"
 +
| '''~500'''
 +
| '''Footing Block (Last Page) Start'''
 +
|- valign="baseline"
 +
| '''~599'''
 +
| '''Footing Block (Last Page) End'''
 +
|- valign="baseline"
 +
| '''~600'''
 +
| '''Body Block Start'''
 +
|- valign="baseline"
 +
| '''~699'''
 +
| '''Body Block End'''
 +
|- valign="baseline"
 +
| '''~700'''
 +
| '''Range Block Start'''
 +
|- valign="baseline"
 +
| '''~799'''
 +
| '''Range Block End'''
 
|}
 
|}
 
=== Currency Conversions ===
 
=== Currency Conversions ===
Line 1,059: Line 436:
 
}}
 
}}
  
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 invoice/credit being printed will be used, if there is one.
+
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 traffic sheet/self billing being printed will be used, if there is one.
  
 
{{Example|text=
 
{{Example|text=
Line 1,090: Line 467:
  
 
|- valign="baseline"
 
|- valign="baseline"
| '''~198x'''
+
| '''~198x''',n
 
| '''x = Default currency modifier (optional)'''
 
| '''x = Default currency modifier (optional)'''
 +
;n = 0
 +
:Use exchange rate as at the user date for all currency conversions.
 +
;n = 1
 +
:Use exchange rate as at the transaction date for all currency conversions.
 
|}
 
|}
 
==== Currency Tokens ====
 
==== Currency Tokens ====
Line 1,120: Line 501:
 
| '''Skip block until next ~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
 
Should be used in pairs on a line. Everything between them is blanked out if there is no currency set for this account
|}[[Category:Order Processing Documents]]
+
|}[[Category:Logistics Management Documents]]

Revision as of 04:55, 17 June 2014

The Platinum System "Order Processing" allows the layout of your Invoices and Credits 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.

This article is for the following documents :-

  • "Invoice"
  • "Credit Note"

Layout Data Formats

Formats are stored in a special file, which must be accessed through the format amendments programs. It cannot be edited from outside the Platinum System.

A library of "Standard Formats" is available. These are automatically copied to the "User Format" the first time a document is printed, and may be copied manually if, for instance, you wish to start using pre-printed stationary where before you were using plain paper.

If required, you may assign special formats to certain Accounts, and/or assign these formats to different print records from the default. A format name may be up to 11 characters in length, and contain any combination of typeable characters.

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 invoice/credit 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
~700 Totals Configuration Block Start
~799 Totals Configuration Block End
~800 Tax Configuration Block Start
~899 Tax Configuration Block End

Tokens

General Tokens

These can appear in either Headers or Footers.

~1
(30 characters)
Account Name
~2,n
(30 characters)
Account Address Line
n = 1 -> 5
The line of the address.
~3
(6 characters)
Account Code
~4,n Telephone Number
n = 0
(15 characters)
Telephone Number.
n = 1
(20 characters)
Mobile Number.
~5
(15 characters)
Fax Number
~6,n,m Account Notes Line
n = 1 -> 5
The line of the notes.
m = 0
(40 characters)
Print Notes information.
m = 1
(10 characters)
Print Notes prompt.
~7
(3 characters)
Page Number
~8
(3 characters)
Total Pages on Invoice/Credit
~9,n
(8 characters)
Document Number
n = 0
Print in all cases.
n = 1
Blank if not in Heading.
~10,n Document Date
n = 0
(10 characters)
Short format. e.g. 'DD/MM/CCYY'.
n = 1
(32 characters)
Long Format. e.g. 'Friday, 31st January 20??'.
~11,n
(40 characters)
Company Name
n = 1 -> 2
The line of the name.
~12,n
(50 characters)
Company Address
n = 1 -> 5
The line of the address.
~13,n
(one line)
Heading Line
n = 1 -> 2
Heading text.
~14,n
(one line)
Footing Line
n = 1 -> 3
Heading text.
~15
(11 characters)
Heading Document Type
~17 Top Left hand corner of Totals Block

Use if totals are to be printed in self configuring block. See below.

~18 Top Left hand corner of Tax Details Block

Use if tax is to be prvalign="baseline"

~633,n
(13 characters)
Subcontracted Rate
~634,n
(13 characters)
Subcontractor Quantity
~635,n
(13 characters)
Subcontractor Total
~636,n
(13 characters)
Profit

e.g. Subcontractor Total - Job Total = Profit.

~637,n
(1 character)
Subcontractor Confirmation Note printed?
~638,n
(8 characters)
Subcontractor Invoice Number

Will be set automatically if allocated by Purchase Ledger link; or may be set manually through Planning View.

~639,n
(8 characters)
Trailer
~640,n
(30 characters)
Trailer Description
~641,n
(2 characters)
Pallets
~642,n
(13 characters)
Weight
~643,n
(13 characters)
Volume
~644,n
(8 characters)
Load
~645,n
(2 characters)
Drop Sequence
~646,n
(3 characters)
Area
~647,n
(30 characters)
Area Description
~648,n
(2 characters)
Half Pallets
~649,n
(2 characters)
Quarter Pallets
~650,n
(3 characters)
Literal
~651,n
(2 characters)
Blue Pallets
~652,n
(2 characters)
Over Size Pallets
~653,n
(8 characters)
Distance
~654,n
(2 characters)
Days
~655,n
(3 characters)
Consignment Type
~656,n
(30 characters)
Consignment Type Description
~657,n
(3 characters)
Service
~658,n
(30 characters)
Service Description
~659,n
(3 characters)
Input Period
~660,n
(30 characters)
Input period Description
~661,n,m,l,k
(23 characters)
Ticket Block Date
l = 1 -> 3
Block number.
k = 0
(10 characters)
Short format. e.g. 'DD/MM/CCYY'.
k = 1
(32 characters)
Long Format. e.g. 'Friday, 31st January 20??'.
~662,n,m,l
(5 characters)
Text Block Time
l = 1 -> 3
Block number.
~663,n,m,l
(30 characters)
Text Block Contact
l = 1 -> 3
Block number.
~664,n
(20 characters)
Text Block Phone
~665,n
(5 characters)
Text Block Open
~666,n
(5 characters)
Text Block Close
~667,n
(12 characters)
Work Total
~668,n
(12 characters)
Extra

Range Block

Totals Tokens

~701
(54 characters)
Drivers
~705
(54 characters)
Vehicles
~709
(10 characters)
Date From
~710
(10 characters)
Date To
~711
(54 characters)
Statuses
~714
(54 characters)
Accounts
~718
(1 character)
Scanned Image
~719
(1 character)
History
~720
(54 characters)
Trailers
~724
(15 characters)
Ticket 1
~727
(8 characters)
Load
~728
(1 character)
Load Attribute
~729
(40 characters)
Text Filter

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

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
~700 Range Block Start
~799 Range Block End

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 traffic sheet/self billing 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,n x = Default currency modifier (optional)
n = 0
Use exchange rate as at the user date for all currency conversions.
n = 1
Use exchange rate as at the transaction date for all currency conversions.

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