---
title: "Codeunit 5335 Integration Table Synch., extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/points/
object: https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/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 5335 Integration Table Synch., extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/points/

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

## BeginIntegrationUncoupleJob

[Line 40](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L40).

- [42](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L42) calls `BeginIntegrationSynchJob`

## BeginIntegrationCoupleJob

[Line 45](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L45).

- [47](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L47) calls `BeginIntegrationSynchJob`

## BeginIntegrationSynchJob

[Line 50](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L50), local.

- [55](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L55) calls `EnsureState`
- [62](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L62) calls [Table 5335 Integration Table Mapping](https://jonas-paprotka.de/ref/table/5335-integration-table-mapping/) `GetJobLogEntryNo`
- [64](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L64) calls `DetermineSynchDirection`
- [68](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L68) calls `InitIntegrationSynchJob`
- [71](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L71) raises `OnAfterInitSynchJob`
- [73](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L73) calls `FinishIntegrationSynchJob`

## BeginIntegrationSynchJobLoging

[Line 77](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L77).

- [79](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L79) calls `EnsureState`
- [90](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L90) calls `InitIntegrationSynchJob`
- [93](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L93) raises `OnAfterInitSynchJob`

## CheckTransferFields

[Line 97](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L97).

- [105](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L105) raises `OnBeforeCheckTransferFields`
- [113](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L113) calls `BuildTempIntegrationFieldMapping`
- [114](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L114) calls [Codeunit 5336 Integration Record Synch.](https://jonas-paprotka.de/ref/codeunit/5336-integration-record-synch/) `SetFieldMapping`
- [115](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L115) calls [Codeunit 5345 Integration Rec. Synch. Invoke](https://jonas-paprotka.de/ref/codeunit/5345-integration-rec-synch-invoke/) `SetContext`
- [119](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L119) calls [Codeunit 5345 Integration Rec. Synch. Invoke](https://jonas-paprotka.de/ref/codeunit/5345-integration-rec-synch-invoke/) `CheckTransferFields`

## Synchronize

[Line 122](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L122).

- [129](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L129) raises `OnBeforeSynchronize`, IsHandled
- [133](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L133) calls `DoesSourceMatchMapping`
- [134](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L134) calls `FinishIntegrationSynchJob`
- [136](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L136) calls [Table 5335 Integration Table Mapping](https://jonas-paprotka.de/ref/table/5335-integration-table-mapping/) `GetName`
- [140](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L140) calls `EnsureState`
- [148](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L148) writes [Table 5338 Integration Synch. Job](https://jonas-paprotka.de/ref/table/5338-integration-synch-job/) Modify(true)
- [150](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L150) calls `BuildTempIntegrationFieldMapping`
- [163](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L163) calls `IsRecordSkipped`
- [166](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L166) calls [Codeunit 5336 Integration Record Synch.](https://jonas-paprotka.de/ref/codeunit/5336-integration-record-synch/) `SetFieldMapping`
- [167](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L167) calls [Codeunit 5345 Integration Rec. Synch. Invoke](https://jonas-paprotka.de/ref/codeunit/5345-integration-rec-synch-invoke/) `SetContext`
- [171](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L171) runs [Codeunit 5345 Integration Rec. Synch. Invoke](https://jonas-paprotka.de/ref/codeunit/5345-integration-rec-synch-invoke/)
- [173](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L173) calls `LogSynchError`
- [174](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L174) calls [Codeunit 5345 Integration Rec. Synch. Invoke](https://jonas-paprotka.de/ref/codeunit/5345-integration-rec-synch-invoke/) `MarkIntegrationRecordAsFailed`
- [176](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L176) calls `IncrementSynchJobCounters`
- [179](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L179) calls [Codeunit 5345 Integration Rec. Synch. Invoke](https://jonas-paprotka.de/ref/codeunit/5345-integration-rec-synch-invoke/) `GetContext`
- [182](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L182) calls `IncrementSynchJobCounters`

## Uncouple

[Line 188](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L188).

- [197](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L197) raises `OnBeforeUncouple`, IsHandled
- [201](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L201) calls `EnsureState`
- [207](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L207) writes [Table 5338 Integration Synch. Job](https://jonas-paprotka.de/ref/table/5338-integration-synch-job/) Modify(true)
- [209](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L209) writes [Table 5337 Temp Integration Field Mapping](https://jonas-paprotka.de/ref/table/5337-temp-integration-field-mapping/) DeleteAll
- [217](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L217) calls [Codeunit 5336 Integration Record Synch.](https://jonas-paprotka.de/ref/codeunit/5336-integration-record-synch/) `SetFieldMapping`
- [218](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L218) calls [Codeunit 5357 Int. Rec. Uncouple Invoke](https://jonas-paprotka.de/ref/codeunit/5357-int-rec-uncouple-invoke/) `SetContext`
- [221](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L221) runs [Codeunit 5357 Int. Rec. Uncouple Invoke](https://jonas-paprotka.de/ref/codeunit/5357-int-rec-uncouple-invoke/)
- [223](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L223) calls `LogSynchError`
- [226](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L226) calls [Codeunit 5357 Int. Rec. Uncouple Invoke](https://jonas-paprotka.de/ref/codeunit/5357-int-rec-uncouple-invoke/) `GetContext`
- [229](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L229) calls `IncrementSynchJobCounters`
- [230](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L230) calls `IncrementSynchJobCounters`

## Couple

[Line 235](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L235).

- [244](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L244) raises `OnBeforeCouple`, IsHandled
- [248](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L248) calls `EnsureState`
- [254](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L254) writes [Table 5338 Integration Synch. Job](https://jonas-paprotka.de/ref/table/5338-integration-synch-job/) Modify(true)
- [256](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L256) writes [Table 5337 Temp Integration Field Mapping](https://jonas-paprotka.de/ref/table/5337-temp-integration-field-mapping/) DeleteAll
- [264](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L264) calls [Codeunit 5336 Integration Record Synch.](https://jonas-paprotka.de/ref/codeunit/5336-integration-record-synch/) `SetFieldMapping`
- [265](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L265) calls [Codeunit 5361 Int. Rec. Couple Invoke](https://jonas-paprotka.de/ref/codeunit/5361-int-rec-couple-invoke/) `SetContext`
- [268](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L268) runs [Codeunit 5361 Int. Rec. Couple Invoke](https://jonas-paprotka.de/ref/codeunit/5361-int-rec-couple-invoke/)
- [270](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L270) calls `LogSynchError`
- [273](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L273) calls [Codeunit 5361 Int. Rec. Couple Invoke](https://jonas-paprotka.de/ref/codeunit/5361-int-rec-couple-invoke/) `GetContext`
- [276](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L276) calls `IncrementSynchJobCounters`
- [277](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L277) calls `IncrementSynchJobCounters`

## CoupleOption

[Line 283](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L283).

- [288](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L288) calls `EnsureState`
- [294](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L294) writes [Table 5338 Integration Synch. Job](https://jonas-paprotka.de/ref/table/5338-integration-synch-job/) Modify(true)
- [296](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L296) writes [Table 5337 Temp Integration Field Mapping](https://jonas-paprotka.de/ref/table/5337-temp-integration-field-mapping/) DeleteAll
- [304](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L304) calls [Table 5334 CRM Option Mapping](https://jonas-paprotka.de/ref/table/5334-crm-option-mapping/) `InsertRecord`
- [304](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L304) calls [Table 5334 CRM Option Mapping](https://jonas-paprotka.de/ref/table/5334-crm-option-mapping/) `GetRecordRefOptionId`
- [304](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L304) calls [Table 5334 CRM Option Mapping](https://jonas-paprotka.de/ref/table/5334-crm-option-mapping/) `GetRecordRefOptionValue`
- [306](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L306) calls `LogSynchError`
- [310](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L310) calls `IncrementSynchJobCounters`

## LogMatchBasedCouplingError

[Line 314](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L314).

- [318](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L318) calls `EnsureState`
- [324](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L324) writes [Table 5338 Integration Synch. Job](https://jonas-paprotka.de/ref/table/5338-integration-synch-job/) Modify(true)
- [326](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L326) writes [Table 5337 Temp Integration Field Mapping](https://jonas-paprotka.de/ref/table/5337-temp-integration-field-mapping/) DeleteAll
- [332](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L332) calls `LogSynchError`

## Delete

[Line 335](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L335).

- [341](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L341) calls `EnsureState`
- [350](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L350) writes [Table 5338 Integration Synch. Job](https://jonas-paprotka.de/ref/table/5338-integration-synch-job/) Modify(true)
- [354](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L354) calls [Codeunit 5347 Integration Rec. Delete Invoke](https://jonas-paprotka.de/ref/codeunit/5347-integration-rec-delete-invoke/) `SetContext`
- [357](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L357) runs [Codeunit 5347 Integration Rec. Delete Invoke](https://jonas-paprotka.de/ref/codeunit/5347-integration-rec-delete-invoke/)
- [358](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L358) calls `LogSynchError`
- [361](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L361) calls [Codeunit 5347 Integration Rec. Delete Invoke](https://jonas-paprotka.de/ref/codeunit/5347-integration-rec-delete-invoke/) `GetContext`
- [364](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L364) calls `IncrementSynchJobCounters`

## EndIntegrationSynchJob

[Line 369](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L369).

- [371](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L371) calls `EndIntegrationSynchJobWithMsg`

## EndIntegrationSynchJobWithMsg

[Line 374](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L374).

- [377](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L377) calls `FinishIntegrationSynchJob`

## DetermineSynchDirection

[Line 409](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L409), local.

- [416](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L416) raises `OnDetermineSynchDirection`, IsHandled

## InitIntegrationSynchJob

[Line 444](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L444), local.

- [448](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L448) calls `CreateIntegrationSynchJobEntry`

## FinishIntegrationSynchJob

[Line 453](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L453), local.

- [458](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L458) writes [Table 5338 Integration Synch. Job](https://jonas-paprotka.de/ref/table/5338-integration-synch-job/) Modify(true)

## CreateIntegrationSynchJobEntry

[Line 462](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L462), local.

- [465](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L465) calls `InsertIntegrationSynchJobEntry`
- [468](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L468) calls `InsertIntegrationSynchJobEntry`

## InsertIntegrationSynchJobEntry

[Line 471](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L471), local.

- [477](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L477) calls [Table 5335 Integration Table Mapping](https://jonas-paprotka.de/ref/table/5335-integration-table-mapping/) `GetName`
- [481](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L481) writes [Table 5338 Integration Synch. Job](https://jonas-paprotka.de/ref/table/5338-integration-synch-job/) Insert(true)

## BuildTempIntegrationFieldMapping

[Line 486](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L486), local.

- [498](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L498) writes [Table 5337 Temp Integration Field Mapping](https://jonas-paprotka.de/ref/table/5337-temp-integration-field-mapping/) DeleteAll
- [516](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L516) writes [Table 5337 Temp Integration Field Mapping](https://jonas-paprotka.de/ref/table/5337-temp-integration-field-mapping/) Insert

## LogSynchError

[Line 525](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L525).

- [532](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L532) calls `IncrementSynchJobCounters`
- [538](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L538) calls [Table 5339 Integration Synch. Job Errors](https://jonas-paprotka.de/ref/table/5339-integration-synch-job-errors/) `LogSynchError`

## IncrementSynchJobCounters

[Line 543](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L543).

- [545](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L545) calls `UpdateSynchJobCounters`

## UpdateSynchJobCounters

[Line 548](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L548).

- [572](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L572) writes [Table 5338 Integration Synch. Job](https://jonas-paprotka.de/ref/table/5338-integration-synch-job/) Modify

## IsRecordSkipped

[Line 586](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L586), local.

- [590](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L590) calls [Codeunit 5338 Integration Record Management](https://jonas-paprotka.de/ref/codeunit/5338-integration-record-management/) `IsIntegrationRecordSkipped`

## SynchronizeOption

[Line 593](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L593).

- [599](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L599) raises `OnBeforeSynchronizeOption`, IsHandled
- [603](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L603) calls `EnsureState`
- [611](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L611) writes [Table 5338 Integration Synch. Job](https://jonas-paprotka.de/ref/table/5338-integration-synch-job/) Modify(true)
- [623](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L623) calls `IsOptionSkipped`
- [626](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L626) calls [Codeunit 5364 Int. Option Synch. Invoke](https://jonas-paprotka.de/ref/codeunit/5364-int-option-synch-invoke/) `SetContext`
- [628](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L628) runs [Codeunit 5364 Int. Option Synch. Invoke](https://jonas-paprotka.de/ref/codeunit/5364-int-option-synch-invoke/)
- [630](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L630) calls `LogSynchError`
- [631](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L631) calls [Codeunit 5364 Int. Option Synch. Invoke](https://jonas-paprotka.de/ref/codeunit/5364-int-option-synch-invoke/) `MarkOptionMappingAsFailed`
- [633](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L633) calls `IncrementSynchJobCounters`
- [636](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L636) calls [Codeunit 5364 Int. Option Synch. Invoke](https://jonas-paprotka.de/ref/codeunit/5364-int-option-synch-invoke/) `GetContext`
- [639](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L639) calls `IncrementSynchJobCounters`

## IsOptionSkipped

[Line 645](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L645), local.

- [649](https://jonas-paprotka.de/ref/codeunit/5335-integration-table-synch/source/#L649) calls [Table 5334 CRM Option Mapping](https://jonas-paprotka.de/ref/table/5334-crm-option-mapping/) `IsOptionMappingSkipped`

## Source

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

JOP-AL, 2026-11-20.
