AuditPolicyExecution.initDocumentIDList Method [AX 2012]
Creates an array that contains root entity records.
Syntax
public Array initDocumentIDList(
RefTableId _sourceTableId,
SysPolicySourceDocumentRuleType _sdRuleType,
Array _arrOrganization,
utcdatetime _fromdate,
utcdatetime _todate)
Run On
Called
Parameters
- _sourceTableId
Type: RefTableId Extended Data Type
The table ID of the table that contains the source document information.
- _sdRuleType
Type: SysPolicySourceDocumentRuleType Table
A buffer of the SysPolicySourceDocumentRuleType table that contains the policy rule information.
- _arrOrganization
Type: Array Class
A collection that contains the list of legal entities.
- _fromdate
Type: utcdatetime
The from date of the document selection.
- _todate
Type: utcdatetime
The to date of the document selection.
Return Value
Type: Array Class
An array that contains the root entity records.