Field No. Change Impact

matias_jaure
Member Posts: 157
Hello!
We need to change Field No. for some columns of SAles Invoice Line table.
But, when we change Field No. , Forms start getting errors. Navision automatically changes the code that references the column, Any idea to avoid it? or any idea on how to change field no without such kind of problems??
We need to change Field No. for some columns of SAles Invoice Line table.
But, when we change Field No. , Forms start getting errors. Navision automatically changes the code that references the column, Any idea to avoid it? or any idea on how to change field no without such kind of problems??
0
Comments
-
Are you changing the field number for custom fields? Or standard and addon fields?
Nonetheless, you're going to get that problem if you change the field ID. The form references the field ID so you will get an error.
The best way to resolve it is to remove the field from the form first, then change your field ID. Assuming you're changing custom fields.Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
Alex Chow wrote:Are you changing the field number for custom fields? Or standard and addon fields?
Nonetheless, you're going to get that problem if you change the field ID. The form references the field ID so you will get an error.
The best way to resolve it is to remove the field from the form first, then change your field ID. Assuming you're changing custom fields.
Yes, there are costum fields, the main problem is not in the form itself, the real problem is in the code behind the forms and in the tables that references this tables0 -
Just curious - what are you changing "No." to "Item No."??0
-
Savatage wrote:Just curious - what are you changing "No." to "Item No."??
No!, just custom fields ... > 500000 -
1) All reference are coded through Field No. internally in all objects. It means, if you renumber field, you have big problems.
2) All reference are coded through Field name if you export the object into text file and import it back
3) It means, if you export all objects before renumber, after that you can renumber the field and import the text file back (excluding the object you changed or you must change the field no. in the text file too) and compile the objects, the reference will be corrected in all objects if you just change the no. and not name of the field.0 -
Hi Kine, Can you please give more details to step no 3. i am facing the same issue bit in a bigger problem.
See my post:
http://forum.mibuso.com/discussion/68536/renaming-fields-ids-in-navision-tables-effects-on-other-objects/p1?new=1
Thanks,
Zayed0
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