Share via


AxdHRMAbsenceReq.readList Method [AX 2012]

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

Syntax

public AifDocumentXml readList(
    AifEntityKeyList _entityKeyList, 
    AifSchemaInfo _xsdInfo, 
    AifEndpointActionPolicyInfo _actionPolicyInfo, 
    AifConstraintListCollection _constraintListCollection, 
    AifPropertyBag _aifPropertyBag)

Run On

Server

Parameters

  • _entityKeyList
    Type: AifEntityKeyList Class
    A list of entity keys that identify the transactions to be read.
  • _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, which specifies 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 contain the constraints that are identified for each document.
    The _constraintListCollection parameter must be an instantiated, empty AifConstraintListCollection. It will be populated when the readList method is run.
  • _aifPropertyBag
    Type: AifPropertyBag Extended Data Type
    An instance of the AifPropertyBag that contains an XMLDocPurpose. The XMLDocPurpose 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 transaction.

Remarks

The readList method is implemented on the AxdBase. If a document does not provide the corresponding action type (SendDocumentList), the readList method. It must be overridden on the document class for this method to cause an exception if called. For example, readList.

See Also

Reference

AxdHRMAbsenceReq Class