Hi All,
I am not a SQL expert but am very aware of the dangers associated with any update script for NAV. I just need to change ONE field value on ONE table (ONE line) from null to the value of "4". (I expect this to be a very benign change and accept the fact that it may not work but want to try it.) I am able to query the table and see the field without any problem. We are not able to update the table using Object Designer as we get the message that the update is not allowed as there are "ledger entries" associated with the table. This is a custom table but the field is a simple value and the ledger entries all show the value properly.
We are doing this in a back up db and want to move ahead. This is an older Classic client version of NAV (5.0) and we no longer have support on any front.
As an example: table name in NAV is XX$Task Order Detail (this is a "card" in NAV) and the field is, for example Order "Type" with the numeric values on the table of 1 through 6. Right now the "Type" is null and needs to be "2".
If someone could help me with how to write an update script I would be most grateful.
0
Answers
Thanks all, have a happy and safe NEW YEAR!
For one field in one row - this is a lot simpler way if you don't know SQL.
http://mibuso.com/blogs/davidmachanick/