AuditPolicyExecution.initDocumentSelectionFromDate Method [AX 2012]
Sets the document selection from date for the violation record.
Syntax
protected utcdatetime initDocumentSelectionFromDate(AuditPolicyAdditionalOption _auditPolicyAdditionalOption)
Run On
Called
Parameters
- _auditPolicyAdditionalOption
Type: AuditPolicyAdditionalOption Table
An object of the AuditPolicyAdditionalOption table that contains the from and to dates.
Return Value
Type: utcdatetime
The from date of document selection.
Exceptions
Exception | Condition |
---|---|
Error | The from date is later than the current system date. |