AxdCashDisc.create Method [AX 2012]

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

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

Run On

Server

Parameters

_xml
Type: XML Extended Data Type
An XML string that contains the data (transaction) to persist to the database.
_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 for the document.

Return Value

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

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

Community Additions

ADD
Show: