AxdASN.createList Method [AX 2012]

Creates the documents in the XML string as transactions in the database, and then returns the entity keys of the created transactions.

public AifEntityKeyList createList(
    AifDocumentXml _xml, 
    AifEndpointActionPolicyInfo _actionPolicyInfo, 
    AifConstraintListCollection _constraintListCollection)

Run On

Server

Parameters

_xml
Type: AifDocumentXml 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, which is used it to specify the value mapping to perform.
_constraintListCollection
Type: AifConstraintListCollection Class
A collection of lists that contain the constraints that are identified for each document, which must be an empty, instantiated instance of the AifConstraintListCollection class.

Return Value

Type: AifEntityKeyList Class
A list that contains the entity keys that define each created transaction.

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

Community Additions

ADD
Show: