Export (0) Print
Expand All

AOT Shortcut Menu Commands

The commands available in the shortcut menu depend on the type of node you open it on. These commands are shown in the following table.

Command

Description

Add-ins

Opens the Add-ins submenu. This holds various MorphX tools, for example, the cross-reference system and a compare feature.

You can add you own commands to the Add-ins submenu.

Check In

Enables you to check the application object into the version control system.

Check Out

Checks out the current object from the version control system.

Compare

Enables you to compare the current object with another object or with another version of the same object. For more information, see Compare Tool.

Compile

Enables you to compile a method or a subtree.

When you exit the code editor without compiling (or saving), the system automatically compiles (or saves) the method.

Copy

Creates a copy of the current object.

Add to Version Control

Enables you to add a new object to the version control system.

TipTip
When you create a new object, it is created in your local copy of Microsoft Dynamics AX. You need to create the object, and then check it in to add it to the version control system.

Cut

Deletes the current object while keeping a copy in the buffer.

Delete

Delete the current object.

Caution noteCaution
Use Delete with caution. Objects cannot be recovered after they have been deleted. To delete an object from a project, use Remove instead.

Duplicate

Creates a copy of the current object.

Edit

Enables you to edit the X++ code or the graphical design of the current object.

Export

Extracts information from the system to a text file.

Find

Enables you to locate an object in the Application Object Tree (AOT).

NoteNote
The shortcut key is CTRL+F.

Generate Design

Generates a report design based on the query structure.

Generate Specs From Query

Generates a design structure similar to the data source structure in the query.

Get Latest

Copies the latest version of an object onto your computer.

TipTip
An object is automatically synchronized when you check it out.

History

Opens the History form. Enables you to see the check-in comments for each version of the object and the identity of the developer who made the changes.

TipTip
Compare two versions of an object by using the History form.

Layers

Enables you to view the object in all layers.

For more information about the Layers command, see Using the Layers command.

New <object name>

Creates a new object in the current AOT node.

New Programmable Section

Generates a report section that must be activated by using X++ code.

Open

Opens the current object.

Open New Window

Creates a new window with the current object and its subnodes. The current object becomes the root of the new tree structure.

Override Method

Enables you to choose a method to override.

When you create a new application object of type class, table, or form, a number of methods are created by the system. These methods call super(), executing the system's implementation of the method. You can add you own code to the methods, overriding the system's standard behavior. For classes, the superclass methods that can be overridden are also shown.

Page Formatting

Enables you to set up your report page size, paper source, orientation, and so on.

Paste

Inserts the object you have previously cut or copied.

Print

Prints the current object.

Printer Setup

Enables you to set up your report printer.

Properties

Opens the Properties window.

Refresh

Updates the list of application objects.

To update the contents of the application objects, use the Restore command.

Remove

Removes the current object from its present context.

For example, use this helpful command when you want to remove an application object from a project, but not from the AOT.

Rename

Enables you to rename the current object.

TipTip
You can also rename an object through its property sheet or by double-clicking the object.

Restore

Re-reads the current object from disk and discards the changes made since the last save.

NoteNote
If you have set the Auto-Save option, the object restored from disk may be the one saved by the system.

Save

Commits the current object to your database.

Synchronize

Synchronizes the database with the SQL database.

Whenever global changes to the data dictionary occur, you also must synchronize the SQL database. Global changes are not specific to a particular table, such as the extended data types or security keys.

Synchronization may take a while on large amounts of data. It is not done automatically when a single change is made and saved (except for changes to the properties of a table or index). When an individual index is altered, only that index is rebuilt.

When Index Organized Tables (IOTs) are used on Oracle for Cluster indexes, changes to the Cluster index in Microsoft Dynamics AX forces a rebuild of the effected table. This is an Oracle requirement.

When no unique index is defined on a table and the hasRecIdIdx property has not been set, the index with the shortest average key length is used.

NoteNote
Whenever the system requires synchronization, the color of the Data Dictionary icon changes from yellow to red.
TipTip
Perform synchronization (a resource-intensive process) when no other users are using Microsoft Dynamics AX

Undo Check Out

Reverts to the version of the application object that you checked out (this enables you to check the object back in without any of the changes you made after checking it out).

Community Additions

ADD
Show:
© 2014 Microsoft