Implementation
Simplanova Object usage log tool has easy implementation to client Business Central system as it iterates with client Business Central system only through codeunits 40 LogInManagement
, 42 CaptionManagement
and 44 ReportManagement
.
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 | USG2.0 |
Table | 50501 | Objects Usage User | USG2.0 |
Table | 50502 | Object Usage | USG2.0 |
Table | 50503 | Object Usage Entry | USG2.0 |
Page | 50500 | Objects Usage Setup | USG2.0 |
Page | 50501 | Objects Usage Users | USG2.0 |
Page | 50502 | Object Usage | USG2.0 |
Page | 50503 | Object Usage Entries | USG2.0 |
Codeunit | 50500 | Objects Usage Mgt. | USG2.0 |
Do manually code changes/merge to codeunits
40 LogInManagement
,42 CaptionManagement
and44 ReportManagement
.a. Open Codeunit
44 ReportManagement
and add global variable ObjectsUsageMgt
b. On trigger GetPrinterName add call to function AddRepUsageTmp
c. Open Codeunit 42 ‘CaptionManagement’ and add global variable ObjectsUsageMgt
d. This step depends on which version of Business Central you are running:
1. If you are running **BC 13** then do this step below:
On trigger CaptionClassTranslate add call to function ClearCodeCoverage
2. If you are running **BC 14** then do this step
On trigger ResolveCaptionClass add call to function ClearCodeCoverage
e. Open Codeunit 40 ‘LogInManagement’’ and add global variable ObjectsUsageMgt
f. At the end of trigger LogInStart add call to function StartObjectUsageLog
g. At the end of trigger LogInEnd add call to function FinishObjectUsageLog