Description
MFS for tracking the audit history of a particular record.
Syntax
Does not get called directly. It must be installed. See the Set_MFS system stored procedure or the DLG_MFS form for more information.
Parameters
Parameter | Description |
---|---|
Code | An integer value indicating the operation to be performed (1 = read a record, 4 = delete a record, 11 = open a file, etc.) |
BFS | The list of MFSs and the BFS name for the current file or volume. This is a subvalue mark-delimited array, with the current MFS name as the first value in the array, and the BFS name as the last value. |
Handle | The file handle of the file or media map being accessed. |
Name | The name (key) of the record or file being accessed. |
FMC | Various functions. |
Record | The entire record (for record-oriented functions) or a newly-created handle (for "get handle" functions). |
Status | A return code indicating the success or failure of an operation. |
Remarks
This routine primarily passes all essential information into the Audit_Manager stored procedure. This way changes to the core functionality can be made without having to restart OpenInsight (which is necessary for changes directly in MFS procedures.)
A check is first made to see if corresponding audit table exists for the database table that triggered this MFS. Audit tables use a naming convention of AUDIT_Tablename. therefore, if the CUSTOMERS table is being audited then there should be an AUDIT_CUSTOMERS table available. Audit features are managed by the DBW_AUDIT_MANAGER form.