EventType Class [AX 2012]
The EventType class hierarchy contains methods that control the event types that Microsoft Dynamics AX offers.
Syntax
class EventType implements SysPackable
Run On
Called
Methods
Method | Description | |
---|---|---|
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
caption | Retrieves the description of the class by calling the static description method. | |
description | ||
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
isDimensionField | ||
isFieldRelated | Indicates whether the event type is related to a field or to the whole record. | |
isFilterInteractive | ||
isMatchingRule | Determines whether the event data matches the rule that was set up by the event type class. | |
isRequiringX | Indicates whether a specialization of an event type needs a value. | |
isSurrogateForeignKey | ||
isValidEventType | Checks whether a specified Microsoft Dynamics AX base type is valid to use with a specialized event type class. | |
isValidForPseudoCursor | ||
isValidWithRLS | ||
mustLogRecordDeleted | ||
mustLogRecordInserted | ||
new | Initializes a new instance of the Object class. (Inherited from Object.) | |
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.) | |
pack | Serializes the current instance of the EventType class. | |
parmCurrentValue | Gets or sets the CurrentValue parameter. | |
parmOriginalValue | Gets or sets the OriginalValue parameter. | |
parmTmpEventAlertField | Gets or sets the TmpEventAlertField parameter. | |
parmTypeTrigger | ||
parmXValue | Gets or sets the XValue parameter. | |
setAnyTypeDefaultValues | ||
setRule | Sets the internal EventRule variable. | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
specialValueExtTypeId | ||
toString | Returns a string that represents the current object. (Inherited from Object.) | |
unpack | Deserializes the packedClass parameter to an instance of the EventType class. | |
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.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
xValueEnumId | ||
::buildValidEventTypeList | ||
::construct | Instantiates an event type class from an event type class ID. | |
::eventTypeClassIds | ||
::eventTypeClassIdsHook | ||
::surrogateValue |
Top
Remarks
The event type class is used when you are creating a rule, when you are processing Create, Update, or Delete (CUD) events or due dates, and when you are displaying an alert in the inbox.
This base class is abstract. Note that changes in the base class can influence all child classes.
To add a new type of event, inherit from the EventTypeDue class or select a more specialized class.
Examples
This example demonstrates the use of the EventType class. However, this example will not compile in a job as it must be run in the context of a class, form, or other object.
typeDue = EventType::construct(_eventRule.TypeId, EventTypeTrigger::DueType);
typeDue.setRule(_eventRule);
typeDue.unpack(_eventRule.typeValue());
Inheritance Hierarchy
Object Class
EventType Class
EventTypeCUD Class
EventTypeDue Class