---
id: object/codeunit/1901
type: object
title: Codeunit 1901 "Report Selection Mgt."
summary: Codeunit 1901 "Report Selection Mgt." in Base Application (Microsoft.Foundation.Reporting). 14 public procedures, 21 events. Present since at least BC23, still in BC30, changed in BC25, BC29.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: "29"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 9dbfdb62506d5f9181e1e5639e416140bedd5474a3a48d7a87894920857c90fd
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Foundation/Reporting/ReportSelectionMgt.Codeunit.al
    title: src/Layers/W1/BaseApp/Foundation/Reporting/ReportSelectionMgt.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/at
    - localization/ch
    - localization/de
    - localization/ru
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9067
    - change/bcapps/9578
object_type: codeunit
object_id: 1901
name: Report Selection Mgt.
namespace: Microsoft.Foundation.Reporting
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "25"
  - "29"
source_major: "29"
obsolete: null
countries:
  - at
  - ch
  - de
  - ru
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 37
  events: 21
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 4
  calls: 0
  called_by: 5
  implements: 0
---

# Codeunit 1901 "Report Selection Mgt."

> Codeunit 1901 "Report Selection Mgt." in Base Application (Microsoft.Foundation.Reporting). 14 public procedures, 21 events. Present since at least BC23, still in BC30, changed in BC25, BC29.

Base Application · Microsoft.Foundation.Reporting · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Foundation/Reporting/ReportSelectionMgt.Codeunit.al) · facts from BC29

## Events published

- `OnBeforeInitReportSelectionSales()` (integration)
- `OnBeforeInitReportSelectionPurch()` (integration)
- `OnBeforeInitReportSelectionInvt()` (integration)
- `OnBeforeInitReportSelectionBank()` (integration)
- `OnBeforeInitReportSelectionCust()` (integration)
- `OnBeforeInitReportSelectionServ()` (integration)
  - subscribers: [Codeunit 6450 "Serv. Integration Mgt."](../codeunit/6450.md) OnBeforeInitReportSelectionServ
- `OnBeforeInitReportSelectionProd()` (integration)
- `OnBeforeInitReportSelectionWhse()` (integration)
- `OnBeforeInitReportSelectionJobs()` (integration)
- `OnAfterInitReportSelectionSales()` (integration)
- `OnAfterInitReportSelectionPurch()` (integration)
- `OnAfterInitReportSelectionInvt()` (integration)
- `OnAfterInitReportSelectionBank()` (integration)
- `OnAfterInitReportSelectionCust()` (integration)
- `OnAfterInitReportSelectionServ()` (integration)
- `OnAfterInitReportSelectionProd()` (integration)
  - subscribers: [Codeunit 99000797 "Mfg. Document Print"](../codeunit/99000797.md) OnAfterInitReportSelectionProd
- `OnAfterInitReportSelectionWhse()` (integration)
- `OnAfterInitReportSelectionJobs()` (integration)
- `OnInitReportUsage(ReportUsage: Integer)` (integration)
  - subscribers: [Codeunit 6461 "Serv. Document Print"](../codeunit/6461.md) InitReportSelection, [Codeunit 99000797 "Mfg. Document Print"](../codeunit/99000797.md) OnInitReportUsage
- `OnInitReportUsageWhse(ReportUsage: Integer)` (integration)
- `OnBeforeInsertRepSelectionWhse(ReportUsage: Enum "Report Selection Warehouse Usage"; Sequence: Code[10]; ReportID: Integer; var IsHandled: Boolean)` (integration)

## Procedures

- `InitReportSelectionSales()`
- `InitReportSelectionPurch()`
- `InitReportSelectionInvt()`
- `InitReportSelectionBank()`
- `InitReportSelectionCust()`
- `InitReportSelectionServ()`
- `InitReportSelectionProd()`
- `InitReportSelectionWhse()`
- `InitReportSelectionJob()`
- `InitReportSelection(ReportUsage: Enum "Report Selection Usage")`
- `InitReportSelectionWhse(ReportUsage: Enum "Report Selection Warehouse Usage")`
- `ReportSelectionsExist(ReportSelectionUsage: Enum "Report Selection Usage"; ReportID: Integer): Boolean`
- `UpdateReportSelection(ReportUsage: Enum "Report Selection Usage"; Sequence: Code[10]; ReportID: Integer)`
- `InsertReportSelectionWhse(ReportUsage: Enum "Report Selection Warehouse Usage"; Sequence: Code[10]; ReportID: Integer)`

Plus 2 local procedures.

## Triggers

OnRun

## Called by

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 2 "Company-Initialize"](../codeunit/2.md) (9 calls: `InitReportSelection → InitReportSelectionBank`, `InitReportSelection → InitReportSelectionCust`, `InitReportSelection → InitReportSelectionInvt`, …)
- [Codeunit 104000 "Upgrade - BaseApp"](../codeunit/104000.md) (3 calls: `UpgradeJobReportSelection → InitReportSelectionJob`, `UpgradeJobTaskReportSelection → InitReportSelection`, `UpgradeRemittanceAdviceReportSelection → InitReportSelection`)
- [Codeunit 104059 "Serv. Upgrade BaseApp"](../codeunit/104059.md) (1 call: `UpgradeServiceItemWorksheetReportSelection → InitReportSelection`)
- [Codeunit 6450 "Serv. Integration Mgt."](../codeunit/6450.md) (1 call: `OnBeforeInitReportSelectionServ → InitReportSelection`)
- [Table 7355 "Report Selection Warehouse"](../table/7355.md) (1 call: `SelectTempReportSelectionsToPrint → InitReportSelectionWhse`)

## Recent changes

- 2026-08-16 [#9067 Production Definition Wizard - Implementation](../../changes/bcapps/9067.md) (main, BC30, feature)
- 2026-08-11 [#9578 [E-Documents Core] - Enabling remittance advice export via E-Documents (payment journal + posted payments)](../../changes/bcapps/9578.md) (main, BC30, feature)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC25, BC29

## Countries that replace it

[AT](../../localizations/at.md), [CH](../../localizations/ch.md), [DE](../../localizations/de.md), [RU](../../localizations/ru.md)

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "Report Selection Mgt.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
