Skip to content

About

An overview of all your customized reports in Business Central. Simply run pages and reports from that page. Great time saver!

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

Β 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Š Report Overview for Microsoft Dynamics 365 Business Central

A powerful and intuitive extension for managing, organizing, and executing custom reports in Microsoft Dynamics 365 Business Central. This extension provides a centralized dashboard for all your custom reports with advanced filtering, favorites management, and quick-access navigation.

Report Overview Main Dashboard Main Dashboard with Quick Run Report, Filters, and integrated Subpages


πŸš€ Features

πŸ“‹ Report Management Dashboard

  • Centralized Overview: Single page to view all custom reports (ID range 50000-100000)
  • Quick Run Report: Execute any report directly from the dashboard without navigation
  • Inline Actions: Run reports and open related pages with one-click inline buttons (β–Ά and πŸ”—)
  • Smart Filtering: Filter reports by favorites and categories
  • Auto-Population: Automatically discovers and lists all custom reports in your environment

Quick Run Report Section Quick Run Report feature with inline execution button

⭐ Favorites System

  • Mark frequently used reports as favorites with a single click
  • Visual highlighting of favorite reports with attention styling
  • Quick filter to show only favorite reports
  • Add/Remove favorites directly from the list

Favorites System Favorite reports with visual highlighting and filter options

🏷️ Report Categorization

  • Organize reports into logical categories:
    • Sales - Sales-related reports
    • Purchase - Purchasing and procurement reports
    • Finance - Financial reports and statements
    • Inventory - Stock and inventory reports
    • Manufacturing - Production and manufacturing reports
    • Service - Service management reports
    • Human Resources - HR and employee reports
    • Administration - Administrative reports
    • Other - Miscellaneous reports
  • Filter reports by category with dropdown selection
  • Extensible enum for adding custom categories

Report Categories Category dropdown and filtering in action

βœ… Test Tracking

  • Set a Test Status (Passed or Failed) per report; the date and the user are stored with it
  • Passed is shown in green, Failed in red
  • Show Untested Only turns the list into a checklist, for example after an upgrade
  • Keep notes per report in Test Information

Test Tracking Show Untested Only lists the reports that still have to be tested

πŸ§ͺ Test Parameters, Download and Layouts

  • Test Parameters (✎): Store the request page values and filters of a report once, for example a document number. The run button then starts the report without request page
  • Download (⬇): Download the output as PDF, Word or Excel file. With stored test parameters no request page is shown
  • Report Settings (βš™): Open the request page settings that you saved for the report
  • Layout: See the layout that is currently used and open the layouts of the report with one click
  • Remove Missing Reports: Entries whose report no longer exists are greyed out and can be removed with one action

🏠 Favorites on the Role Center

  • The part Favorite Reports shows your favorites on the Business Manager and the Administrator role center
  • Run a favorite directly from the role center or open the Report Overview from there

Favorite Reports on the Role Center Favorite reports with run buttons on the role center

🎯 Quick Navigation

  • Inline Run Buttons (β–Ά): Execute reports directly from the list with visual feedback
  • Inline Page Links (πŸ”—): Open associated list or card pages instantly
  • Report Selections Integration: View and manage standard BC report selections
  • Direct Access: Navigate to Report Selection Sales/Purchase and Company Information

πŸ“Š Two Integrated Subpages

1. Report Overview Subpage

  • Lists all custom reports with full details
  • Editable fields for report metadata:
    • Report ID and Caption
    • List Page No. and Card Page No.
    • Category assignment
    • Test status with date and user of the last test
    • Current layout
    • Custom notes/information
  • Favorite toggle with visual feedback
  • Inline action buttons to run, download and configure a report

Report Overview Subpage Custom reports list with inline β–Ά Run and πŸ”— Link buttons

2. Report Selections Subpage

  • Pre-filtered standard BC report selections for documents
  • Supported document types:
    • Purchase: Quote, Order, Invoice, Credit Memo, Receipt, Return Shipment
    • Sales: Quote, Order, Shipment, Invoice, Pro Forma Invoice, Credit Memo
    • Service: Quote, Order, Invoice, Credit Memo, Shipment
    • Reminder and Finance Charge Memo
  • Automatic page number resolution for list and card pages
  • Inline buttons for running reports and opening pages

