Developers Toolkit - endless looping

remco_rausch
remco_rausch Member Posts: 68
Hi,

I'm using Developers Toolkit 4 SP2 Build 280

I am trying to use a where used on the address 2 field on table 5050. However during the searching code routine it keeps on going endlessly (currently its at line 50000).

I've had this before and I tend to delete the offending objects because I don't really care about them however this time its the table I need that is causing the problem.

I have tried using Cronus 4.02/4.01/4.00 database(s) but all with the same result.

Any ideas?

Thanks,

Remco

Answers

  • remco_rausch
    remco_rausch Member Posts: 68
    Ok figured it out.

    I presumed that because it was going through endless lines of code it just didn't know where the end of the object was.

    I went to the object and added ; to the end of all the functions that didn't have one. So even though you don't need semicolons to make the object compile within Navision you do need them to make the developers toolkit work properly.
  • jm
    jm Member Posts: 156
    Hi Remco,

    =D> , great idea to search for missing ";".

    Can you give a list of objects and function where you added the ";"?

    I have done in
    - Table 6241, local function "CalcBaseQty"
    - Codeunit 5522, function "CalcATPQty"
    - Codeunit 99008530, function "ConvertCommonItemNo"

    I found these "endless loops" by searching for field 14 "Item Disc. Group" of table 27 "Item".

    I have reported this error on 31.01.06 to MBS and they said this will be fixed in SP3, but the release date of SP3 for NDT is completely unknown (after 1 year!).
    br
    Josef Metz
  • jm
    jm Member Posts: 156
    Hi,

    there is a new version (SP3) in PartnerSource (https://mbs.microsoft.com/partnersource/downloads/releases/ndtall.htm?printpage=false).
    The "endless looping" problem is solved.
    br
    Josef Metz