Audit Attribute property in Transaction attributes

Introduction

When using K2BAudit, the developer can choose which transactions to audit using the "Has Audit" property. When a transaction is audited, all its attributes are audited, except those with a Blob datatype.

The developer can choose to ignore certain attributes when auditing the transaction to avoid wasting storage space in unnecessary attributes.

Howto

When a transaction is audited, the "Audit Attribute" is added to its attributes.

K2BAuditAuditAttributeProperty
Audit Attribute property

This property is only available in attributes that can be audited. This means that the property is not available in these scenarios:

  1. The attribute's type is Blob.
  2. The attribute is an inferred attribute.

In those cases, the audit trigger behaves as if the "Audit Attribute" property was set to "False".

Also, the property cannot be modified when for attributes belonging to the transaction's primary key. In those cases, the value is always "True".

In all other cases, the developer can use this property to select which attributes are included in the audit trigger.