formletterParmData.updateQueryDocumentRanges Method [AX 2012]

Adds ranges on order ID to the query that is used when data is created.

Syntax

protected int updateQueryDocumentRanges(container _datasourceRecordsPackedMap, [boolean _abortOnError])

Run On

Server

Parameters

  • _datasourceRecordsPackedMap
    Type: container
    A container with a packed version of a map with order IDs.
  • _abortOnError
    Type: boolean
    A Boolean value that indicates whether to stop the update of the query if an error occurs.

Return Value

Type: int
The number of order ID ranges that are added to the query.

Exceptions

Exception Condition
Error

An error occurred during the update.

See Also

Reference

formletterParmData Class