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
Gg745137.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg745137.pubmethod(en-us,AX.60).gif caption Retrieves the description of the class by calling the static description method.
Gg745137.pubmethod(en-us,AX.60).gif description
Gg745137.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg745137.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg745137.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg745137.protmethod(en-us,AX.60).gif isDimensionField
Gg745137.pubmethod(en-us,AX.60).gif isFieldRelated Indicates whether the event type is related to a field or to the whole record.
Gg745137.pubmethod(en-us,AX.60).gif isFilterInteractive
Gg745137.pubmethod(en-us,AX.60).gif isMatchingRule Determines whether the event data matches the rule that was set up by the event type class.
Gg745137.pubmethod(en-us,AX.60).gif isRequiringX Indicates whether a specialization of an event type needs a value.
Gg745137.protmethod(en-us,AX.60).gif isSurrogateForeignKey
Gg745137.pubmethod(en-us,AX.60).gif isValidEventType Checks whether a specified Microsoft Dynamics AX base type is valid to use with a specialized event type class.
Gg745137.pubmethod(en-us,AX.60).gif isValidForPseudoCursor
Gg745137.pubmethod(en-us,AX.60).gif isValidWithRLS
Gg745137.pubmethod(en-us,AX.60).gif mustLogRecordDeleted
Gg745137.pubmethod(en-us,AX.60).gif mustLogRecordInserted
Gg745137.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
Gg745137.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg745137.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg745137.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg745137.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg745137.pubmethod(en-us,AX.60).gif pack Serializes the current instance of the EventType class.
Gg745137.pubmethod(en-us,AX.60).gif parmCurrentValue Gets or sets the CurrentValue parameter.
Gg745137.pubmethod(en-us,AX.60).gif parmOriginalValue Gets or sets the OriginalValue parameter.
Gg745137.pubmethod(en-us,AX.60).gif parmTmpEventAlertField Gets or sets the TmpEventAlertField parameter.
Gg745137.pubmethod(en-us,AX.60).gif parmTypeTrigger
Gg745137.pubmethod(en-us,AX.60).gif parmXValue Gets or sets the XValue parameter.
Gg745137.protmethod(en-us,AX.60).gif setAnyTypeDefaultValues
Gg745137.pubmethod(en-us,AX.60).gif setRule Sets the internal EventRule variable.
Gg745137.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg745137.pubmethod(en-us,AX.60).gif specialValueExtTypeId
Gg745137.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg745137.pubmethod(en-us,AX.60).gif unpack Deserializes the packedClass parameter to an instance of the EventType class.
Gg745137.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg745137.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg745137.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg745137.pubmethod(en-us,AX.60).gif xValueEnumId
Gg745137.pubmethod(en-us,AX.60).gif Gg745137.static(en-us,AX.60).gif ::buildValidEventTypeList
Gg745137.pubmethod(en-us,AX.60).gif Gg745137.static(en-us,AX.60).gif ::construct Instantiates an event type class from an event type class ID.
Gg745137.protmethod(en-us,AX.60).gif Gg745137.static(en-us,AX.60).gif ::eventTypeClassIds
Gg745137.protmethod(en-us,AX.60).gif Gg745137.static(en-us,AX.60).gif ::eventTypeClassIdsHook
Gg745137.pubmethod(en-us,AX.60).gif Gg745137.static(en-us,AX.60).gif ::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

See Also

EventProcessorCUD Class

EventProcessorDueDate Class

EventCreateRule Class

Manage alert rules