AxdLineDiscount.findEntityKeyList Method [AX 2012]
Finds entity keys that identify posted transactions in the database.
Syntax
public AifEntityKeyList findEntityKeyList(AifQueryCriteria _queryCriteria, AifEndpointActionPolicyInfo _actionPolicyInfo)
Run On
Server
Parameters
- _queryCriteria
Type: AifQueryCriteria Class
An instance of the AifQueryCriteria that contains either a query or an array of criteria to identify the documents from.
- _actionPolicyInfo
Type: AifEndpointActionPolicyInfo Class
An instance of the AifEndpointActionPolicyInfo to specify the value mapping to perform. This class can be empty if no value mapping is to occur.
Return Value
Type: AifEntityKeyList Class
A list that contains the entity keys that define the documents that are identified by the query or the array of criteria.
Remarks
The findEntityKeyList method is implemented on the AxdBase . If a document does not provide the corresponding action type (QueryEntityKeys), the findEntityKeyList method must be overridden on the document class for the findEntityKeyList method to throw an error if called. For example, AxdSalesPackingSlip.findEntityKeyList method.