AuditPolicyExecution::addDateAndLegalEntityRange Method [AX 2012]

Adds the date and legal entity range to the specified query.

Syntax

client server public static void addDateAndLegalEntityRange(
    Query _query, 
    Array _legalEntityList, 
    utcdatetime _fromdate, 
    utcdatetime _todate, 
    TableId _source, 
    SysPolicySourceDocumentRuleType _sdRuleType)

Run On

Called

Parameters

  • _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.

See Also

Reference

AuditPolicyExecution Class