TXNTEST - Test for a payroll transaction (Payroll Report Generator function)
From Catalyst
(Redirected from REF:prrgftxntest)
Syntax
$TXNTEST{emp, type, year, freq, period}
Description
Tests for the existence of a payroll transaction in given period.
Parameters
- emp
- A text parameter that can not be omitted.
- The employee code.
- type
- A text parameter that can not be omitted.
- E
- Previous Employment Adjustment.
- P
- Payroll Calculation.
- A
- Normal Adjustment.
- O
- Attachment Order Posting.
- year
- A numeric parameter that can be omitted.
- The tax year start of payroll year, if this is not provided then the current year will be assumed.
- freq
- A text parameter that can not be omitted.
- M
- Monthly.
- W
- Weekly.
- 4
- 4 Weekly.
- F
- Fortnightly.
- period
- A numeric parameter that can not be omitted.
- The tax period.
Returns
A text value whose typical size is 1 character.
- Y
- Yes, Payroll Transaction Exists.
- N
- No, Xaction of the given type.