将字段排除在审计范围之外

对于每种实体类型(甚至对于每个实体),可使用以下扩展指定要排除在 AuditTrail 捕获范围之外的字段:
sub atCust_ExcludeField {
    my ($session, $entity, $fieldName) = @_;
    # Return 1 for the Description field (excluding it from the audit
    # trail history). Return 0 for any other field.
    return ($fieldName eq "Description");
} 
自变量: 返回值:0 表示将该字段保留在审计跟踪范围内,非零表示排除该字段。

针对记录的更改只会影响已排除的字段,程序包仍会记录用户名、更改的时间以及该记录的状态信息。


反馈