BC 16 migration.json to migrate custom fields and tables to extension in upgrade

davmac1
Member Posts: 1,283
Starting in BC 15.3, Microsoft added the migration.json table that from their doc, looks like it will migrate custom and ISV fields and tables to pre-existing extensions using the extension app id.
If this works like this, it will make upgrades less expensive, since we do not have to write code to move the data moving to extensions, th eupgrade will do it for us.
The online doc is minimal.
My questions are:
1) Am I understanding this upgrade functionality correctly?
2) Does it only use table numbers and fields numbers since for ISV migrations, we have to add a prefix or suffix to every field that is not part of the older naming conventions. i.e. field 37,000,000 will move to the extension containing it even if the old field name was "My Field" and the extension field name is "ABC My Field", and same for table names - table 37000000 "My Table" will migrate to the extension as "ABC My Table".
If this works like this, it will make upgrades less expensive, since we do not have to write code to move the data moving to extensions, th eupgrade will do it for us.
The online doc is minimal.
My questions are:
1) Am I understanding this upgrade functionality correctly?
2) Does it only use table numbers and fields numbers since for ISV migrations, we have to add a prefix or suffix to every field that is not part of the older naming conventions. i.e. field 37,000,000 will move to the extension containing it even if the old field name was "My Field" and the extension field name is "ABC My Field", and same for table names - table 37000000 "My Table" will migrate to the extension as "ABC My Table".
David Machanick
http://mibuso.com/blogs/davidmachanick/
http://mibuso.com/blogs/davidmachanick/
0
Comments
-
I found a demo project on Microsoft's github called BCUPGRADE.
This looks like it will answer my questions, and I can play around with names if it does what I want.
If anyone else has used this, please comment.David Machanick
http://mibuso.com/blogs/davidmachanick/0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions