Field [name of field] in table [table name] does not exist

stiasta
Member Posts: 106
Hello!
I get this error when trying to add a new field to the table (Table is between 50000 and 59999)
It says (could be translation error)
ERROR: Field [name of field] in table does not exist in SQL Server-Table or -view
There are no special characters in the table name, or any of the fields. (Saw this error in other posts)
However, these properties are put into effect:
LinkedObject: Yes
DataPerCompany: No
Could the problem be these properties?
What does LinkedObject do? (DataPerCompany is pretty self explanitory)
I get this error when trying to add a new field to the table (Table is between 50000 and 59999)
It says (could be translation error)
ERROR: Field [name of field] in table does not exist in SQL Server-Table or -view
There are no special characters in the table name, or any of the fields. (Saw this error in other posts)
However, these properties are put into effect:
LinkedObject: Yes
DataPerCompany: No
Could the problem be these properties?
What does LinkedObject do? (DataPerCompany is pretty self explanitory)
0
Answers
-
You need to create the field in SQL before you create it in Navision if you are using linked objects.David Singleton0
-
Thank you for your respons.
After more digging into this case i have found that this table is actually a view in the SQL database.
The question now is how do i change the view? Do i have to code it in the MSSql Man. studio or can i untick the Linked object property, add the field and then set it to yes again?
What will happen if i set the linked object to no, add the field and set it to yes again?0 -
1. Change view in SQL
2. Add field in NAV, you don't need to tick Linked property. I think NAV map fields to view in run-time.Sincerely yours, GRIZZLY
Follow my blog at http://x-dynamics.blogspot.com0 -
Do you know if there are some smart function in MS SQL Management studio, that can change the view? Or do you have to rewrite the SQL command to change it?0
-
Just right click on the view and use Edit or Design.Frank Dickschat
FD Consulting0 -
After some good tips i ended up with adding the field in the SQL view. After executing and creating the new view, i was able to add the field in the table in NAV.
I have another question just for curiousity:
What is the reason for using a view and not a table? Is it a performance issue only?0 -
stiasta wrote:I have another question just for curiousity:
What is the reason for using a view and not a table? Is it a performance issue only?
There are many reasons, but you would need to ask the developer that did it as to why.David Singleton0 -
I would like to know all the reasons.
I have started a new post where we can discuss reasons for using a view
http://mibuso.com/forum/viewtopic.php?f=23&t=499140
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