EventCreateRule.eventBuildValidAlertFields Method [AX 2012]
Returns an instance of the EventBuildValidAlertFields class that corresponds to the specified FormDataSource. The instance of this class for a specific FormDataSource is only instantiated one time and is afterward kept in a Map.
Syntax
public EventBuildValidAlertFields eventBuildValidAlertFields([FormDataSource _fds])
Run On
Called
Parameters
- _fds
Type: FormDataSource Class
The FormDataSource for which a corresponding EventBuildValidAlertFields instance is requested.
Return Value
Type: EventBuildValidAlertFields Class
An instance of the EventBuildValidAlertFields class.
Remarks
For performance reasons, the fds2EventBuildValidAlertFields map is used.
Examples
void MyMethod(FormDataSource _myFormDataSourceInstance)
{
EventBuildValidAlertFields eventBuildValidAlertFields;
EventCreateRule EventCreateRule;
eventBuildValidAlertFields = EventCreateRule.eventBuildValidAlertFields(_myFormDataSourceInstance);
}