problem in setting null property of a field in navision
jks
Member Posts: 277
Hello,
I added some more fileds in Customer table available with navision database.
When i try to set 'Allow Null' property for these newly added field by going to Enterprise Manager of sql server, it tooks too much time nearly 1 hour and then it pops up one dialog. In that dialog it lists other table of navision database and gives warning that all these tables will be saved to your database.
What should i do?
Please help.
I added some more fileds in Customer table available with navision database.
When i try to set 'Allow Null' property for these newly added field by going to Enterprise Manager of sql server, it tooks too much time nearly 1 hour and then it pops up one dialog. In that dialog it lists other table of navision database and gives warning that all these tables will be saved to your database.
What should i do?
Please help.
0
Comments
-
NEVER change the properties directly on MS SQL...
You can use the property "ANSI NULL defaults" on File-Database-Alter-Options" for enabling the NULL values. See help to this option for more info...0 -
I did so. But it doen't work. Still in sql table 'Allow Null' is unchecked and when i try to insert null value for that field it gives an error that you can't enter null values.
Thanks for any help.0 -
Ok, I tested it, you are right.
May be that than helps you the option Maintain defaults, which set default value on all fields in database and than you do not need include all fields in insert statement etc... Navision do not know NULL value. Empty value is the '' (empty string), 0 or 1.1.1753 date...0 -
I am not inserting data using insert statement. I have created one DTS package in which source is Excel and Destination is Sql table. When i run that DTS package at that time it gives an error that it can't insert null into field of sql table whose 'Allow Null' property is not set.
Please help.0 -
It is same problem... it will create insert without some fields... you need some default values for fields not inserted from source excel file...0
-
Changing table design of Navision tables in the Enterprise Manager is all around a bad idea. That's all I have to say about it
0 -
Did you find a solution for this?
I have the same problemNavision developer0 -
Just stay away from the table design in Enterprise Manager, you will never have problems like this.0
-
I created some new tables for a customer. Another supplier is meant to fill these tables with values through SQL. And the supplier is complaining about this NOT NULL property on the fields..
I told him he should set default values so it should be ok.
Navision developer0 -
If your problems persist, you can export these tables via SQL and then import them via Navision by the "right" way to tables not touched with Enterprise manager.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

