NAV2017 txt object file weird compilation errors

jordi79
Member Posts: 280
Hi,
This happened to me several times now. I have merged changes in txt object file to upgrade to NAV2017. But after trying to compile, I get some funny error on some objects. And these objects were not even touched in my upgrade process. When I checked, I found out that some of these functions are referring to a different function. This triggered the incorrect no. of parameters error. To solve this, I just changed the function.
The second time, is I am in the process of merging a codeunit. This codeunit is not compilable yet. When I export this CU to txt, then I import the same CU (in txt format), without changes, the import failed.
Jordi
This happened to me several times now. I have merged changes in txt object file to upgrade to NAV2017. But after trying to compile, I get some funny error on some objects. And these objects were not even touched in my upgrade process. When I checked, I found out that some of these functions are referring to a different function. This triggered the incorrect no. of parameters error. To solve this, I just changed the function.
The second time, is I am in the process of merging a codeunit. This codeunit is not compilable yet. When I export this CU to txt, then I import the same CU (in txt format), without changes, the import failed.
Jordi
0
Comments
-
First question: Did you use the Powershell- functions for merging?
if true: There were probably changed some IDs of objects, the MergeTool tries to manage that.
Sencond: If you change the number of parameters in a function in one of your changed objects and another untouched object calls this function, than you will get this errors.0 -
Ensure that your have selected the right version of dynamics NAV & Time format is same on machines.Best Regards
Rehan Satti
Microsoft Dynamics NAV Technical Consultant
Please verify the answer if it satisfy your question. This will help other members of community.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