Share via


AxdAssetMajorType.findEntityKeyList Method [AX 2012]

Finds an 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 class that contains either a query or an array of criteria to identify the documents from.
  • _actionPolicyInfo
    Type: AifEndpointActionPolicyInfo Class
    An instance of the AifEndpointActionPolicyInfo class 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 each document that is identified by the query or the array of criteria.

Remarks

The findEntityKeyList method is implemented on the AxdBase class. If a document does not provide the corresponding QueryEntityKeys action type, the findEntityKeyList method must be overridden on the document class for the findEntityKeyList method to throw an error if called. For example, the AxdSalesPackingSlip.findEntityKeyList method.

See Also

Reference

AxdAssetMajorType Class