Used by Form

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Use this form to view a list of references from other application objects to the selected object.

To open this form, right-click an object in the Application Object Tree and select Add-Ins > Cross-reference > Used by. If the Used by menu item is not visible, select Add-Ins > Cross-reference > Update to update the list of cross references.

If the Type name field is empty, the reference is to the object itself. Otherwise, the reference is to an object (variable) of the selected type, and the Name field then contains the variable name.

The following table describes the panes on this form.

Pane

Description

Application hierarchy tree

Note

The tree is only visible for class instance methods.

View all calls and overrides of the method, regardless of whether the calls, or the actual method implementation, are on this class, a super class, or a sub class.

The tree shows the class hierarchy that the method is a part of.

Filled or empty icons indicate whether the method is implemented in the particular class in the hierarchy.

An icon with an arrow indicates whether the method is called at the particular class in the hierarchy.

To expand or collapse the selected part of the tree and see other inheriting classes, click the + or - icons.

When you select a class, all references to the method on that class are shown in the references view.

References

View the definition of the object together with references to the selected object

The following table describes the columns in the data grid.

Column

Description

Reference

The type of reference that uses the current application object.

Path

The location of the referencing object in the Application Object Tree (AOT).

Line

The line number of the referencing application object.

Column

The column number of the referencing application object.

Application object name

Displays the name of the particular application object. It will be the variable name if it is a reference to a variable, or the type name if it is a reference to a type. The application object name column is only visible for object types: Extended Data Types, Enums, Tables, Maps and Classes.

The following table describes the buttons on this form.

Button

Description

Names

View a list of the application objects in the cross-reference system with name, object type, and number of references.

Edit

Open the code editor at the location of the reference.

Add-Ins

Select one of the add-ins from the menu for the selected application object.

See also

Names Form

Path Form

References Form