AuditPolicyExecutionTask.createRuleViolationForSourceDocument Method [AX 2012]
Creates the violation record in the SysPolicySourceDocumentRuleViolation and AuditPolicyRuleViolation table.
protected void createRuleViolationForSourceDocument(RefRecId _sourceDocumentRecId, Num _instanceID)
Run On
ServerParameters
- _sourceDocumentRecId
- Type: RefRecId Extended Data Type
The id of the SourceDocumentHeader or SourceDocumentLine record that violated the audit rule.
- _instanceID
- Type: Num Extended Data Type
The violation sequence number.
Community Additions
ADD
Show: