Share via


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

  • _actionPolicyInfo
    Type: AifEndpointActionPolicyInfo Class
    An instance of the AifEndpointActionPolicyInfo class, which is used it to specify the value mapping to perform.
  • _constraintList
    Type: AifConstraintList Class
    A list that contains the constraints that are identified for the document, which must be an empty instantiated instance of the AifConstraintList class.

Return Value

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

Remarks

The AifConstraintList object is populated when the create method is run.

The AifEndpointActionPolicyInfo object in the _actionPolicyInfo parameter can be empty if no value mapping is to occur.

See Also

Reference

AxdASN Class