Object Usage

GoMaDGoMaD Member Posts: 313
edited 2004-02-19 in Navision Attain
Hi,

We have recently taken over a project from another NSC.
We want to know which objects (tables, forms, reports, ...) are used on a regular basis and which aren't.

This is because the licenced objects are all used and we do not want to force a licence upgrade on our client (not yet).

Does anybody has an idea how we can see the object usage?

Greetings,
Now, let's see what we can see.
...
Everybody on-line.
...
Looking good!

Comments

  • eromeineromein Member Posts: 589
    I don't think you can...

    Maybe you can take a look at the table information in File / Database / Information / Tables.

    But I doubt you can get a 100% clear and reliable overview based on that information.
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    Maybe you can run the Client Monitor on a few clients for a few days. This way you have an idea about the objects that where used during the logging. But this logging will affect performance.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • Timo_LässerTimo_Lässer Member Posts: 481
    Another way is to run the Code Coverage instead of the Client Monitor.
    Timo Lässer
    Microsoft Dynamics NAV Developer since 1997
    MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
  • eromeineromein Member Posts: 589
    or maybe you could ask the customer?
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
  • GoMaDGoMaD Member Posts: 313
    That was the first thing we did, but unfortunately, they couldn't answer that question!
    Now, let's see what we can see.
    ...
    Everybody on-line.
    ...
    Looking good!
  • eromeineromein Member Posts: 589
    program a message in those objects that tells the user to send an e-mail. Then just count the e-mails you get!
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
  • kinekine Member Posts: 12,562
    If you can add one table into their DB, you can add into all object code to insert ID of object into this table. After some time you can see, which object was used... :-) (it take some time to modify all object, but it is better than count e-mails ;-)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Timo_LässerTimo_Lässer Member Posts: 481
    kine wrote:
    If you can add one table into their DB, you can add into all object code to insert ID of object into this table. After some time you can see, which object was used... :-) (it take some time to modify all object, but it is better than count e-mails ;-)
    This is, what the Code Coverage does.
    Why modify all (!) tables, if you only need to start the Code Coverage???
    Timo Lässer
    Microsoft Dynamics NAV Developer since 1997
    MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
  • kinekine Member Posts: 12,562
    Yes, but code coverage collect more info (used code lines etc.) -> is very slow. AND informations are not pernament.... you close Client and all infos are gone... if you want trace usage for week ... you must restart windows... etc. 8)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.