Report Selections Subpage Standard BC Report Selections with inline execution and navigation


πŸ“¦ Installation

Prerequisites

  • Microsoft Dynamics 365 Business Central (Cloud)
  • Platform version: 29.0.0.0 or higher
  • Runtime: 18.0 or higher
  • Object ID range: 50100-50149 available

Installation Steps

  1. Download the .app file from the releases section
  2. Open Business Central Administration Shell
  3. Run: Publish-NAVApp -ServerInstance BC -Path "path-to-app-file.app"
  4. Install via Extension Management in Business Central
  5. Assign the "Report Overview" permission set to users

🎯 Usage Guide

Opening the Report Overview

  1. Search for "Report Overview" in the Business Central search (Alt+Q)
  2. The page will automatically populate with all custom reports

Quick Run Report

  1. Enter a Report ID in the "Quick Run Report" section (only IDs of existing reports are accepted)
  2. The report caption will be displayed automatically
  3. Click the β–Ά Run Report button to execute immediately

Managing Favorites

  1. Navigate to the Report Overview Subpage
  2. Check the "Is Favorite" checkbox for reports you use frequently
  3. Use the "Show Favorites Only" filter to see only marked reports
  4. Alternative: Use the Actions menu β†’ Favorites β†’ Add to Favorites

Categorizing Reports

  1. Select a report in the Report Overview Subpage
  2. Choose a category from the Category dropdown
  3. Use the "Category Filter" on the main page to filter by category

Using Inline Buttons

  • β–Ά Button: Click next to any Report ID to run the report instantly
  • ✎ Button: Enter and store the test parameters of the report. The button is highlighted when test parameters are stored
  • ⬇ Button: Download the output of the report as PDF, Word or Excel file
  • βš™ Button: Open the saved report settings of the report
  • πŸ”— Button: Click next to List/Card Page No. to open the associated page
  • Visual feedback: Buttons are highlighted when the target is valid (non-zero)

Inline Buttons Demo Inline action buttons with visual feedback for quick access

Filtering Reports

  • Show Favorites Only: Toggle to display only favorite reports
  • Category Filter: Select a category to filter reports
  • Show Untested Only: Toggle to display only reports without a test status
  • Show All Reports action: Clears all filters instantly

Tracking Tests

  1. Run the report and check its output
  2. Set Test Status to Passed or Failed. Last Tested At and Last Tested By are filled automatically
  3. Clear the test status to mark the report as untested again

Running a Report without Request Page

  1. Click the ✎ button of the report and enter the filters and options on the request page, for example the number of a test document
  2. Choose OK. The values are stored for the report
  3. From now on β–Ά shows the preview directly, and ⬇ downloads the output without request page
  4. Use Test β†’ Clear Test Parameters to remove the stored values

Checking Layouts

  1. The column Layout shows the layout that the report currently uses
  2. Click the layout name to open the report layouts of this report

Cleaning Up

  • Entries whose report no longer exists are greyed out, for example after an extension was uninstalled
  • Use Test β†’ Remove Missing Reports to remove these entries

Accessing Standard Report Selections

  1. View pre-filtered selections in the Report Selections Subpage
  2. Run standard reports directly with inline β–Ά buttons
  3. Open related document list/card pages with inline πŸ”— buttons
  4. Navigate to full Report Selection pages via the Settings actions

πŸ—οΈ Technical Details

Object Structure

Object Type Object ID Object Name Description
Table 50100 Report Test Stores custom report metadata and user preferences
Enum 50100 Report Category Categorization options for reports
Enum 50101 Report Test Status Test result of a report (Passed, Failed)
Page 50100 Report Overview Main dashboard (Card Page)
Page 50102 Report Overview Subpage Custom reports list (ListPart)
Page 50101 Report Selections Subpage Standard report selections (ListPart)
Page 50103 Favorite Reports Favorites for the role center (ListPart)
PageExtension 50100 Bus. Manager RC Fav. Reports Adds Favorite Reports to the Business Manager role center
PageExtension 50101 Administrator RC Fav. Reports Adds Favorite Reports to the Administrator role center
Codeunit 50100 Report Overview Mgt. Business logic and report management
PermissionSet 50100 Report Overview Grants access to all extension objects

Key Features Implementation

