AuditPolicyExecution::addDateAndLegalEntityRange Method [AX 2012]
Adds the date and legal entity range to the specified query.
client server public static void addDateAndLegalEntityRange(
Query _query,
Array _legalEntityList,
utcdatetime _fromdate,
utcdatetime _todate,
TableId _source,
SysPolicySourceDocumentRuleType _sdRuleType)
Run On
CalledParameters
- _query
- Type: Query Class
The query to which the date and legal entity ranges have to be added.
- _legalEntityList
- Type: Array Class
The list of legal entities to add to the query range.
- _fromdate
- Type: utcdatetime
The from date of the document selection.
- _todate
- Type: utcdatetime
The to date of the document selection.
- _source
- Type: TableId Extended Data Type
The name of the table that contains the source document.
- _sdRuleType
- Type: SysPolicySourceDocumentRuleType Table
A SysPolicySourceDocumentRuleType table buffer that contains the policy rule information.
Show: