AxdBase.setFieldAsMandatory Method [AX 2012]

Updates the internal list of mandatory fields.

Syntax

private void setFieldAsMandatory(str tableName, str fieldName)

Run On

Server

Parameters

  • tableName
    Type: str
    The name of table.
  • fieldName
    Type: str
    The name of field.

Remarks

The list of additional mandatory fields is kept as a set per table. This method updates the structure with the field specified by the parameters.

This method is only intended to be called by the Axd framework.

See Also

Reference

AxdBase Class