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:
Type | No. | Name | Version List |
---|---|---|---|
Table | 50500 | Objects Usage Setup | USG |
Table | 50501 | Objects Usage User | USG |
Table | 50502 | Object Usage | USG |
Table | 50503 | Object Usage Entry | USG |
Form | 50500 | Objects Usage Setup | USG |
Form | 50501 | Objects Usage Users | USG |
Form | 50502 | Object Usage | USG |
Form | 50503 | Object Usage Entries | USG |
Codeunit | 50500 | Objects Usage Mgt. | USG |
Do manually code changes/merge to codeunit 1 ‘ApplicationManagament’:
a. Add global variable ObjectsUsageMgt
b. On trigger FindPrinter add call to function AddRepUsageTmp
c. On trigger LogInStart add call to function StartObjectUsageLog
d. On trigger LogInEnd add call to function FinishObjectUsageLog
e. On trigger CaptionClassTranslate add call to function ClearCodeCoverage