T03 - Document Number (Accounts Report Generator variable)

From Catalyst
Jump to: navigation, search

Syntax

T03{T}

Description

The document number. Normally the invoice or credit note number.

Unallocated payments are always at the end of an account listing, yet their document numbers are always shown as spaces (Spaces should make them come first). This is done by stamping a '~' at the beginning of the document number and then translating it for display purposes. You should use the untranslated document number to sort but should use the translated version to display.


Parameters

T
A text parameter that can be omitted.
blank
Untranslated document number, included the '~' at the beginning of the document number.
T
Translate any document numbers starting with '~' to spaces.

Returns

A text value whose typical size is 8 characters.