AxdPricelist.create Method [AX 2012]

Throws an error because this document class does not support inbound data import.

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

Run On

Server

Parameters

_xml
Type: AifDocumentXml Extended Data Type
An XML string that contains the data transaction to persist to the Microsoft Dynamics AX database.
_actionPolicyInfo
Type: AifEndpointActionPolicyInfo Class
The record ID of the map policy that specifies which value mapping to perform.
_constraintList
Type: AifConstraintList Class
The default value of the enumeration that describes the type of document.

Return Value

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

Documents are always created and never updated.

The method is callable on the AxdBase class. If a document should not be inbound, the create method must be overridden to throw an error if called.

Community Additions

ADD
Show: