EventBuildValidAlertFields.isControlValidDatabaseBound Method [AX 2012]
Checks whether the FormControl is bound to an actual and valid database field.
Syntax
protected boolean isControlValidDatabaseBound(Object _formControl)
Run On
Client
Parameters
- _formControl
Type: Object Class
The FormControl to be checked.
Return Value
Type: boolean
true if the FormControl is bound to an actual and valid database field; otherwise, false.
Remarks
"Actual and valid" database fields are defined by following criteria:
The field must be hosted on an SQL-based table; that is, the table must not be temporary.
The field must be stored in the database; that is, the SaveContents property for the dictionary field must be set to Yes.
The field must not be aggregated in the FormControl; that is, functions, such as Avg, Sum, and Min, must not be applied to the pointer.