---
id: object/page/9652
type: object
title: Page 9652 "Report Layout Selection"
summary: Page 9652 "Report Layout Selection" in Base Application (Microsoft.Foundation.Reporting). 2 public procedures, 4 events. Present since at least BC23, still in BC30, changed in BC28-29.
tier: official
language: en
tags:
  - page
  - 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: 348e6f4675802c184ab4ec4fd0b88ea9ed331abd90d8589b97d005a72ab59da8
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Foundation/Reporting/ReportLayoutSelection.Page.al
    title: src/Layers/W1/BaseApp/Foundation/Reporting/ReportLayoutSelection.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/ui-excel-report-layouts
    title: Working with Excel layouts
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/ui-get-started-layouts
    title: Get started creating report layouts
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/ui-how-change-layout-currently-used-report
    title: (Obsolete) Set the Layout Used by a Report
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/ui-how-create-custom-report-layout
    title: (Obsolete) Create and modify custom report layouts
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/ui-how-import-and-export-report-layout
    title: (Obsolete) Import and Export Custom Report Layouts
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/ui-manage-report-layouts
    title: Report and document layouts overview
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/ui-rdlc-report-layouts
    title: Working with RDLC Layouts
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/ui-set-report-layout
    title: Set the Layout Used by a Report in Business Central
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/ui-update-report-layouts
    title: (Obsolete) Update Custom Report Layouts
    date: null
    commit: null
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/ui-excel-report-layouts
    - https://learn.microsoft.com/dynamics365/business-central/ui-get-started-layouts
    - https://learn.microsoft.com/dynamics365/business-central/ui-how-change-layout-currently-used-report
    - https://learn.microsoft.com/dynamics365/business-central/ui-how-create-custom-report-layout
    - https://learn.microsoft.com/dynamics365/business-central/ui-how-import-and-export-report-layout
    - https://learn.microsoft.com/dynamics365/business-central/ui-manage-report-layouts
    - https://learn.microsoft.com/dynamics365/business-central/ui-rdlc-report-layouts
    - https://learn.microsoft.com/dynamics365/business-central/ui-set-report-layout
    - https://learn.microsoft.com/dynamics365/business-central/ui-update-report-layouts
  objects: []
  features: []
  topics:
    - topic/business-central/analytics-business-intelligence-and-repo/develop-reports/develop-report-layouts
    - topic/business-central/analytics-business-intelligence-and-repo/use-reports-in-daily-work
    - topic/business-central/get-started/get-productive-in-business-central/change-the-look-of-externally-facing-doc
    - topic/business-central/get-started/get-productive-in-business-central/change-the-look-of-externally-facing-doc/use-obsolete-features
    - topic/business-central/integrate-with-other-applications/microsoft-office-apps-and-microsoft-365/microsoft-excel
    - topic/dev-itpro/development/data-analytics-and-reporting
    - topic/dev-itpro/development/programming-in-the-al-language/developing-reports/report-layouts
    - topic/dev-itpro/integration/integrating-business-central-with-office/integrating-with-microsoft-excel
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/11211
    - change/bcapps/11153
    - change/bcapps/10404
object_type: page
object_id: 9652
name: Report Layout Selection
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:
  - "28"
  - "29"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids:
  - docs/learn-smb-docs/business-central/ui-excel-report-layouts.md
  - docs/learn-smb-docs/business-central/ui-get-started-layouts.md
  - docs/learn-smb-docs/business-central/ui-how-change-layout-currently-used-report.md
  - docs/learn-smb-docs/business-central/ui-how-create-custom-report-layout.md
  - docs/learn-smb-docs/business-central/ui-how-import-and-export-report-layout.md
  - docs/learn-smb-docs/business-central/ui-manage-report-layouts.md
  - docs/learn-smb-docs/business-central/ui-rdlc-report-layouts.md
  - docs/learn-smb-docs/business-central/ui-set-report-layout.md
  - docs/learn-smb-docs/business-central/ui-update-report-layouts.md
counts:
  fields: 0
  procedures: 20
  events: 4
  subscribers: 0
  controls: 7
  actions: 7
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 1
  calls: 3
  called_by: 0
  implements: 0
---

# Page 9652 "Report Layout Selection"

> Page 9652 "Report Layout Selection" in Base Application (Microsoft.Foundation.Reporting). 2 public procedures, 4 events. Present since at least BC23, still in BC30, changed in BC28-29.

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

## Properties

| Property | Value |
|---|---|
| Caption | Report Layout Selection |
| SourceTable | Report Layout Selection |
| PageType | List |
| ApplicationArea | Basic, Suite |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| Company | Company Name | `SelectedCompany` | Specifies the name of the company that is used for the report. |
| Control1 | Report ID | [Report ID](../table/9651.md#fields) | Specifies the object ID of the report. <small>from the table field</small> |
|  | Report Name | [Report Name](../table/9651.md#fields) | Specifies the name of the report. <small>from the table field</small> |
|  | Layout Type | [Type](../table/9651.md#fields) | Specifies the type of the report layout that is currently used on the report. <small>from the table field</small> |
|  | Custom Report Layout Code | [Custom Report Layout Code](../table/9651.md#fields) | Specifies the custom report layout. <small>from the table field</small> |
|  | Layout Description | `CustomLayoutDescription` | Specifies the description of the layout that is used by the report. |
| FactBoxes | Custom Layouts | part [Page 9653 "Report Layouts Part"](../page/9653.md) | — |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Processing | Select Layout | Select one of the layouts that are available for a report. |  |
|  | Restore Default Selection | Restore the default selection for this layout. |  |
|  | Custom Layouts <small>obsolete Pending 28.0; #if not CLEAN28</small> | View or edit the custom layouts that are available for a report. | [Page 9650 "Custom Report Layouts"](../page/9650.md) |
|  | Run Report | Run a test report. |  |
|  | Show layout parts | Show the header/footer and theme parts that will actually apply to the selected report in the current company, including where each part is resolved from. |  |
|  | Update All layouts | Update specific report layouts or all custom report layouts that might be affected by dataset changes. |  |
|  | Test Layout Updates | Check if there are any updates detected. |  |

## Events published

- `OnSelectReportLayout(var ReportLayoutList: Record "Report Layout List"; var Handled: Boolean)` (integration)
  - subscribers: [Codeunit 9660 "Report Layouts Impl."](../codeunit/9660.md) SelectReportLayout
- `OnGetRecOnBeforeModify(var ReportLayoutSelection: Record "Report Layout Selection"; SelectedCompany: Text[30])` (integration)
- `OnUpdateRecOnBeforeInsert(var ToReportLayoutSelection: Record "Report Layout Selection"; FromReportLayoutSelection: Record "Report Layout Selection"; SelectedCompany: Text[30])` (integration)
- `OnUpdateRecOnBeforeModify(var ToReportLayoutSelection: Record "Report Layout Selection"; FromReportLayoutSelection: Record "Report Layout Selection"; SelectedCompany: Text[30])` (integration)

## Procedures

- `UpdateRec()`
- `GetSelectedCompanyName(): Text[30]`

Plus 14 local procedures.

## Triggers

OnAfterGetCurrRecord, OnAfterGetRecord, OnFindRecord, OnOpenPage

## Relations

- source table [Table 9651 "Report Layout Selection"](../table/9651.md)

## Calls

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 9665 "Composite Layout Lookup Helper"](../codeunit/9665.md) (3 calls: `ShowResolvedLayoutParts → CompositeLayoutKey`, `ShowResolvedLayoutParts → GetReportLevelPartDisplays`, `ShowResolvedLayoutParts → GetResolvedPartDisplays`)
- [Codeunit 9660 "Report Layouts Impl."](../codeunit/9660.md) (2 calls: `ShowResolvedLayoutParts → GetDefaultReportLayoutSelection`, `ShowResolvedLayoutParts → SetSelectedCompany`)
- [Codeunit 265 "Feature Key Management"](../codeunit/265.md) (1 call: `OnOpenPage → IsDocumentReportExperienceEnabled`)

## Recent changes

- 2026-09-10 [#11211 [Bug 649379] Composite layout stress-test fixes, part resolution source and status action captions](../../changes/bcapps/11211.md) (main, BC30, fix)
- 2026-09-08 [#11153 Bug 649312: [29.x] Backport expense request report layout and dataclassification on userid field](../../changes/bcapps/11153.md) (releases/29.x, BC29, fix)
- 2026-09-03 [#10404 Deliverable 638799: Requisitions in Base App - add layout to report + minor fixes](../../changes/bcapps/10404.md) (main, BC30, feature)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC28-29

## Documented on Microsoft Learn

- [Working with Excel layouts](https://learn.microsoft.com/dynamics365/business-central/ui-excel-report-layouts)
- [Get started creating report layouts](https://learn.microsoft.com/dynamics365/business-central/ui-get-started-layouts)
- [(Obsolete) Set the Layout Used by a Report](https://learn.microsoft.com/dynamics365/business-central/ui-how-change-layout-currently-used-report)
- [(Obsolete) Create and modify custom report layouts](https://learn.microsoft.com/dynamics365/business-central/ui-how-create-custom-report-layout)
- [(Obsolete) Import and Export Custom Report Layouts](https://learn.microsoft.com/dynamics365/business-central/ui-how-import-and-export-report-layout)
- [Report and document layouts overview](https://learn.microsoft.com/dynamics365/business-central/ui-manage-report-layouts)
- [Working with RDLC Layouts](https://learn.microsoft.com/dynamics365/business-central/ui-rdlc-report-layouts)
- [Set the Layout Used by a Report in Business Central](https://learn.microsoft.com/dynamics365/business-central/ui-set-report-layout)
- [(Obsolete) Update Custom Report Layouts](https://learn.microsoft.com/dynamics365/business-central/ui-update-report-layouts)

## Deprecations

- procedure SelectReportLayout: guarded (#if not CLEAN28)

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: "page", object_name: "Report Layout Selection")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
