---
title: "Codeunit 5355 CRM Notes Synch Job, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/points/
object: https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/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 5355 CRM Notes Synch Job, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/points/

14 procedures and triggers with a step in src/Layers/W1/BaseApp/Integration/D365Sales/CRMNotesSynchJob.Codeunit.al, in source order, read from the text, not from a run.

## OnRun

[Line 18](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L18), trigger.

- [20](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L20) calls `UpdateOrders`

## UpdateOrders

[Line 29](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L29), local.

- [36](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L36) calls [Codeunit 5344 CRM Product Name](https://jonas-paprotka.de/ref/codeunit/5344-crm-product-name/) `FULL`
- [39](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L39) calls [Table 5330 CRM Connection Setup](https://jonas-paprotka.de/ref/table/5330-crm-connection-setup/) `RegisterConnectionWithName`
- [41](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L41) calls [Table 5330 CRM Connection Setup](https://jonas-paprotka.de/ref/table/5330-crm-connection-setup/) `GetDefaultCRMConnection`
- [43](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L43) calls `UpdateSalesOrderNotes`
- [45](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L45) calls [Table 5330 CRM Connection Setup](https://jonas-paprotka.de/ref/table/5330-crm-connection-setup/) `UnregisterConnectionWithName`

## UpdateSalesOrderNotes

[Line 48](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L48), local.

- [63](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L63) calls [Codeunit 5335 Integration Table Synch.](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/) `BeginIntegrationSynchJob`
- [65](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L65) calls [Codeunit 5335 Integration Table Synch.](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/) `BeginIntegrationSynchJobLoging`
- [74](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L74) calls `CreateAnnotationsForCreatedNotes`
- [75](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L75) calls `CreateNotesForCreatedAnnotations`
- [76](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L76) calls `ModifyNotesForModifiedAnnotations`
- [78](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L78) calls [Codeunit 5335 Integration Table Synch.](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/) `UpdateSynchJobCounters`
- [79](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L79) calls [Codeunit 5335 Integration Table Synch.](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/) `UpdateSynchJobCounters`
- [80](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L80) calls [Codeunit 5335 Integration Table Synch.](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/) `EndIntegrationSynchJobWithMsg`
- [80](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L80) calls `GetOrderNotesUpdateFinalMessage`

## CreateCRMAnnotation

[Line 109](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L109), local.

- [120](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L120) calls [Codeunit 447 Record Link Management](https://jonas-paprotka.de/ref/codeunit/447-record-link-management/) `ReadNote`
- [130](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L130) writes [Table 5385 CRM Annotation](https://jonas-paprotka.de/ref/table/5385-crm-annotation/) Insert
- [133](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L133) calls [Table 5392 CRM Annotation Coupling](https://jonas-paprotka.de/ref/table/5392-crm-annotation-coupling/) `CoupleRecordLinkToCRMAnnotation`

## FindCoupledCRMSalesOrder

[Line 141](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L141), local.

- [146](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L146) calls [Codeunit 5330 CRM Integration Management](https://jonas-paprotka.de/ref/codeunit/5330-crm-integration-management/) `IsCRMIntegrationEnabled`
- [149](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L149) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindIDFromRecordID`

## CreateAnnotationsForCreatedNotes

[Line 159](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L159).

- [170](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L170) writes [Table 5391 CRM Annotation Buffer](https://jonas-paprotka.de/ref/table/5391-crm-annotation-buffer/) Insert
- [175](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L175) calls `ProcessCRMAnnotationBufferEntry`

## CreateNotesForCreatedAnnotations

[Line 180](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L180).

- [189](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L189) calls `CreateAndCoupleNote`

## ModifyNotesForModifiedAnnotations

[Line 194](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L194).

- [203](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L203) calls `ModifyNote`

## CreateAndCoupleNote

[Line 207](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L207), local.

- [216](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L216) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindRecordIDFromID`
- [225](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L225) calls [Table 5392 CRM Annotation Coupling](https://jonas-paprotka.de/ref/table/5392-crm-annotation-coupling/) `FindByCRMId`
- [228](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L228) calls [Codeunit 5343 CRM Sales Order to Sales Order](https://jonas-paprotka.de/ref/codeunit/5343-crm-sales-order-to-sales-order/) `CreateNote`
- [229](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L229) calls [Table 5392 CRM Annotation Coupling](https://jonas-paprotka.de/ref/table/5392-crm-annotation-coupling/) `CoupleRecordLinkToCRMAnnotation`

## ModifyNote

[Line 233](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L233), local.

- [243](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L243) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindRecordIDFromID`
- [246](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L246) calls [Table 5392 CRM Annotation Coupling](https://jonas-paprotka.de/ref/table/5392-crm-annotation-coupling/) `FindByCRMId`
- [258](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L258) calls [Table 5392 CRM Annotation Coupling](https://jonas-paprotka.de/ref/table/5392-crm-annotation-coupling/) `ExtractNoteText`
- [259](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L259) calls [Codeunit 447 Record Link Management](https://jonas-paprotka.de/ref/codeunit/447-record-link-management/) `ReadNote`
- [260](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L260) calls [Codeunit 447 Record Link Management](https://jonas-paprotka.de/ref/codeunit/447-record-link-management/) `WriteNote`
- [261](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L261) writes [Table 2000000068 Record Link](https://jonas-paprotka.de/ref/table/2000000068-record-link/) Modify(true)
- [264](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L264) writes [Table 5392 CRM Annotation Coupling](https://jonas-paprotka.de/ref/table/5392-crm-annotation-coupling/) Modify

## ProcessCRMAnnotationBufferEntry

[Line 271](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L271), local.

- [281](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L281) calls `DeleteCRMAnnotationBufferEntry`
- [288](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L288) calls `FindCoupledCRMSalesOrder`
- [289](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L289) calls `DeleteCRMAnnotationBufferEntry`
- [294](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L294) calls `DeleteCRMAnnotationBufferEntry`
- [299](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L299) calls `DeleteCRMAnnotationBufferEntry`
- [303](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L303) calls `CreateCRMAnnotation`
- [304](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L304) calls `DeleteCRMAnnotationBufferEntry`

## DeleteCRMAnnotationBufferEntry

[Line 308](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L308), local.

- [313](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L313) writes [Table 5391 CRM Annotation Buffer](https://jonas-paprotka.de/ref/table/5391-crm-annotation-buffer/) Delete

## CreateCRMAnnotationBufferOnAfterInsertRecordLink

[Line 317](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L317), local.

- [347](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L347) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindIDFromRecordID`
- [350](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L350) calls `CreateCRMAnnotationBufferEntry`

## CreateCRMAnnotationBufferEntry

[Line 353](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L353), local.

- [362](https://jonas-paprotka.de/ref/codeunit/5355-crm-notes-synch-job/source/#L362) writes [Table 5391 CRM Annotation Buffer](https://jonas-paprotka.de/ref/table/5391-crm-annotation-buffer/) Insert(true)

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
