Difference between revisions of "AUDIT PROG - Audit program (Reports & Settings Report Generator function)"

From Catalyst
Jump to: navigation, search
(Updated from revision control)
(Updated from revision control)
 
Line 34: Line 34:
  
 
== See also ==
 
== See also ==
[[PROGRAM - Program Details (Reports & Settings Report Generator function)|$PROGRAM]], [[AUDIT_DATE - Audit date (Reports & Settings Report Generator function)|$AUDIT_DATE]], [[AUDIT_SITE - Audit site (Reports & Settings Report Generator function)|$AUDIT_SITE]], [[AUDIT_TERM - Audit terminal (Reports & Settings Report Generator function)|$AUDIT_TERM]], [[AUDIT_TIME - Audit time (Reports & Settings Report Generator function)|$AUDIT_TIME]], [[AUDIT_USER - Audit user (Reports & Settings Report Generator function)|$AUDIT_USER]].
+
[[PROGRAM - Get program details (Reports & Settings Report Generator function)|$PROGRAM]], [[AUDIT_DATE - Audit date (Reports & Settings Report Generator function)|$AUDIT_DATE]], [[AUDIT_SITE - Audit site (Reports & Settings Report Generator function)|$AUDIT_SITE]], [[AUDIT_TERM - Audit terminal (Reports & Settings Report Generator function)|$AUDIT_TERM]], [[AUDIT_TIME - Audit time (Reports & Settings Report Generator function)|$AUDIT_TIME]], [[AUDIT_USER - Audit user (Reports & Settings Report Generator function)|$AUDIT_USER]].
 
[[Category:Reports & Settings Report Generator functions]]
 
[[Category:Reports & Settings Report Generator functions]]

Latest revision as of 05:50, 16 April 2020

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.