Difference between revisions of "T03 - Document Number (Accounts Report Generator variable)"

From Catalyst
Jump to: navigation, search
(Updated from revision control)
 
(Updated from revision control)
 
Line 7: Line 7:
  
 
{{Note|text=
 
{{Note|text=
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 {{DataValue|~}} at the beginning of the document number and then translating it for display purposes.
+
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 {{DataValue|<nowiki>~</nowiki>}} 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.
 
You should use the untranslated document number to sort but should use the translated version to display.
Line 18: Line 18:
 
:A text parameter that can be omitted.
 
:A text parameter that can be omitted.
 
:;blank
 
:;blank
::Untranslated document number, included the {{DataValue|~}} at the beginning of the document number.
+
::Untranslated document number, included the {{DataValue|<nowiki>~</nowiki>}} at the beginning of the document number.
 
:;T
 
:;T
::Translate any document numbers starting with {{DataValue|~}} to spaces.
+
::Translate any document numbers starting with {{DataValue|<nowiki>~</nowiki>}} to spaces.
  
 
== Returns ==
 
== Returns ==

Latest revision as of 05:34, 22 October 2015

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.