S02 - Adjustment Status (Payroll Report Generator variable)

From Catalyst
Jump to: navigation, search

Syntax

S02{C/H, 1-14, S/T/N/P/H, C/Y, A/-T/+T/-N/+N, A/Z}

Description

Each of the 14 adjustments has a set of status flags.

Parameters

C/H
A text parameter that can be omitted (it defaults to "C").
C
Current (the value currently in effect).
H
Historic (the value as at the time of the historic transaction). This will only be applicable if you have based a report on the 'H' variables.
1-14
A numeric parameter that can be omitted (it defaults to "1").
The description for that adjustment.
S/T/N/P/H
A text parameter that can be omitted (it defaults to "S").
Indicates which status flag is required.
S
The adjustment sign (+/-)
T
Tax Adjustment (Y/N).
N
NI Adjustment (Y/N).
P
Pension Adjustment (Y/N).
H
Holiday Adjustment (Y/N).
C/Y
A text parameter that can be omitted (it defaults to "C").
C
Current (the value for this period).
Y
Year (the value for the payroll year including this period).
A/-T/+T/-N/+N
A text parameter that can be omitted (it defaults to "A").
A
All adjustments.
-T
Pre-Tax adjustments only.
+T
Post-Tax adjustments only.
-N
Pre-NI adjustments only.
+N
Post-NI adjustments only.
A/Z
A text parameter that can be omitted (it defaults to "A").
A
All amounts (regardless of the value).
Z
Non-zero amounts (only get amounts that have a value).

Returns

A text value whose typical size is 1 character.