Report Auto-Discovery

  • Scans AllObjWithCaption for reports in range 50000-100000
  • Auto-populates the Report Test table on page open
  • Uses FlowFields for dynamic report caption lookup

Filter Architecture

  • Main page filter controls trigger ApplyFilters() procedure
  • Calls SetFilters() on subpage with filter parameters
  • Subpage applies Rec.SetRange() for efficient filtering

Inline Button Pattern

  • Small-width fields (Width=1) with symbol characters (β–Ά, πŸ”—)
  • Non-editable with DrillDown triggers
  • Conditional styling with StyleExpr for visual feedback
  • Favorable style for active/valid targets

Permission Model

  • Single assignable permission set
  • Execute (X) permissions for codeunits, pages, and reports
  • RIMD (Read, Insert, Modify, Delete) for table data

πŸ”§ Configuration

Extending Report Categories

The Report Category enum is marked as extensible. To add custom categories:

enumextension 50100 "My Report Categories" extends "Report Category"
{
    value(50100; "My Custom Category")
    {
        Caption = 'My Custom Category';
    }
}

Customizing Object Range

To scan a different report ID range, modify the FillTestTable() procedure in codeunit 50100:

AllObjWithCaption.SetRange("Object ID", YourStartID, YourEndID);

πŸ› οΈ Development Notes

Repository Layout

  • app/: the extension (object IDs 50100-50149, namespace ReportOverview)
  • test/: the automated tests as a separate app (object IDs 50150-50199, namespace ReportOverview.Test)
  • Report-Overview.code-workspace: open this file in VS Code to work with both apps

Automated Tests

  • 98 tests in four test codeunits cover the business logic (page mapping, report discovery, report captions, report settings, test status, test parameters, layouts, download), the pages (filters, Quick Run Report, inline buttons, editing lines, favorites, report selections, navigation actions, role center part) and the permission set
  • The test app depends on the Microsoft apps Library Assert and Permissions Mock and needs a sandbox or container with the Microsoft test framework. Run the tests only in a test environment: they clear the report list during the run
  • Publish app, then test, and run the tests from the VS Code Test Explorer
  • The test app contains the reports Report Overview Test Report (50150), Test Report With Request Page (50151) and Test Report With Layout (50152). While the test app is installed, these reports show up in the Report Overview. Report 50150 has no request page and no output, so running it shows nothing; report 50151 opens a request page; report 50152 has an empty layout

Code Quality

  • No compilation warnings or errors
  • NoImplicitWith feature enabled
  • Namespaces in all objects
  • All fields and actions have descriptive ToolTips
  • Reduced cyclomatic complexity (<8) in all procedures
  • Follows AL coding best practices

Design Patterns

  • Dashboard Pattern: Main Card page without SourceTable for pure overview
  • ListPart Integration: Embedded subpages with filter propagation
  • Inline Actions: User-friendly button placement for efficiency
  • FlowFields: Dynamic data loading for performance
  • Procedure-based Filtering: Explicit filter control between pages

πŸ“ Customization Examples

Adding Custom Information to Reports

  1. Navigate to the Report Overview Subpage
  2. Enter text in the "Test Information" field
  3. Information is stored per report and persists across sessions

Linking Reports to Pages

  1. Find the Page ID for your list or card page
  2. Enter the ID in "List Page No." or "Card Page No."
  3. Use the inline πŸ”— buttons to navigate directly

Page Links List and card pages per report with inline πŸ”— buttons, layout and test information


🀝 Contributing

This is an open-source Business Central extension. Contributions are welcome!

Ways to Contribute

  • Report bugs or request features via GitHub Issues
  • Submit pull requests with improvements
  • Share your customizations and extensions
  • Improve documentation

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸ™ Acknowledgments

  • Built for the Microsoft Dynamics 365 Business Central community
  • Designed with user experience and efficiency in mind
  • Inspired by the need for better report management in BC projects

πŸ“ž Support

For questions, issues, or feedback:

  • Create an issue on GitHub
  • Check existing documentation and issues first
  • Provide detailed information about your BC version and setup

Made with for the Business Central Community

For version history and changelog, see CHANGELOG.md

About

An overview of all your customized reports in Business Central. Simply run pages and reports from that page. Great time saver!

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages