I created a view in MS SQL 2008 and then created a NAV table with the LinkedObject set to yes (has all the same field names and table name as the SQL view). Everything worked great. However, when I added a new field to the SQL view and then added the same field to the NAV table, I get the following error..
"The x table does not exist as the required object name of x in this database". Is it possible to add a new field or do I have to start all over? Thanks for the help. Angela
0
Comments
http://mibuso.com/blogs/davidmachanick/
Freelance Dynamics AX
Blog : http://axnmaia.wordpress.com/
Adding a new field the way you mention is definitely possible, but it just needs one small mistake for it not to work. Me I have a couple of ways of doing this. If the SQL table already exists, you can create the script, and use a text editor to build the Navision fields that way. Or if its all from scratch you can just create the table in Navision, then create the SQL script, delete the Navision table, and then re-import it as a linked table. Also you can create the table in Navision, copy it to excel and then create the SQL script from there. I do it these ways, because it just seems every time I have an issue like yours its actually just some silly typo.
Yes
Freelance Dynamics AX
Blog : http://axnmaia.wordpress.com/
http://mibuso.com/blogs/davidmachanick/
Yes, you need to create the view for all companies. It must be handled like any other table in NAV... ;-)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.