This post is machine-translated. The original post in german language can be found here.

Add a new field to an existing table/Create a table extension

In this post I want to show how to add a field to an existing table.

After having created or opening a corresponding project, you look for the respective form from the Application Explorer. BTW: The available filter options are very useful.

Screenshot

Use the context menu of the form to select the option Create extension.

Ideally the form extension should be renamed according to your own naming conventions. In the example I have added the abbreviation DMO to the suggested name FMCustomer.Extension.

Screenshot

After opening the extension in the working area of ??Visual Studio, we look for a BaseEnum or an Extended Datatype out of the AOT - in my example the BaseEnum Gender - and drag it to the fields node of the extension.
Now you should add this new field to an existing/new field group and, if necessary, modify further properties, such as Label and HelpText.

Screenshot

Now synchronize the database, for example via the context menu of the project, and then the field is available for further use.

This article was created based on version 7.3 with Platform-Update 12 and installed Fleet Management Sample Application.

These post applies to following version:
Dynamics 365 for Finance and Operations

Add comment
 
 

 

This post is part of the series »First steps in Microsoft Dynamics 365 for Finance and Operations«

Microsoft Dynamics 365 for Finance and Operations presents me with many minor and major challenges as a long-time developer of Dynamics AX. Accompany me in this series on my journey through unknown waters ;-)

Show all posts from this series

RSS-Feed of this blog series


 

 
 
 
Posts of the actual month
April 2024
MoTuWeThFrSaSu
1234567
891011121314
15161718192021
22232425262728
2930 
 
© 2006-2024 Heinz Schweda | Imprint | Contact | German version | Mobile version
In order to provide you with better service, this site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies.