Difference between revisions of "T37 - Invoice Text (Accounts Report Generator variable)"

From Catalyst
Jump to: navigation, search
(Updated from revision control)
(Updated from revision control)
 
Line 17: Line 17:
 
;page
 
;page
 
:A numeric parameter that can be omitted (it defaults to "1").
 
:A numeric parameter that can be omitted (it defaults to "1").
:;0-99
+
:The page number.
::The page number.
 
 
;line
 
;line
 
:A numeric parameter that can be omitted (it defaults to "1").
 
:A numeric parameter that can be omitted (it defaults to "1").
:;1-999
+
:The line of the page.
::The line of the page.
 
 
;column
 
;column
 
:A numeric parameter that can be omitted (it defaults to "1").
 
:A numeric parameter that can be omitted (it defaults to "1").
:;1-160
+
:The starting column position.
::The starting column position.
 
  
 
== Returns ==
 
== Returns ==

Latest revision as of 06:34, 10 March 2016

Syntax

T37{page, line, column}

Description

Will return part of a line of text from the printed invoice from the current transaction (invoices only).

A maximum of 90 characters can be returned at a time so invoices which were printed in condensed mode (which may go up to column 132) would need to be spread over two report cells. If a page number of zero is supplied as a parameter, then the line number supplied represents the line number of the document as opposed to the line number on a particular page. eg. on a 50 line/page document, T37{0,80} would return the 30th line on page 2.


Parameters

page
A numeric parameter that can be omitted (it defaults to "1").
The page number.
line
A numeric parameter that can be omitted (it defaults to "1").
The line of the page.
column
A numeric parameter that can be omitted (it defaults to "1").
The starting column position.

Returns

A text value whose typical size is 80 characters.