Naming Conventions: Use of Uppercase and Lowercase

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

Application objects names are mixed case. The first letter of the application object is uppercase. The first letter of each internal word is uppercase. For example, AddressFormatHeading, SalesAmount. Application objects include tables, maps, extended data types, base enums, table collections, macros, classes, forms, reports, queries, menus, and menu items.

Methods, system functions, and variables have mixed-case names with a lowercase first letter. Warning icon The first letter of each internal word is capitalized. For example, classDeclaration, createProject.

Primitive types have lowercase names. For example, str, date, int, real, void, boolean. Warning icon

true, false, and null are all lowercase.

Reserved words in the X++ language all begin with a lowercase letter. For example, if, while, for, select, ttsCommit.


Use the function Add-Ins > Source code title case update to "wash" your code to have correct case.

If you use version control within Microsoft Dynamics AX and the RunTitleCaseUpdate option has been set to Yes, errors in the capitalization of the first letter of names are automatically corrected when you check the object in. The RunTitleCaseUpdate option is typically set by an administrator. It is available on the General tab of the Version Control Configuration form, which can be opened from Tools > Development tools > Version control > Setup > System settings.

Announcements: New book: "Inside Microsoft Dynamics AX 2012 R3" now available. Get your copy at the MS Press Store.