---
title: "Codeunit 9660 Report Layouts Impl."
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/9660-report-layouts-impl/
type: codeunit
id: 9660
name: "Report Layouts Impl."
app: "Base Application"
namespace: Microsoft.Shared.Report
versions: "25-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/9660-report-layouts-impl/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 9660 Report Layouts Impl.

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/9660-report-layouts-impl/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Shared.Report |
| Versions | 25-28 |
| Source file | Foundation/Reporting/ReportLayoutsImpl.codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| SetSelectedCompany | (Text) | - | internal | 25-28 | - | - |
| RunCustomReport | (Record Report Layout List) | - | internal | 25-28 | - | - |
| CreateNewReportLayout | (Record Report Layout List, var Integer, var Text) | - | internal | 25-28 | - | - |
| SetDefaultReportLayoutSelection | (Record Report Layout List, Boolean) | - | internal | 25-28 | - | - |
| GetDefaultReportLayoutSelection | (Integer, var Record Report Layout List) | Boolean | internal | 25-28 | - | - |
| UpdateDefaultLayoutSelectionName | (Record Report Layout List, Text[250]) | Boolean | internal | 25-28 | - | - |
| ConfirmDeleteDefaultLayoutSelection | (Record Report Layout List, Record Tenant Report Layout Selection) | Boolean | internal | 25-28 | - | - |
| InsertNewLayout | (Integer, Text[250], Text[250], Option, Boolean, Boolean, var Integer, var Text) | - | internal | 25 | - | - |
| DeleteReportLayout | (Record Tenant Report Layout) | - | internal | 25-28 | - | - |
| ReplaceLayout | (Integer, Text[250], Text[250], Option, var Integer, var Text) | - | internal | 25-28 | - | - |
| EditReportLayout | (Record Report Layout List, var Text) | - | internal | 25-28 | - | - |
| ExportReportLayout | (Record Report Layout List, Boolean) | Text | internal | 25-28 | - | - |
| OpenInOneDrive | (Record Report Layout List) | - | internal | 25-28 | - | - |
| ShareWithOneDrive | (Record Report Layout List) | - | internal | 25-28 | - | - |
| EditInOneDrive | (Record Report Layout List) | - | internal | 25-28 | - | - |
| ExportReportSchema | (Record Report Layout List, Text, Boolean) | Text | public | 25-28 | - | - |
| InsertNewLayout | (Integer, Text[250], Text[250], Option, Boolean, Boolean, Enum Excel Sheet Configuration, var Integer, var Text) | - | internal | 26-28 | - | - |
| ValidateLayout | (Record Report Layout List) | - | internal | 26-28 | - | - |
| ShowInfoDialog | (Record Report Layout List) | - | internal | 26-28 | - | - |
| SetLayoutStatus | (Record Report Layout List, Enum Report Layout Status) | Boolean | internal | 28 | - | - |
| SetLayoutStatusBatch | (var Record Report Layout List, Enum Report Layout Status) | Integer | internal | 28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Internal event | OnBeforeUpload | (var Boolean, var Text, var InStream) | 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.
