T37 - Invoice Text (Accounts Report Generator variable)

From Catalyst
Jump to: navigation, search

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.