---
title: "Codeunit 1901 Report Selection Mgt."
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/1901-report-selection-mgt/
type: codeunit
id: 1901
name: "Report Selection Mgt."
app: "Base Application"
namespace: Microsoft.Foundation.Reporting
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/1901-report-selection-mgt/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 1901 Report Selection Mgt.

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/1901-report-selection-mgt/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Foundation.Reporting |
| Versions | 17-28 |
| Source file | Foundation/Reporting/ReportSelectionMgt.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| InitReportSelectionSales | () | - | public | 17-28 | - | - |
| InitReportSelectionPurch | () | - | public | 17-28 | - | - |
| InitReportSelectionInvt | () | - | public | 17-28 | - | - |
| InitReportSelectionBank | () | - | public | 17-28 | - | - |
| InitReportSelectionCust | () | - | public | 17-28 | - | - |
| InitReportSelectionServ | () | - | public | 17-28 | - | - |
| InitReportSelectionProd | () | - | public | 17-28 | - | - |
| InitReportSelectionWhse | () | - | public | 17-28 | - | - |
| InitReportUsage | (Integer) | - | public | 17-19 | Pending 17.0 | Replaced by InitReportSelection(). |
| InitReportSelection | (Enum Report Selection Usage) | - | public | 17-28 | - | - |
| InitReportUsageWhse | (Integer) | - | public | 17-19 | Pending 17.0 | Replaced by InitReportSelectionWhse(). |
| InitReportSelectionWhse | (Enum Report Selection Warehouse Usage) | - | public | 17-28 | - | - |
| InsertRepSelectionWhse | (Integer, Code[10], Integer) | - | public | 17-19 | Pending 17.0 | Replaced by InsertReportSelectionWhse(). |
| InsertReportSelectionWhse | (Enum Report Selection Warehouse Usage, Code[10], Integer) | - | public | 17-28 | - | - |
| InitReportSelectionJob | () | - | public | 20-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeInitReportSelectionSales | () | 17-28 | - | - |
| Integration event | OnBeforeInitReportSelectionPurch | () | 17-28 | - | - |
| Integration event | OnBeforeInitReportSelectionInvt | () | 17-28 | - | - |
| Integration event | OnBeforeInitReportSelectionBank | () | 17-28 | - | - |
| Integration event | OnBeforeInitReportSelectionCust | () | 17-28 | - | - |
| Integration event | OnBeforeInitReportSelectionServ | () | 17-28 | - | - |
| Integration event | OnBeforeInitReportSelectionProd | () | 17-28 | - | - |
| Integration event | OnBeforeInitReportSelectionWhse | () | 17-28 | - | - |
| Integration event | OnAfterInitReportSelectionSales | () | 17-28 | - | - |
| Integration event | OnAfterInitReportSelectionPurch | () | 17-28 | - | - |
| Integration event | OnAfterInitReportSelectionInvt | () | 17-28 | - | - |
| Integration event | OnAfterInitReportSelectionBank | () | 17-28 | - | - |
| Integration event | OnAfterInitReportSelectionCust | () | 17-28 | - | - |
| Integration event | OnAfterInitReportSelectionServ | () | 17-28 | - | - |
| Integration event | OnAfterInitReportSelectionProd | () | 17-28 | - | - |
| Integration event | OnAfterInitReportSelectionWhse | () | 17-28 | - | - |
| Integration event | OnInitReportUsage | (Integer) | 17-28 | - | - |
| Integration event | OnInitReportUsageWhse | (Integer) | 17-28 | - | - |
| Integration event | OnBeforeInitReportSelectionJobs | () | 20-28 | - | - |
| Integration event | OnAfterInitReportSelectionJobs | () | 20-28 | - | - |
| Integration event | OnBeforeInsertRepSelectionWhse | (Enum Report Selection Warehouse Usage, Code[10], Integer, var Boolean) | 25-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
