AxInternalBase.setTableFields Method [AX 2012]

Ensures that all default methods are called before inserting or updating a record.

Syntax

protected void setTableFields()

Run On

Called

Remarks

In order to make sure that all defaulting methods are called before inserting or updating a record, the setTableFields method on the AxInternalBase class must be overridden in the AxBC class.

The method should include a call to all defaulting methods, that is, setFieldName methods.

Code the defaulting business logic in the different setFieldName methods. That way, you do not have to put the setFieldName methods in a specific order in this method.

See Also

Reference

AxInternalBase Class