NAV2017 txt object file weird compilation errors

jordi79jordi79 Member Posts: 277
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

Comments

  • FiddiFiddi Member Posts: 46
    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.
  • rehansattirehansatti Member Posts: 36
    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.
Sign In or Register to comment.