EventRuleFormHandler Class [AX 2012]
The EventRuleFormHandler class is a supporting class for use strictly with the forms for creating and maintaining rules for the Alerts system. Used for manipulating form controls.
| Method | Description | |
|---|---|---|
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| checkEventType | Validates input in a FormStringControl holding an EventTypeDescription. |
| clearAll | Resets all internal parameters. |
| clearX | |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| eventBuildValidEventTypeList | Returns an instance of the EventBuildValidEventTypeList class that corresponds to the base type of the specified FieldId field. |
| eventType | Returns the text representation of the EventType. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| getX | |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| initEventTypeMap | |
| isSubjectAutogenerated | |
| new | Initializes a new instance of the EventRuleFormHandler class. |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| packEventType | Packs an instance of EventType. Used for storing the EventType in the EventRuleData table. |
| parmFormRun | Gets or sets the FormRun parameter. |
| parmIsPseudoCursor | Gets or sets the IsPseudoCursor parameter. |
| parmPrimTableId | Gets or sets the PrimTableId parameter. |
| parmSubjectAutoUpdate | Gets or sets the SubjectAutoUpdate parameter. |
| parmTmpEventType | Gets or sets the TmpEventType parameter. |
| parmXComboBoxControl | Gets or sets the XComboBoxControl parameter. |
| parmXDateControl | Gets or sets the XDateControl parameter. |
| parmXDateTimeControl | Gets or sets the XDateTimeControl parameter. |
| parmXDimensionControl | Gets or sets the XDimensionControl parameter. |
| parmXInt64Control | Gets or sets the XInt64Control parameter. |
| parmXIntControl | Gets or sets the XIntControl parameter. |
| parmXRealControl | Gets or sets the XRealControl parameter. |
| parmXReferenceGroupControl | Gets or sets the XReferenceGroupControl parameter. |
| parmXStringControl | Gets or sets the XStringControl parameter. |
| parmXTimeControl | Gets or sets the XTimeControl parameter. |
| setDataTypeX | |
| setDimensionAttributeValue | Sets the record ID and natural key string of a DimensionAttributeValue record for the specified DimensionAttribute record. |
| setEventType | |
| setLookupButtonX | |
| setSubject | |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| setVisibleX | |
| setX | |
| setXType | |
| surrogateField | |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| unpackEventType | |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| wait | Pauses a process. (Inherited from Object.) |
| xDimensionControl_lookup | Provides lookup interaction for individual dimension attribute lookup controls. |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| xReferenceGroupControl_lookup | Provides lookup interaction for table reference lookup controls. |
| xReferenceGroupControl_modified | Enforces that table reference controls cannot be modified. |
| ::construct | |
| ::newFormRun |
All FormControl instances must be provided when instantiating the class using the ::newFormRun method. When used by a form that can display multiple records, the methods clearAll and parmPrimTableId can be called from the FormDataSource.active method.
The complete manipulation of the FormControl instances is executed by providing an EventType. This can be done by calling the setEventType or unpackEventType method.
Community Additions
ADD
Show: