We had this error when trying to export some tables in .txt format in NAV 2018, this was a database upgraded from NAV 2009. by looking at this post
https://forum.mibuso.com/discussion/61125/the-type-5032-was-not-defined-for-the-function we were able to solve the problem by looking at custom added fields removing them and adding them again without saving in between, but it could be nice to know why this error occurred.
Comments
If you got the resolution can you please share with us. Because still we are facing the same issue.
I found this helpful information regarding this.
Have this issue too but wasn't too sure what the remedy that Erik was suggesting?
Erik says
So the first paragraph says: do not use your objects in an older version (build) of NAV than the one you have last used to save it in.
The second paragraph (the parentheses) says: Remove any fields that have the new property and re-create them by typing them in. You can cut and past any trigger code, but not the field itself.
My own suggestion is:
Actually tried this at last and works a treat !
Big thanks