Error message when running codeunit 104045 "you must first run 7" Upgrading from Nav 4.0 to Nav 6.0 sp1

Dear All,

Please, can anyone tell me what to do am upgrading from 4.0 to 6.0 sp1 and am getting these error message when running codeunit 104045 ‘’ you must first run 7" your advice will be highly appreciated. Thanks in advance.

Regards

Hi,

Can you run the codeunit with the debugger active?
If so, then maybe that will give you a clue to what is wrong.

I have run it with the debugger. Am having problem from the table 104002 (Status Log)when the function checkstatus is call the problem am having is that i can not figure out exactly where the problem is. It is calling status a scope of Status::7 but there are only 5 scope.

Thanks all i have been able to solve the problem. I still have some tables from 4.0 i used in upgrading from Nav 2.6 to 4.0 that i did not delete. They are Fob files i import (104045-1 and 104045-2) when upgrading from 2.6 to 4.0.

Thanks Alex

No need to thank me, you found the solution your self. [;)]