AuditPolicyExecutionTask.createRuleViolation Method [AX 2012]

Creates the violation record in the SysPolicySourceDocumentRuleViolation and AuditPolicyRuleViolation table.

protected void createRuleViolation(Common _rootDocument, Num _instanceID)

Run On

Server

Parameters

_rootDocument
Type: Common Table
The record of the document that violated the audit rule.
_instanceID
Type: Num Extended Data Type
The violation sequence number.

The violation instance number is the same for aggregate and duplicate violation records.

Community Additions

ADD
Show: