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 codeunits 1 ‘ApplicationManagement’ and 40 ‘LogInManagement’.

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 SetupUSG2.0
Table50501Objects Usage UserUSG2.0
Table50502Object UsageUSG2.0
Table50503Object Usage EntryUSG2.0
Page50500Objects Usage SetupUSG2.0
Page50501Objects Usage UsersUSG2.0
Page50502Object UsageUSG2.0
Page50503Object Usage EntriesUSG2.0
Codeunit50500Objects Usage Mgt.USG2.0
  1. Do manually code changes/merge to codeunits 1 ‘ApplicationManagament’ and 40 ‘LogInManagement’:

    a. Open Codeunit 1 ‘ApplicationManagament’ and add global variable ObjectsUsageMgt

USG1

b.  On trigger FindPrinter add call to function AddRepUsageTmp

USG1

c.  On trigger CaptionClassTranslate  add call to function ClearCodeCoverage

USG1

d.  Open Codeunit 40 ‘LogInManagement’’ and add global variable ObjectsUsageMgt

USG1

e.  On the end of trigger LogInStart add call to function StartObjectUsageLog

USG1

f.  On the end of trigger LogInEnd add call to function FinishObjectUsageLog

USG1