Disabling audit trails

You cannot disable aHCL Compass package for a record type after it has been applied to the type. However, you can use the following extension to disable audit trailing:

sub atCust_SuppressAuditTrailRecord {
    my($session, $entity) = @_;
    # return 0;	# return 0 to enable AuditTrail (default)
    return 1;	# return 1 to disable AuditTrail } 
Arguments:
  • $session: The current session object.
  • $entity: The entity object for which an audit trail is to be written.
Return value: 0 to cause an AuditTrail record to be written; nonzero to suppress it.