Share via


EventBuildValidAlertFields.buildRecursive Method [AX 2012]

Recursively traverses all FormControls in the FormRun. For each control that is hosting an actual database field, the method will insert a record in the TmpEventAlertField table if the control is valid and refers to the specified FormDataSource.

Syntax

protected void buildRecursive([Integer _id, Object _curParentControl])

Run On

Client

Parameters

  • _id
    Type: Integer Extended Data Type
    The ID of the parent container control to be checked in this recursive iteration. The first call to this method will have _id = 0; for example, this is the starting point and, in this case, the FormDesign will be the parent container control; optional.
  • _curParentControl
    Type: Object Class
    A handle to the nearest parent control holding a valid group label. This parameter is used (in the UI) to separate controls with similar labels; optional.
    For example, two fields that have similar labels, but from different tables are presented in the same form. In this case, they will both be postfixed with the nearest group label to position them in a more qualifying context.

See Also

EventBuildValidAlertFields Class

TmpEventAlertField Table