T20 - Parent Transaction (Accounts Report Generator variable)

From Catalyst
Jump to: navigation, search

Syntax

T20{T}

Description

For allocations, this variable stores which document it was allocated from.

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.