Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Finds the event handler that is defined on the interaction class of the form data source that triggers this call, and fires the appropriate event.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
public container callEventHandler(
str formName,
str formDataSourceName,
str eventName,
container interactionState,
container cursors,
[container activeTabNames])
Microsoft Dynamics AX 2012 R2 (SYS)
public container callEventHandler(
str formName,
str formDataSourceName,
str eventName,
container interactionState,
container cursors,
[container activeTabNames])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public container callEventHandler(
str formName,
str formDataSourceName,
str eventName,
container interactionState,
container cursors)
Microsoft Dynamics AX 2012 (FPK)
public container callEventHandler(
str formName,
str formDataSourceName,
str eventName,
container interactionState,
container cursors)
Microsoft Dynamics AX 2012 (SYS)
public container callEventHandler(
str formName,
str formDataSourceName,
str eventName,
container interactionState,
container cursors)
Run On
Server
Parameters
- formName
Type: str
The name of the form that the interaction service is running under.
- formDataSourceName
Type: str
The name of the data source that the event is on.
- eventName
Type: str
The name of the event to run.
- interactionState
Type: container
The container that holds the current interaction state.
- cursors
Type: container
The container that holds the current cursors.
- activeTabNames
Type: container
Return Value
Type: container
A container that holds the results of the call to the event.