---
id: object/table/7206
type: object
title: Table 7206 "CRM Company"
summary: Table 7206 "CRM Company" in Base Application (Microsoft.Integration.D365Sales). 28 fields. Present since at least BC23, still in BC30, changed in BC24.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "24"
  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: 92d49da8c9ea80f01df8eb97055b5b36c5ef4959972591fb4b2d503a354e6862
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Integration/D365Sales/CRMCompany.Table.al
    title: src/Layers/W1/BaseApp/Integration/D365Sales/CRMCompany.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 7206
name: CRM Company
namespace: Microsoft.Integration.D365Sales
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 28
  procedures: 0
  events: 0
  subscribers: 0
relations:
  out: 14
  referenced_by: 2
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 7206 "CRM Company"

> Table 7206 "CRM Company" in Base Application (Microsoft.Integration.D365Sales). 28 fields. Present since at least BC23, still in BC30, changed in BC24.

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

## Properties

| Property | Value |
|---|---|
| TableType | CRM |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | cdm_companyId | GUID | Company <small>caption</small> |  |
| 2 | CreatedOn | Datetime | Created On <small>caption</small> |  |
| 3 | CreatedBy | GUID | Created By <small>caption</small> | TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md) ("CRM SystemUser".SystemUserId) |
| 4 | ModifiedOn | Datetime | Modified On <small>caption</small> |  |
| 5 | ModifiedBy | GUID | Modified By <small>caption</small> | TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md) ("CRM SystemUser".SystemUserId) |
| 6 | CreatedOnBehalfBy | GUID | Created By (Delegate) <small>caption</small> | TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md) ("CRM SystemUser".SystemUserId) |
| 7 | ModifiedOnBehalfBy | GUID | Modified By (Delegate) <small>caption</small> | TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md) ("CRM SystemUser".SystemUserId) |
| 8 | CreatedByName | Text[200] | Created By Name <small>caption</small> | FlowField: lookup("CRM SystemUser".FullName where(SystemUserId = field(CreatedBy))) |
| 10 | CreatedOnBehalfByName | Text[200] | Created On Behalf By Name <small>caption</small> | FlowField: lookup("CRM SystemUser".FullName where(SystemUserId = field(CreatedOnBehalfBy))) |
| 12 | ModifiedByName | Text[200] | Modified By Name <small>caption</small> | FlowField: lookup("CRM SystemUser".FullName where(SystemUserId = field(ModifiedBy))) |
| 14 | ModifiedOnBehalfByName | Text[200] | Modified On Behalf By Name <small>caption</small> | FlowField: lookup("CRM SystemUser".FullName where(SystemUserId = field(ModifiedOnBehalfBy))) |
| 16 | OwnerId | GUID | Owner <small>caption</small> |  |
| 21 | OwningBusinessUnit | GUID | Owning Business Unit <small>caption</small> | TableRelation [Table 5364 "CRM Businessunit"](../table/5364.md) ("CRM BusinessUnit".BusinessUnitId) |
| 22 | OwningUser | GUID | Owning User <small>caption</small> | TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md) ("CRM SystemUser".SystemUserId) |
| 23 | OwningTeam | GUID | Owning Team <small>caption</small> | TableRelation [Table 5359 "CRM Team"](../table/5359.md) ("CRM Team".TeamId) |
| 24 | OwningBusinessUnitName | Text[160] | — | FlowField: lookup("CRM BusinessUnit".Name where(BusinessUnitId = field(OwningBusinessUnit))) |
| 25 | statecode | Option | Status <small>caption</small> |  |
| 27 | statuscode | Option | Status Reason <small>caption</small> |  |
| 29 | VersionNumber | BigInteger | Version Number <small>caption</small> |  |
| 30 | ImportSequenceNumber | Integer | Import Sequence Number <small>caption</small> |  |
| 31 | OverriddenCreatedOn | Date | Record Created On <small>caption</small> |  |
| 32 | TimeZoneRuleVersionNumber | Integer | Time Zone Rule Version Number <small>caption</small> |  |
| 33 | UTCConversionTimeZoneCode | Integer | UTC Conversion Time Zone Code <small>caption</small> |  |
| 34 | cdm_CompanyCode | Text[30] | Company Code <small>caption</small> |  |
| 35 | cdm_defaultowningteam | GUID | Default owning team <small>caption</small> | TableRelation [Table 5359 "CRM Team"](../table/5359.md) ("CRM Team".TeamId) |
| 36 | cdm_IsEnabledforDualWrite | Boolean | Is Enabled for Dual Write <small>caption</small> |  |
| 38 | cdm_Name | Text[100] | Name <small>caption</small> |  |
| 39 | cdm_defaultowningteamName | Text[160] | Default Owning Team Name <small>caption</small> | FlowField: lookup("CRM Team".Name where(TeamId = field(cdm_defaultowningteam))) |

## Keys

- PK: cdm_companyId (clustered)
- Name: cdm_CompanyCode

## Relations

- CreatedByName: CalcFormula [Table 5340 "CRM Systemuser"](../table/5340.md)
- CreatedOnBehalfByName: CalcFormula [Table 5340 "CRM Systemuser"](../table/5340.md)
- ModifiedByName: CalcFormula [Table 5340 "CRM Systemuser"](../table/5340.md)
- ModifiedOnBehalfByName: CalcFormula [Table 5340 "CRM Systemuser"](../table/5340.md)
- CreatedBy: TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md)
- CreatedOnBehalfBy: TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md)
- ModifiedBy: TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md)
- ModifiedOnBehalfBy: TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md)
- OwningUser: TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md)
- cdm_defaultowningteamName: CalcFormula [Table 5359 "CRM Team"](../table/5359.md)
- cdm_defaultowningteam: TableRelation [Table 5359 "CRM Team"](../table/5359.md)
- OwningTeam: TableRelation [Table 5359 "CRM Team"](../table/5359.md)
- OwningBusinessUnitName: CalcFormula [Table 5364 "CRM Businessunit"](../table/5364.md)
- OwningBusinessUnit: TableRelation [Table 5364 "CRM Businessunit"](../table/5364.md)

## Referenced by

2 fields in 1 objects relate to this table (TableRelation or CalcFormula).

- [Table 7207 "CRM BC Virtual Table Config."](../table/7207.md): msdyn_DefaultCompanyIdName, msdyn_DefaultCompanyId

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24

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). 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: "table", object_name: "CRM Company")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
