Sunday, 24 January 2016

Dynamics AX7 Development 5–More on extensions (Table extension)

Previous post compared the difference between overlaying and extending. It is clear the benefits of extensions.

So to continue that discussion, in this post I will look at extensions by adding a field to a table.

Right click on a table you want to extend (ie you want to add a new field).


This will create a table extension SalesTable.Extension. See that in the project (right hand side in the Solution Explorer).

Open up the table design.

You can now drag an EDT or create it by right clicking. The bold items are what have been added to the extension. The greyed items are what is in the base.


Thats it. We have added a new field to the table without having to modify the base table.

1 comment:

Shashi said...

Thanks for you blog.
However there is a BP warning that shows up saying "Number of new fields in base table SalesLine.Myextension is greater than 10"
What is the best practice regarding adding more than 10 fields to a base table?