[NAV2013] Nobody's perfect: Page 291 and 296

As most of you've noticed, Microsoft has (finally) decided to lengthen most of the text fields from 30 to 50 characters.

To my regret, I must say that the MS Dynamics NAV development team made at least a few mistakes here. When you open the global variables window in page 291 and 296 you will see what I mean.

Yep, your eyes are not deceiving you.. the "Description2" variable is still 30 characters. Off course this doesn't have to be a problem if the function that fills the variable is also using a 30 character parameter. But well, since a picture says more than a thousand words:

As you can see the parameter is 50 characters so here we've got a potential overflow error. We've already reported this issue at Microsoft and they've told us that it will be fixed in a future service pack. But for now as they told us:

"From the current release perspective, please go ahead and increase length of Description2 global variable (page 291 and 296) to 50 chars. This will make it consistent with the parameter that sets value here."

 Just so you all know.. nobody's perfect. Wink

Comment List