Share via


AxdAssetMajorType.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

  • _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 that is used to specify the value mapping to perform; this class can be empty if no value mapping is to occur.
  • _constraintList
    Type: AifConstraintList Class
    A list that contains the constraints that are identified in the document.
  • _aifPropertyBag
    Type: AifPropertyBag Extended Data Type
    An instance of the AifPropertyBag class that contains an XMLDocPurpose enumeration value that 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.

See Also

Reference

AxdAssetMajorType Class