I have created a table in NAV, an external application is filling data into this SQL table.
but the external apllication have problem when inserting records with "Null" values in one of the fields.
Does anyone know how to change the field propperty, so the field accept Null values?
/roynes
0
Comments
BLANK for VarChar
1754-01-01 00:00:00.000 for DAte and time
False for Bool
and so on ........
Thanks /roynes
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
When integrating with other systems this way I normally make most of the fields text (i.e. varchar) and then clean up and evaluate the data in a codeunit, report or other process in NAV. Then even if the other system doesn't upper case code fields or setup other values correctly you a trigger point in NAV where you can do that kind of simple clean up work.
Epimatic Corp.
http://www.epimatic.com
I mean with set the NAV default values the following: You must set it, as Belias saied, with your externel application that creates this records.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
IF you check this, then NAV will set the default settings for every column in every table in SQL Server.
If an outsider does a SQL insert that does not insert all the columns in a table, SQL Server will then fill in the default values.
This works very well as long as a SQL only person does not start messing with the constraints and mess up the standard naming convention NAV uses.
http://mibuso.com/blogs/davidmachanick/