Reference manual

Reports page

This page is hosted by the Workspace window.

Prism for AL provides a number of reports that you can run manually here, or via the Command-line interface.

Prism for AL reports
1 2 3 4
Reports.
# Name Description
1 Select individual reports Check the output format of each report you want to run. The reports are described below.
2 Disable all Unchecks the output of every report.
3 Enable all Checks the output of every report.
4 Run Runs the checked reports. The reports run in the background and the output is placed in a new folder in your Documents folder.

After a run, the page shows the folder of the latest run as Last report path, with a button beside the run buttons that opens that folder in Windows Explorer.

Available reports

Report name Description
Solution metrics This report produces an Excel file with tabs for:
  • Total object count by module and object type.
  • Overview of objects with reference to the .al file in which they are defined.
Object dependencies

Object dependencies are useful to monitor in order to manage dependencies. This function produces a cross-reference of object references within the workspace as a .csv (tab separated) file.

The report lists source location, target location and dependency type (e.g. Variable or TableRelation) and for some types also a sub-type (e.g. sub-type SourceTable of type Property.)

Unreferenced objects

Unreferenced objects are potentially 'dead' code that should be cleaned up. This report contains a list of objects that are not referenced by any other objects. Such objects may still be used, though, e.g. object extensions (which cannot be referenced at all at object level) and event subscribers which are also not referenced (instead, references are the other way (from the subscriber to the publisher.)

OnPrem usages It is good practice to keep the number of dependencies to OnPrem annotated code as low as possible. To enable this report, please make sure to build a full code graph, e.g. using the Start code graph button. This report contains a list of usages of OnPrem functions and objects.
Parse errors If you encounter parse errors, we may ask you to run this report and send the result to us.