---
title: "Codeunit 9666 Company Metadata Builder"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/9666-company-metadata-builder/
type: codeunit
id: 9666
name: "Company Metadata Builder"
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/9666-company-metadata-builder/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 9666 Company Metadata Builder

JOP-AL, https://jonas-paprotka.de/ref/codeunit/9666-company-metadata-builder/

| | |
| --- | --- |
| 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/9666-company-metadata-builder/editions.json) |
| Access | Internal |
| Source file | Foundation/Reporting/CompanyMetadataBuilder.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| SetName | (Value: Text) | - | public | 29 | - | - |
| SetDisplayName | (Value: Text) | - | public | 29 | - | - |
| AddAddressLine | (Value: Text) | - | public | 29 | - | - |
| SetPhone | (Value: Text) | - | public | 29 | - | - |
| SetPhoneCaption | (Value: Text) | - | public | 29 | - | - |
| SetFaxNo | (Value: Text) | - | public | 29 | - | - |
| SetFaxNoCaption | (Value: Text) | - | public | 29 | - | - |
| SetEmail | (Value: Text) | - | public | 29 | - | - |
| SetEmailCaption | (Value: Text) | - | public | 29 | - | - |
| SetHomePage | (Value: Text) | - | public | 29 | - | - |
| SetHomePageCaption | (Value: Text) | - | public | 29 | - | - |
| SetLogo | (Base64Value: Text) | - | public | 29 | - | - |
| SetVATRegistrationNo | (Value: Text) | - | public | 29 | - | - |
| SetVATRegistrationNoCaption | (Value: Text) | - | public | 29 | - | - |
| SetRegistrationNo | (Value: Text) | - | public | 29 | - | - |
| SetRegistrationNoCaption | (Value: Text) | - | public | 29 | - | - |
| SetBankName | (Value: Text) | - | public | 29 | - | - |
| SetBankNameCaption | (Value: Text) | - | public | 29 | - | - |
| SetBankAccountNo | (Value: Text) | - | public | 29 | - | - |
| SetBankAccountNoCaption | (Value: Text) | - | public | 29 | - | - |
| SetBankBranchNo | (Value: Text) | - | public | 29 | - | - |
| SetBankBranchNoCaption | (Value: Text) | - | public | 29 | - | - |
| SetIBAN | (Value: Text) | - | public | 29 | - | - |
| SetIBANCaption | (Value: Text) | - | public | 29 | - | - |
| SetBankSWIFT | (Value: Text) | - | public | 29 | - | - |
| SetBankSWIFTCaption | (Value: Text) | - | public | 29 | - | - |
| SetGiroNo | (Value: Text) | - | public | 29 | - | - |
| SetGiroNoCaption | (Value: Text) | - | public | 29 | - | - |
| PopulateFromCompanyInformation | (var CompanyInfo: Record "Company Information") | - | public | 29 | - | - |
| WriteTo | (var CompanyMetadata: JsonObject) | - | 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.
