Share via


AxdTransferOrder.create Method [AX 2012]

Creates the document in the XML string as a transaction in the database tables, and then returns the entity key of the created transaction.

Syntax

public AifEntityKey create(
    AifDocumentXml _xml, 
    AifEndpointActionPolicyInfo _actionPolicyInfo, 
    AifConstraintList _constraintList)

Run On

Server

Parameters

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

Return Value

Type: AifEntityKey Class
The entity key that defines the created transaction.

Remarks

The create method is implemented on the AxdBase . If a document does not provide the corresponding action type (ReceiveDocument), the create method on the class for that document type must be overridden. If the create method is called, it throws an error.

For example, the implementation of the create method is as follows. (Code Example Removed)

See Also

Reference

AxdTransferOrder Class