Share via


Extended Data Types in the Database

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

Extended data types (EDTs) are user-defined types. EDTs are based on the primitive data types boolean, integer, real, string, and date, and the composite type container. You can also base an EDT on another EDT. EDTs can be used to define fields in tables as well as to define variables in X++ code.

This feature is not implemented as an X++ language construct. Extended data types are defined in the Application Object Tree (AOT) under the Data Dictionary > Extended Data Types node.

Warning

Starting in Microsoft Dynamics AX 2012, you can no longer define relations under an EDT element in the AOT. If your system has any EDT relations, you should migrate those relations to the appropriate table elements. For more information, see EDT Relation Migration Tool.

In This Section

This section contains the following topics:

Extended Data Types (EDTs)

How to: Create an Extended Data Type

How to: Define an Extended Data Type as an Array

EDT Relation Migration Tool

See also

Extended Data Types (EDTs)

Database for Microsoft Dynamics AX

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