AxdCatImp.readList Method [AX 2012]

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

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

Run On

Server

Parameters

_aifEntityKeyList
Type: AifEntityKeyList Class
_xsdInfo
Type: AifSchemaInfo Class
An instance of the AifSchemaInfo class that specifies the XSD schema to use for filtering.
_actionPolicyInfo
Type: AifEndpointActionPolicyInfo Class
An instance of the AifEndpointActionPolicyInfo class that specifies the value mapping to perform; otherwise, an empty class.
_constraintListCollection
Type: AifConstraintListCollection Class
A collection of lists that contain the constraints that are identified for each document.
_aifPropertyBag
Type: AifPropertyBag Extended Data Type
An instance of the AifPropertyBag class that contains an XMLDocPurpose object, which 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.

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

Community Additions

ADD
Show: