Skip to main content

Implementation

Simplanova Object usage log tool has easy implementation to client NAV system as it iterates with client NAV system only through codeunit 1 ‘ApplicationManagement’.

1) Import given objects fob. The objects are in range 50500 – 50503, so please check if they do not intersect with existing custom objects in your solution:

TypeNo.NameVersion List
Table50500Objects Usage SetupUSG
Table50501Objects Usage UserUSG
Table50502Object UsageUSG
Table50503Object Usage EntryUSG
Form50500Objects Usage SetupUSG
Form50501Objects Usage UsersUSG
Form50502Object UsageUSG
Form50503Object Usage EntriesUSG
Codeunit50500Objects Usage Mgt.USG
  1. Do manually code changes/merge to codeunit 1 ‘ApplicationManagament’:

    a. Add global variable ObjectsUsageMgt

    USG1

    b.  On trigger FindPrinter add call to function AddRepUsageTmp

USG1

c.  On trigger LogInStart add call to function StartObjectUsageLog

USG1

d.  On trigger LogInEnd add call to function FinishObjectUsageLog

USG1

e.  On trigger CaptionClassTranslate  add call to function ClearCodeCoverage

USG1