Difference between revisions of "T21 - Analysis Code (Accounts Report Generator variable)"

From Catalyst
Jump to: navigation, search
(Updated from revision control)
(Updated from revision control)
 
Line 4: Line 4:
  
 
== Description ==
 
== Description ==
The transaction analysis codes.
+
Analysis codes for the current account code. With no parameters (or a parameter of {{DataValue|0}}) the whole analysis code will be returned, if a number from {{DataValue|1}} to {{DataValue|3}} is given then the analysis code for that character position will be returned.
  
 
== Parameters ==
 
== Parameters ==
Line 10: Line 10:
 
:A text parameter that can be omitted (it defaults to "0").
 
:A text parameter that can be omitted (it defaults to "0").
 
:;0
 
:;0
::The Whole Code.
+
::The whole code.
 
:;1-3
 
:;1-3
 
::The analysis code position.
 
::The analysis code position.
  
 
== Returns ==
 
== Returns ==
A text value whose typical size is 3 characters.
+
A text value whose typical size is 1 character.
  
 
[[Category:Accounts Report Generator variables]]
 
[[Category:Accounts Report Generator variables]]

Latest revision as of 06:31, 31 January 2018

Syntax

T21{0-3}

Description

Analysis codes for the current account code. With no parameters (or a parameter of '0') the whole analysis code will be returned, if a number from '1' to '3' is given then the analysis code for that character position will be returned.

Parameters

0-3
A text parameter that can be omitted (it defaults to "0").
0
The whole code.
1-3
The analysis code position.

Returns

A text value whose typical size is 1 character.