Share via


AxdHRMAbsenceReq.findList Method [AX 2012]

Finds posted transactions from the database and then writes them to an XML string.

Syntax

public AifDocumentXml findList(
    AifQueryCriteria _queryCriteria, 
    AifSchemaInfo _xsdInfo, 
    AifEndpointActionPolicyInfo _actionPolicyInfo, 
    AifConstraintListCollection _constraintListCollection, 
    AifPropertyBag _aifPropertyBag)

Run On

Server

Parameters

  • _queryCriteria
    Type: AifQueryCriteria Class
    An instance of the AifQueryCriteria class that contains either a query or an array of criteria by which to identify the documents.
  • _xsdInfo
    Type: AifSchemaInfo Class
    An instance of the AifSchemaInfo class where you can specify the XSD schema to use for filtering.
  • _actionPolicyInfo
    Type: AifEndpointActionPolicyInfo Class
    An instance of the AifEndpointActionPolicyInfo class. Use this class to specify the value mapping to perform. This class can be empty if no value mapping is to occur.
  • _constraintListCollection
    Type: AifConstraintListCollection Class
    A collection of lists that contains the constraints that are identified for each document.
    The _constraintListCollection parameter must be an instantiated, empty AifConstraintListCollection class. It will be populated when the findList method is run.
  • _aifPropertyBag
    Type: AifPropertyBag Extended Data Type
    An instance of the AifPropertyBag class that contains an XMLDocPurpose. It specifies whether the document is an original, a duplicate, a pro forma or a snapshot.

Return Value

Type: AifDocumentXml Extended Data Type
An XML string that contains the data of the transactions.

Remarks

The findList method is implemented on the AxdBase class. If a document does not provide the corresponding action type (QueryDocuments), the findList method must be overridden on the document class for the findList method, if called, to cause an exception.

See Also

Reference

AxdHRMAbsenceReq Class