Share via


AxdProdPickingList.initMandatoryFieldsMap Method [AX 2012]

Creates a list of mandatory fields that are specific to the document. The document must override this method to add mandatory fields that are not mandatory in the data model.

Syntax

protected void initMandatoryFieldsMap()

Run On

Server

Remarks

The initMandatoryFieldsMap method is called by the framework to set up the mandatory fields that are defined on this document. The document class should override this method to specify mandatory fields on the document class or mandatory fields that are not mandatory on the Ax table classes by the document. For a description of how the mandatory fields for an Ax table class are determined, see the AxInternalBase Class. All fields on the document class, the Ax table classes, and table fields can be specified as mandatory. To specify a field as mandatory, use the AxdBase.setParmMethodAsMandatory or AxdBase.setTableFieldAsMandatory method.

See Also

Reference

AxdProdPickingList Class