Anyway to check the dependency of a function/codeunit?

bluerock
bluerock Member Posts: 32
Is there any way to check which form or report will call a codeunit/function?
Thank You.

Comments

  • Belias
    Belias Member Posts: 2,998
    no, but you can export all objects as text and use ctrl + f to search where the function/codeunit is called.
    as codeunits can be used as variables or with CODEUNIT.RUN(number) syntax, you should look your text file for CODEUNIT.RUN("the number of the codeunit"),too.
    (i don't remember if in txt files, variable subtype is the number codeunit/table/etc. or its name)
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • kine
    kine Member Posts: 12,562
    You can use the NDT for that... (Navision Developer's Toolkit).
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Belias
    Belias Member Posts: 2,998
    kine wrote:
    You can use the NDT for that... (Navision Developer's Toolkit).
    I forgot to edit my post with this... :mrgreen:
    anyway, for only one function, maybe it's too slow to use the toolkit...it depends from how "big" is your search (e.g. maybe you know that this function is only called 3 or 4 times..)
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog