AUDIT PROG - Audit program (Reports & Settings Report Generator function)
From Catalyst
(Redirected from REF:rprgfaudit prog)
Syntax
$AUDIT_PROG{id, mode}
Description
Return the audit program for a Data ID.
Parameters
- id
- A text parameter that can not be omitted.
- Each Platinum file that is given the ability to store created/modified/used or viewed details (using the "Data ID" system) is given it's own 6 character "Data ID". This is stored on the file and can be reported on in the usual way by using a variable (see A54 for the Accounts File).
- mode
- A text parameter that can be omitted (it defaults to "C").
- C
- The created details of the record.
- M
- The modified details of the record.
- U
- The used details of the record.
This is not implemented for all files. |
- V
- The viewed details of the record.
This is not implemented for all files. |
Returns
A text value. The created/modified/used or viewed program code.
See also
$PROGRAM, $AUDIT_DATE, $AUDIT_SITE, $AUDIT_TERM, $AUDIT_TIME, $AUDIT_USER.