Share via


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

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.

See Also

Reference

AxdLineDiscount Class