---
id: object/table/5385
type: object
title: Table 5385 "CRM Annotation"
summary: Table 5385 "CRM Annotation" in Base Application (Microsoft.Integration.D365Sales). 17 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: b47aebc9d3ed5c8e25f6e7844e6ecf01db3de7944f742e2b4cf8c3a186408473
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Integration/D365Sales/CRMAnnotation.Table.al
    title: src/Layers/W1/BaseApp/Integration/D365Sales/CRMAnnotation.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: 5385
name: CRM Annotation
caption: Note
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: 17
  procedures: 0
  events: 0
  subscribers: 0
relations:
  out: 4
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 5385 "CRM Annotation"

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

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

## Properties

| Property | Value |
|---|---|
| Caption | Note |
| 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 | AnnotationId | Guid | Note <small>caption</small> | DataClassification SystemMetadata |
| 2 | ObjectId | Guid | Regarding <small>caption</small> | TableRelation [Table 5343 "CRM Opportunity"](../table/5343.md), [Table 5348 "CRM Product"](../table/5348.md), [Table 5349 "CRM Incident"](../table/5349.md) (if (ObjectTypeCode = const(opportunity)) "CRM Opportunity".OpportunityId else if (ObjectTypeCode = const(product)) "CRM Product".ProductId else if (ObjectTypeCode = const(incident)) "CRM Incident".IncidentId else if (ObjectTypeCode = const(quote)) "CRM Quote".QuoteId else if (ObjectTypeCode = const(...); DataClassification SystemMetadata |
| 3 | Subject | Text[250] | Title <small>caption</small> | DataClassification SystemMetadata |
| 4 | IsDocument | Boolean | Is Document <small>caption</small> | DataClassification SystemMetadata |
| 5 | NoteText | BLOB | Description <small>caption</small> | DataClassification SystemMetadata |
| 6 | MimeType | Text[250] | Mime Type <small>caption</small> | DataClassification SystemMetadata |
| 7 | LangId | Text[2] | Language ID <small>caption</small> | DataClassification SystemMetadata |
| 8 | DocumentBody | Text[250] | Document <small>caption</small> | DataClassification SystemMetadata |
| 9 | CreatedOn | DateTime | Created On <small>caption</small> | DataClassification SystemMetadata |
| 10 | FileSize | Integer | File Size (Bytes) <small>caption</small> | DataClassification SystemMetadata |
| 11 | FileName | Text[250] | File Name <small>caption</small> | DataClassification SystemMetadata |
| 12 | ModifiedOn | DateTime | Modified On <small>caption</small> | DataClassification SystemMetadata |
| 13 | VersionNumber | BigInteger | Version Number <small>caption</small> | DataClassification SystemMetadata |
| 14 | StepId | Text[32] | Step Id <small>caption</small> | DataClassification SystemMetadata |
| 15 | OverriddenCreatedOn | DateTime | Record Created On <small>caption</small> | DataClassification SystemMetadata |
| 16 | ImportSequenceNumber | Integer | Import Sequence Number <small>caption</small> | DataClassification SystemMetadata |
| 17 | ObjectTypeCode | Option | — | OptionCaption: ' ,lead,product,bookableresource,bookableresourcebooking,bookableresourcebookingheader,bookableresourcecategoryassn,bookableresourcecharacteristic,bookableresourcegroup,campaign,list,contract,contractdetail,entitlement,entitlementchannel,entitlementtemplate,equipment,incident,resourcespec,service,in...; DataClassification SystemMetadata |

## Keys

- Key1: AnnotationId (clustered)
- Key2: Subject

## Relations

- ObjectId: TableRelation [Table 5343 "CRM Opportunity"](../table/5343.md) (conditional)
- ObjectId: TableRelation [Table 5348 "CRM Product"](../table/5348.md) (conditional)
- ObjectId: TableRelation [Table 5349 "CRM Incident"](../table/5349.md) (conditional)
- ObjectId: TableRelation [Table 5351 "CRM Quote"](../table/5351.md) (conditional)

## 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 Annotation")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
