Administer > Database administration > Data persistence > Database record auditing > Invoke auditing from Format Control

Invoke auditing from Format Control

Applies to User Roles:

System Administrator

The topics below comprise an example of how to use Database record auditing. The steps in these topics must be followed in order. If you skip a step, Database record auditing may not work.

  1. Open the audit specifications table.
  2. Add an audit specifications record.
  3. Define an audit specifications entry.
  4. Invoke auditing.
  5. Set up event triggers.
  6. Add lookup functionality to Format Control.
  7. Test audit lookup functionality.

To invoke auditing from Format Control, perform the following steps:

  1. Create an Audit Specifications record for a particular file.
  2. Open the Format Control record associated with the form and the file for which you created the audit specifications record in step 1.
  3. Select the Save Copy option.
  4. Click Subroutines to display the Subroutines form.
    The Subroutines panel opens.
  5. Enter the desired format control. For this example, enter:

    FieldEnter
    Addtrue
    Updtrue
    Beforetrue
    Applicationaudit.compare
    Error MessageAudit Processing could not complete.
    Names

    file

    second.file

    Values

    $file0

    $file

Related concepts

Database record auditing
Audit log file
Audit specifications file
Audit processing
Applying customizations to the production environment
Environment configuration

Related tasks

Open the audit specifications table
Add an audit specifications record
Define an audit specifications entry
Invoke auditing
Set up event triggers
Add lookup functionality to Format Control
Test audit lookup functionality
Define an audit specifications entry

Related references

The Subroutines form