---
title: "Codeunit 9665 Composite Layout Lookup Helper"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/9665-composite-layout-lookup-helper/
type: codeunit
id: 9665
name: "Composite Layout Lookup Helper"
app: "Base Application"
namespace: Microsoft.Foundation.Reporting
versions: "29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/codeunit/9665-composite-layout-lookup-helper/source/"
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 9665 Composite Layout Lookup Helper

JOP-AL, https://jonas-paprotka.de/ref/codeunit/9665-composite-layout-lookup-helper/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Foundation.Reporting |
| Versions | 29 |
| Minors | W1 29.0; DE 29.0; US 29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/9665-composite-layout-lookup-helper/editions.json) |
| Access | Internal |
| Source file | Foundation/Reporting/CompositeLayoutLookupHelper.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| LookupCompositePart | (Subtype: Enum "Report Layout Subtype"; var Composite: Text) | Boolean | public | 29 | - | - |
| DecodeLayoutName | (CompositeName: Text) | Text | public | 29 | - | - |
| DecodeAppId | (CompositeName: Text) | Guid | internal | 29 | - | - |
| CountPartAssignments | (PartLayout: Record "Report Layout List") | Integer | public | 29 | - | - |
| ClearPartAssignments | (PartLayout: Record "Report Layout List") | Integer | public | 29 | - | - |
| EncodeCompositeName | (AppId: Guid; LayoutName: Text) | Text | internal | 29 | - | - |
| CompositeLayoutKey | (LayoutRec: Record "Report Layout List") | Text | public | 29 | - | - |
| IsBodyLayout | (ReportID: Integer; LayoutName: Text) | Boolean | public | 29 | - | - |
| GetTenantReportDefaultsReportID | () | Integer | internal | 29 | - | - |
| GetResolvedPartDisplays | (ReportID: Integer; LayoutName: Text; var HeaderDisplay: Text; var HeaderSource: Text; var ThemeDisplay: Text; var ThemeSource: Text) | - | public | 29 | - | - |
| GetLayoutLevelPartDisplays | (ReportID: Integer; LayoutName: Text; var HeaderDisplay: Text; var HeaderSource: Text; var ThemeDisplay: Text; var ThemeSource: Text; var HeaderResolved: Boolean; var ThemeResolved: Boolean) | - | internal | 29 | - | - |
| GetReportLevelPartDisplays | (ReportID: Integer; var HeaderDisplay: Text; var HeaderSource: Text; var ThemeDisplay: Text; var ThemeSource: Text) | - | internal | 29 | - | - |
| GetCompanyDefaultDisplays | (var HeaderDisplay: Text; var ThemeDisplay: Text) | - | public | 29 | - | - |
| AssignCompanyDefaultPart | (Subtype: Enum "Report Layout Subtype"; var Display: Text) | Boolean | public | 29 | - | - |
| ClearCompanyDefaultPart | (Subtype: Enum "Report Layout Subtype") | - | public | 29 | - | - |

## 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-11-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
