SalesFormletterParmData.updateQueryDocumentRanges Method [AX 2012]
Adds the ranges on an order ID to a Query object that is used when data is created.
Syntax
protected int updateQueryDocumentRanges(container _datasourceRecordsPackedMap, [boolean _abortOnError])
Run On
Server
Parameters
- _datasourceRecordsPackedMap
Type: container
A container that contains a packed version of a map of order IDs.
- _abortOnError
Type: boolean
A Boolean value that indicates whether to stop the update of the query for an error.
Return Value
Type: int
The number of order ID ranges that are added to the query.
Exceptions
Exception | Condition |
---|---|
Error | An error occurred during update. |