EventBuildValidAlertFields.insertField Method [AX 2012]
Inserts a record in the TmpEventAlertField table.
Syntax
protected void insertField(Object _formControl, FormControl _parentControl)
Run On
Client
Parameters
- _formControl
Type: Object Class
A FormControl to represent as a record in the TmpEventAlertField table.
- _parentControl
Type: FormControl Class
The hierarchically nearest parent control which has a descriptive context label. See also buildRecursive.
Remarks
The following conditions can prevent a record from being inserted:
If the FormControl is not hosted on one of the valid FormDataSources.
If the method getFieldLabel returns blank.