AxInternalBase.getMandatoryFieldExemptions Method [AX 2012]

Retrieves the list of fields that the AxBC class has specified as not mandatory in the AxInternalBase.initMandatoryFieldsExemptionList Method.

Syntax

public Set getMandatoryFieldExemptions()

Run On

Called

Return Value

Type: Set Class
The set of field names of the fields for which are specified as not mandatory.

Remarks

The getMandatoryFieldExcemptions method only returns the list from AxInternalBase.initMandatoryFieldsExemptionList Method, not a list of all fields that are not mandatory. The list is used to make exceptions to the list of mandatory fields derived from the data model, that is if a field is mandatory in the data model but part of the returned list it is not considered mandatory at the AxBC class level.

See Also

Reference

AxInternalBase Class