Adjust Cost - Item Entries never ending

Hi, i have Navision 3.70 native and when i try running Adjust Cost - Item Entries the calculation never ends, i tried changing maxlevels from 100 to 5000 as i read in the forum but this didn’t work, can yuo help me ? Thanks.

the first questions would be: 1. how long have you been using Navision? 2. have the adjust costs ever been run before?

One of the simplest steps is to check in Item Ledger Entries are there any consumption entries with Item No. = Source No. - this is an illegal activity and should be corrected somehow. The meaning of this is that an item is produced by itself. It is the simplest step, because this recursion can be in second, third, etc. level - then it will be very difficult to catch