Export (0) Print
Expand All

Event Method Sequences in Form Scenarios

User actions on a form are input through mouse pointers and keyboards. These actions cause events that are recognized by Microsoft Dynamics AX. The recognized events include the following:

The system reacts to each event by executing several event methods. The user is often unaware that these methods are being executed.

Use the Application Object Tree (AOT) to override the event methods and customize the response to form events.

  1. Expand the Forms node to see its Methods subnode.

  2. Expand the Methods node to see a subnode for each method that is currently overridden.

  3. Right-click the Methods node, and then select Override Method to see a list of methods that have not yet been overridden.

  4. Expand other nodes under Forms to see additional Methods nodes.

Information about the sequence of event method execution is useful when you are determining the correct method to override. For example, you could write code to log the inserts that the user causes when they enter data into a grid control. This code could be placed in various event methods. You could override the insert event method on an underlying table. By knowing the aosValidateInsert method is executed immediately after the insert method, you might instead choose to log the aosValidateInsert method. Overriding aosValidateInsert might provide log information that has the results of security checks.

Community Additions

ADD
Show:
© 2014 Microsoft