Share via


AxdAssetCondition.read Method [AX 2012]

Reads a posted transaction from the database and writes it to an XML string.

Syntax

public AifDocumentXml read(
    AifEntityKey _aifEntityKey, 
    AifSchemaInfo _xsdInfo, 
    AifEndpointActionPolicyInfo _actionPolicyInfo, 
    AifConstraintList _constraintList, 
    AifPropertyBag _aifPropertyBag)

Run On

Server

Parameters

  • _constraintList
    Type: AifConstraintList Class
    A list that contains the constraints that are identified in the document.

Return Value

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

Remarks

The read method is implemented on the AxdBase Class. If a document does not provide the corresponding action type (SendDocument), the read method must be overridden on the document class for the read method to throw an error if called, e.g., the AxdSalesPackingSlip.read method.

See Also

Reference

AxdAssetCondition Class