Share via


EventBuildValidAlertFields.setAggFieldsMap Method [AX 2012]

Builds a Map Class where each of the FormDataSources of the current dataset are mapped to a Set class that contains all aggregated fields in the corresponding database pointer.

Syntax

protected void setAggFieldsMap()

Run On

Client

Remarks

An "aggregated field" is here defined as a Sum, Avg, Min, Max, or Count field.

The Map is established during initialization of the class (method called from the init method) and used later during the processing to exclude fields of such type.

Aggregated fields are not supported by the Create Rule functionality and must therefore be excluded.

See Also

EventBuildValidAlertFields Class

Map Class

FormDataSource Class

Set Class

EventBuildValidAlertFields.init Method