the type 5056 was not defined for the function

welander
Member Posts: 20
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.
0
Comments
-
Ok i think i know why this problem occurred, the database we exported from was a CU0 but the field was added using a CU5 database.1
-
Hi Welander,
If you got the resolution can you please share with us. Because still we are facing the same issue.0 -
0
-
Hi vaprog
Have this issue too but wasn't too sure what the remedy that Erik was suggesting?Big D signing off!0 -
Hi Big_D,
Erik saysThe solution, do not mix your development environment. Currently, that means that CU2 is the preferred CU for NAV2018 development.
(The quick fix, is the remove the fields, and RETYPE them (Cut’n’Paste will not work).
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:- Use a newer development environment to export the object as text.
- Edit the exported object and remove the DataClassification option.
- Import the edited text object into your (older) target version
1 -
Hi Erik
Actually tried this at last and works a treat!
Big thanksBig D signing off!0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions