Codeunit 9666 "Company Metadata Builder"
Base Application · Microsoft.Foundation.Reporting
Across versions
- BC23-28not present
- BC29added
- BC30unchanged
Neighbourhood 2 connected objects and pages
Base Application · Microsoft.Foundation.Reporting · BC29-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
Procedures
SetName(Value: Text)SetDisplayName(Value: Text)AddAddressLine(Value: Text)SetPhone(Value: Text)SetPhoneCaption(Value: Text)SetFaxNo(Value: Text)SetFaxNoCaption(Value: Text)SetEmail(Value: Text)SetEmailCaption(Value: Text)SetHomePage(Value: Text)SetHomePageCaption(Value: Text)SetLogo(Base64Value: Text)SetVATRegistrationNo(Value: Text)SetVATRegistrationNoCaption(Value: Text)SetRegistrationNo(Value: Text)SetRegistrationNoCaption(Value: Text)SetBankName(Value: Text)SetBankNameCaption(Value: Text)SetBankAccountNo(Value: Text)SetBankAccountNoCaption(Value: Text)SetBankBranchNo(Value: Text)SetBankBranchNoCaption(Value: Text)SetIBAN(Value: Text)SetIBANCaption(Value: Text)SetBankSWIFT(Value: Text)SetBankSWIFTCaption(Value: Text)SetGiroNo(Value: Text)SetGiroNoCaption(Value: Text)PopulateFromCompanyInformation(var CompanyInfo: Record "Company Information"): Populates the company block from a Company Information record: name, the formatted address (via the country/region address format), and the phone/fax/email/home page, VAT/registration, bank, and giro fields with their captions. Display name and logo are set separately by the caller because they are …WriteTo(var CompanyMetadata: JsonObject): Merges the built payload (including the address-line repeater) into the JsonObject the platform passed to the subscriber. Modifies the passed object in place.
Plus 1 local procedures.
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 365 “Format Address” (1 call:
PopulateFromCompanyInformation → Company)
Called by
- Codeunit 44 “ReportManagement” (4 calls:
GetCompanyMetadata → PopulateFromCompanyInformation,GetCompanyMetadata → SetDisplayName,GetCompanyMetadata → SetLogo, …)
Recent changes
- 2026-08-03 #9094 Add shared CompanyMetadata data source for report layouts (main, BC30, feature, added)
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: "Company Metadata Builder"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.