AxdLineDiscount.create Method [AX 2012]
Creates an error because this document class does not support incoming data import.
Syntax
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 be persisted to the MSDAX database.
- _actionPolicyInfo
Type: AifEndpointActionPolicyInfo Class
The recId of the map policy that specifies what value mapping to perform.
- _constraintList
Type: AifConstraintList Class
The default value of the enum describing the type of document.
Return Value
Type: AifEntityKey Class
The entity key that defines the created transaction.
Remarks
Documents are always created and never updated.
The method is callable on the AxdBase class. If a document should not be incoming, the create method must be overridden to throw an error if called.