---
title: "Codeunit 5341 CRM Int. Table. Subscriber"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/5341-crm-int-table-subscriber/
type: codeunit
id: 5341
name: "CRM Int. Table. Subscriber"
app: "Base Application"
namespace: Microsoft.Integration.D365Sales
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/5341-crm-int-table-subscriber/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 5341 CRM Int. Table. Subscriber

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/5341-crm-int-table-subscriber/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Integration.D365Sales |
| Versions | 17-28 |
| Source file | Integration/D365Sales/CRMIntTableSubscriber.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| ClearCache | () | - | public | 17-28 | - | - |
| OnBeforeTransferRecordFields | (RecordRef, var RecordRef) | - | public | 17-28 | - | - |
| OnTransferFieldData | (FieldRef, FieldRef, var Variant, var Boolean, var Boolean) | - | public | 17-28 | - | - |
| OnAfterTransferRecordFields | (RecordRef, var RecordRef, var Boolean, Boolean) | - | public | 17-28 | - | - |
| OnBeforeInsertRecord | (RecordRef, var RecordRef) | - | public | 17-28 | - | - |
| OnAfterInsertRecord | (var RecordRef, var RecordRef) | - | public | 17-28 | - | - |
| OnBeforeModifyRecord | (Record Integration Table Mapping, RecordRef, var RecordRef) | - | public | 17-28 | - | - |
| OnAfterModifyRecord | (Record Integration Table Mapping, RecordRef, var RecordRef) | - | public | 17-28 | - | - |
| OnAfterUnchangedRecordHandled | (Record Integration Table Mapping, RecordRef, RecordRef) | - | public | 17-28 | - | - |
| OnQueryPostFilterIgnoreRecord | (RecordRef, var Boolean) | - | public | 17-28 | - | - |
| OnFindUncoupledDestinationRecord | (RecordRef, var RecordRef, var Boolean, var Boolean) | - | public | 17-28 | - | - |
| OnAfterDeleteIntegrationTableMapping | (var Record Integration Table Mapping, Boolean) | - | public | 17-28 | - | - |
| MarkArchivedSalesOrder | (Record Sales Header) | - | public | 21-28 | - | - |
| SetDocOccurenceNumber | (var Record CRM Salesorder, var Record Sales Header) | - | public | 21-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeUpdateCRMInvoiceBeforeInsertRecord | (RecordRef, RecordRef, var Boolean) | 17-28 | - | - |
| Integration event | OnFindNewValueForCoupledRecordPK | (Record Integration Table Mapping, FieldRef, FieldRef, var Variant, var Boolean) | 19-28 | - | - |
| Integration event | OnCheckItemOrResourceIsNotBlockedOnAfterSalesInvLineLoop | (Record Sales Invoice Line) | 20-28 | - | - |
| Integration event | OnUpdateCRMProductAfterTransferRecordFieldsOnAfterCalcItemBlocked | (RecordRef, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeGetSourceDestCodeOnAfterTransferRecordFields | (var RecordRef, var RecordRef, var Boolean, Boolean, var Boolean) | 21-28 | - | - |
| Integration event | OnHandleOnBeforeIgnoreUnchangedRecordHandled | (RecordRef, RecordRef, var Boolean) | 22-28 | - | - |
| Integration event | OnChangeSalesOrderStatusOnBeforeCompareStatus | (var Record Sales Header, var Enum Sales Document Status) | 22-28 | - | - |
| Integration event | OnUpdateCRMInvoiceBeforeInsertRecordOnBeforeDestinationRecordRefGetTable | (var Record CRM Invoice, Record Sales Invoice Header) | 23-28 | - | - |
| Integration event | OnApplySalesLineTaxOnBeforeSetTax | (var Record CRM Salesorderdetail, var Record Sales Line, var Boolean) | 23-28 | - | - |
| Integration event | OnAfterArchSalesDocumentNoConfirm | (var Record Sales Header) | 24-28 | - | - |
| Integration event | OnBeforeFindQuoteSalesHeader | (var Record Sales Header) | 24-28 | - | - |
| Integration event | OnAfterHandlePostFilterIgnoreRecord | (RecordRef, var Boolean) | 26-28 | - | - |

## 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-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
