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

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/points/

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

## ClearCache

[Line 80](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L80).

- [83](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L83) writes [Table 5346 CRM Pricelevel](https://jonas-paprotka.de/ref/table/5346-crm-pricelevel/) DeleteAll
- [87](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L87) writes [Table 5345 CRM Transactioncurrency](https://jonas-paprotka.de/ref/table/5345-crm-transactioncurrency/) DeleteAll
- [91](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L91) writes [Table 5361 CRM Uom](https://jonas-paprotka.de/ref/table/5361-crm-uom/) DeleteAll
- [95](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L95) writes [Table 5362 CRM Uomschedule](https://jonas-paprotka.de/ref/table/5362-crm-uomschedule/) DeleteAll

## CreateCRMDefaultPriceList

[Line 112](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L112), local.

- [116](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L116) calls `FindNAVLocalCurrencyInCRM`
- [118](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L118) calls `GetDefaultPriceListName`
- [122](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L122) calls `AddToCacheCRMPriceLevel`
- [126](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L126) calls `GetDefaultPriceListNameWithLCY`
- [128](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L128) writes [Table 5346 CRM Pricelevel](https://jonas-paprotka.de/ref/table/5346-crm-pricelevel/) Insert
- [129](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L129) calls `AddToCacheCRMPriceLevel`
- [134](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L134) calls `GetDefaultPriceListName`
- [136](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L136) writes [Table 5346 CRM Pricelevel](https://jonas-paprotka.de/ref/table/5346-crm-pricelevel/) Insert
- [137](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L137) calls `AddToCacheCRMPriceLevel`

## CreateCRMPricelevelInCurrency

[Line 140](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L140).

- [146](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L146) calls `FindCurrencyCRMIntegrationRecord`
- [155](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L155) writes [Table 5346 CRM Pricelevel](https://jonas-paprotka.de/ref/table/5346-crm-pricelevel/) Insert

## CreateCRMPriceList

[Line 158](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L158).

- [172](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L172) calls `FindNAVLocalCurrencyInCRM`
- [175](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L175) calls `FindCurrencyCRMIntegrationRecord`
- [178](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L178) writes [Table 5346 CRM Pricelevel](https://jonas-paprotka.de/ref/table/5346-crm-pricelevel/) Insert
- [188](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L188) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindIDFromRecordID`
- [193](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L193) calls `CreateCRMProductpricelevelForProductAndUom`
- [200](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L200) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindIDFromRecordID`
- [205](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L205) calls `CreateCRMProductpricelevelForProductAndUom`

## UpdateCRMPriceList

[Line 213](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L213).

- [232](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L232) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindIDFromRecordID`
- [240](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L240) calls `CreateCRMProductpricelevelForProductAndUom`
- [248](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L248) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindIDFromRecordID`
- [256](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L256) calls `CreateCRMProductpricelevelForProductAndUom`

## CreateCRMProductpricelevelForProduct

[Line 265](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L265), local.

- [277](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L277) writes [Table 5347 CRM Productpricelevel](https://jonas-paprotka.de/ref/table/5347-crm-productpricelevel/) Insert

## CreateCRMProductpricelevelForProductAndUom

[Line 280](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L280).

- [291](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L291) writes [Table 5347 CRM Productpricelevel](https://jonas-paprotka.de/ref/table/5347-crm-productpricelevel/) Insert

## CreateCRMProductpriceIfAbsent

[Line 294](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L294).

- [301](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L301) calls `FindCRMProductPriceFromCRMInvoicedetailAndCRMInvoice`
- [302](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L302) calls `CreateCRMProductpriceFromCRMInvoiceDetail`

## CreateCRMProductpriceFromCRMInvoiceDetail

[Line 306](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L306), local.

- [322](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L322) writes [Table 5347 CRM Productpricelevel](https://jonas-paprotka.de/ref/table/5347-crm-productpricelevel/) Insert

## CreateCRMTransactioncurrency

[Line 325](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L325), local.

- [331](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L331) calls `GetCRMCurrencyDefaultPrecision`
- [332](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L332) calls `GetCRMLCYToFCYExchangeRate`
- [333](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L333) writes [Table 5345 CRM Transactioncurrency](https://jonas-paprotka.de/ref/table/5345-crm-transactioncurrency/) Insert

## FindCRMDefaultPriceList

[Line 336](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L336).

- [341](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L341) calls `FindCRMPriceList`
- [342](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L342) calls `CreateCRMDefaultPriceList`
- [343](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L343) validates [Table 5330 CRM Connection Setup](https://jonas-paprotka.de/ref/table/5330-crm-connection-setup/) `Default CRM Price List ID`
- [344](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L344) writes [Table 5330 CRM Connection Setup](https://jonas-paprotka.de/ref/table/5330-crm-connection-setup/) Modify

## FindCRMPriceList

[Line 348](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L348), local.

- [353](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L353) calls `FindCachedCRMPriceLevel`

## FindCRMPriceListByCurrencyCode

[Line 357](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L357).

- [362](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L362) calls `FindCRMDefaultPriceList`
- [366](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L366) calls `FindCurrencyCRMIntegrationRecord`
- [370](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L370) calls `FindCachedCRMPriceLevel`

## FindCurrencyCRMIntegrationRecord

[Line 395](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L395), local.

- [401](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L401) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindByRecordID`

## FindContactByAccountId

[Line 405](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L405), local.

- [411](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L411) calls `FindCustomersContactByAccountId`
- [414](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L414) raises `OnGetVendorSyncEnabled`
- [416](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L416) calls `FindVendorsContactByAccountId`

## FindCustomersContactByAccountId

[Line 423](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L423), local.

- [434](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L434) raises `OnFindAndSynchRecordIDFromIntegrationSystemId`, IsHandled
- [436](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L436) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindRecordIDFromID`
- [437](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L437) calls `SynchRecordIfMappingExists`
- [438](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L438) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindRecordIDFromID`

## FindVendorsContactByAccountId

[Line 455](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L455), local.

- [466](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L466) raises `OnFindAndSynchRecordIDFromIntegrationSystemId`, IsHandled
- [468](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L468) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindRecordIDFromID`
- [469](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L469) calls `SynchRecordIfMappingExists`
- [470](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L470) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindRecordIDFromID`

## FindNAVLocalCurrencyInCRM

[Line 487](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L487).

- [491](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L491) calls `GetNavLCYCode`
- [493](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L493) calls `FindCachedCRMTransactionCurrency`
- [494](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L494) calls `CreateCRMTransactioncurrency`
- [495](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L495) calls `AddToCacheCRMTransactionCurrency`

## GetBaseCurrencyPrecision

[Line 500](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L500).

- [507](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L507) raises `OnGetCDSBaseCurrencyPrecision`

## GetCRMCurrencyDefaultPrecision

[Line 518](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L518).

- [524](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L524) raises `OnGetCDSCurrencyDecimalPrecision`

## GetCRMBaseCurrencyId

[Line 533](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L533), local.

- [539](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L539) raises `OnGetCDSBaseCurrencyId`

## GetCRMBaseCurrencySymbol

[Line 548](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L548), local.

- [554](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L554) raises `OnGetCDSBaseCurrencySymbol`

## GetCRMLCYToFCYExchangeRate

[Line 568](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L568).

- [574](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L574) calls `GetCRMBaseCurrencyId`
- [575](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L575) calls `GetCRMBaseCurrencySymbol`
- [582](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L582) calls `FindCachedCRMTransactionCurrency`
- [584](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L584) calls `GetFCYtoFCYExchangeRate`

## GetFCYtoFCYExchangeRate

[Line 587](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L587).

- [602](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L602) calls `GetNavLCYCode`
- [607](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L607) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `GetCurrentCurrencyFactor`
- [613](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L613) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtFCYToFCY`
- [614](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L614) calls `GetCRMExchangeRateRoundingPrecision`

## SetCRMDecimalsSupportedValue

[Line 641](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L641).

- [645](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L645) calls [Codeunit 5334 CRM Setup Defaults](https://jonas-paprotka.de/ref/codeunit/5334-crm-setup-defaults/) `GetProductQuantityPrecision`

## SetCRMDefaultPriceListOnProduct

[Line 648](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L648).

- [652](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L652) calls `FindCRMDefaultPriceList`

## SetContactParentCompany

[Line 672](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L672).

- [683](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L683) calls `FindContactByAccountId`
- [686](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L686) raises `OnFailedFindContactByAccountId`
- [691](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L691) calls [Table 5050 Contact](https://jonas-paprotka.de/ref/table/5050-contact/) `UpdateBusinessRelation`

## SynchRecordIfMappingExists

[Line 707](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L707).

- [714](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L714) calls [Table 5335 Integration Table Mapping](https://jonas-paprotka.de/ref/table/5335-integration-table-mapping/) `FindMapping`
- [715](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L715) calls [Codeunit 5340 CRM Integration Table Synch.](https://jonas-paprotka.de/ref/codeunit/5340-crm-integration-table-synch/) `SynchRecord`
- [716](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L716) calls [Codeunit 5340 CRM Integration Table Synch.](https://jonas-paprotka.de/ref/codeunit/5340-crm-integration-table-synch/) `GetOutOfMapFilter`

## UpdateCRMCurrencyIdIfChanged

[Line 728](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L728).

- [731](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L731) calls `UpdateFieldRefValueIfChanged`
- [731](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L731) calls `GetCRMTransactioncurrency`

## UpdateCRMInvoiceStatus

[Line 734](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L734).

- [741](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L741) calls `UpdateCRMInvoiceStatusFromEntry`

## CancelCRMInvoice

[Line 744](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L744), internal.

- [752](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L752) raises `OnCancelCRMInvoiceOnBeforeCheckFieldsChanged`
- [754](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L754) calls `ActivateInvoiceForFurtherUpdate`
- [757](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L757) raises `OnCancelCRMInvoiceOnBeforeModifyCRMInvoice`
- [758](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L758) writes [Table 5355 CRM Invoice](https://jonas-paprotka.de/ref/table/5355-crm-invoice/) Modify

## UpdateCRMInvoiceStatusFromEntry

[Line 763](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L763).

- [768](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L768) calls `CalculateActualStatusCode`
- [770](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L770) raises `OnUpdateCRMInvoiceStatusFromEntryOnBeforeCheckFieldsChanged`
- [772](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L772) calls `ActivateInvoiceForFurtherUpdate`
- [775](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L775) raises `OnUpdateCRMInvoiceStatusFromEntryOnBeforeModify`
- [776](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L776) writes [Table 5355 CRM Invoice](https://jonas-paprotka.de/ref/table/5355-crm-invoice/) Modify

## CalculateActualStatusCode

[Line 781](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L781), local.

- [788](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L788) raises `OnBeforeCalculateActualStatusCode`, IsHandled

## ActivateInvoiceForFurtherUpdate

[Line 805](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L805), local.

- [810](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L810) writes [Table 5355 CRM Invoice](https://jonas-paprotka.de/ref/table/5355-crm-invoice/) Modify

## UpdateCRMPriceListItem

[Line 814](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L814).

- [821](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L821) calls `SetCRMDefaultPriceListOnProduct`
- [825](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L825) calls `UpdateCRMProductpricelevel`
- [827](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L827) calls `CreateCRMProductpricelevelForProduct`

## UpdateCRMPriceListItems

[Line 831](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L831).

- [838](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L838) calls `SetCRMDefaultPriceListOnProduct`
- [842](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L842) calls `UpdateOrCreateCRMProductprivelevelForUom`

## UpdateCRMPriceListItemForUom

[Line 848](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L848).

- [853](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L853) calls `SetCRMDefaultPriceListOnProduct`
- [855](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L855) calls `UpdateOrCreateCRMProductprivelevelForUom`

## UpdateOrCreateCRMProductprivelevelForUom

[Line 861](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L861), local.

- [870](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L870) calls `UpdateCRMProductpricelevelWithUom`
- [873](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L873) calls `CreateCRMProductpricelevelForProductAndUom`

## UpdateCRMProductpricelevel

[Line 900](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L900), local.

- [933](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L933) writes [Table 5347 CRM Productpricelevel](https://jonas-paprotka.de/ref/table/5347-crm-productpricelevel/) Modify

## UpdateCRMProductpricelevelWithUom

[Line 936](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L936), local.

- [969](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L969) writes [Table 5347 CRM Productpricelevel](https://jonas-paprotka.de/ref/table/5347-crm-productpricelevel/) Modify

## UpdateCRMProductStateCodeIfChanged

[Line 984](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L984).

- [995](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L995) calls `SetCRMProductStateToRetired`
- [997](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L997) calls `SetCRMProductStateToActive`

## UpdateCRMProductUoMFieldsIfChanged

[Line 1020](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1020).

- [1029](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1029) calls `GetValidCRMUnitOfMeasureRecords`

## UpdateCRMProductUomscheduleId

[Line 1046](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1046).

- [1066](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1066) calls [Table 5400 Unit Group](https://jonas-paprotka.de/ref/table/5400-unit-group/) `GetCode`
- [1068](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1068) calls [Table 5400 Unit Group](https://jonas-paprotka.de/ref/table/5400-unit-group/) `GetCode`

## UpdateOwnerIfChanged

[Line 1093](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1093).

- [1120](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1120) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindIDFromRecordID`
- [1123](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1123) calls [Table 5335 Integration Table Mapping](https://jonas-paprotka.de/ref/table/5335-integration-table-mapping/) `GetExtendedIntegrationTableCaption`

## UpdateContactOnModifyCustomer

[Line 1137](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1137).

- [1144](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1144) calls [Codeunit 5056 CustCont-Update](https://jonas-paprotka.de/ref/codeunit/5056-custcont-update/) `OnModify`

## UpdateContactOnModifyVendor

[Line 1148](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1148).

- [1155](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1155) calls [Codeunit 5057 VendCont-Update](https://jonas-paprotka.de/ref/codeunit/5057-vendcont-update/) `OnModify`

## FindOpportunityRelatedCustomer

[Line 1159](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1159), internal.

- [1165](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1165) calls `FindContactCompanyRelatedCustomer`

## FindContactRelatedCustomer

[Line 1168](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1168).

- [1174](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1174) calls `FindContactCompanyRelatedCustomer`

## UpdateSalesPersonCodeIfChanged

[Line 1210](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1210).

- [1222](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1222) calls [Table 5335 Integration Table Mapping](https://jonas-paprotka.de/ref/table/5335-integration-table-mapping/) `FindMapping`
- [1226](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1226) calls [Codeunit 5302 Outlook Synch. Type Conv](https://jonas-paprotka.de/ref/codeunit/5302-outlook-synch-type-conv/) `TextToOptionValue`
- [1229](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1229) calls [Codeunit 5344 CRM Product Name](https://jonas-paprotka.de/ref/codeunit/5344-crm-product-name/) `CDSServiceName`
- [1239](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1239) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindRecordIDFromID`
- [1240](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1240) calls `SynchRecordIfMappingExists`
- [1242](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1242) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindRecordIDFromID`
- [1249](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1249) calls `UpdateFieldRefValueIfChanged`

## GetValidCRMUnitOfMeasureRecords

[Line 1263](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1263).

- [1271](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1271) calls `GetUnitGroupName`
- [1275](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1275) calls `FindCachedCRMUomschedule`
- [1276](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1276) calls [Codeunit 5344 CRM Product Name](https://jonas-paprotka.de/ref/codeunit/5344-crm-product-name/) `CDSServiceName`
- [1279](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1279) calls `CountCRMUomschedule`
- [1280](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1280) calls [Codeunit 5344 CRM Product Name](https://jonas-paprotka.de/ref/codeunit/5344-crm-product-name/) `CDSServiceName`
- [1286](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1286) calls `FindCachedCRMUom`
- [1287](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1287) calls [Codeunit 5344 CRM Product Name](https://jonas-paprotka.de/ref/codeunit/5344-crm-product-name/) `CDSServiceName`
- [1290](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1290) calls `CountCRMUom`
- [1291](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1291) calls [Codeunit 5344 CRM Product Name](https://jonas-paprotka.de/ref/codeunit/5344-crm-product-name/) `CDSServiceName`

## GetNavCurrencyCode

[Line 1308](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1308).

- [1317](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1317) calls `GetNavLCYCode`
- [1319](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1319) calls `FindCachedCRMTransactionCurrency`

## GetCRMTransactioncurrency

[Line 1329](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1329).

- [1335](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1335) calls `GetNavLCYCode`
- [1340](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1340) calls `FindNAVLocalCurrencyInCRM`
- [1343](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1343) calls `FindCachedCRMTransactionCurrency`

## AddToCacheCRMPriceLevel

[Line 1349](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1349), local.

- [1353](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1353) writes [Table 5346 CRM Pricelevel](https://jonas-paprotka.de/ref/table/5346-crm-pricelevel/) Modify
- [1356](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1356) writes [Table 5346 CRM Pricelevel](https://jonas-paprotka.de/ref/table/5346-crm-pricelevel/) Insert

## CacheCRMPriceLevel

[Line 1360](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1360), local.

- [1368](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1368) calls `AddToCacheCRMPriceLevel`

## FindCachedCRMPriceLevel

[Line 1373](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1373), local.

- [1375](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1375) calls `CacheCRMPriceLevel`

## AddToCacheCRMTransactionCurrency

[Line 1384](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1384), local.

- [1387](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1387) writes [Table 5345 CRM Transactioncurrency](https://jonas-paprotka.de/ref/table/5345-crm-transactioncurrency/) Insert

## CacheCRMTransactionCurrency

[Line 1390](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1390), local.

- [1398](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1398) calls `AddToCacheCRMTransactionCurrency`

## FindCachedCRMTransactionCurrency

[Line 1403](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1403), local.

- [1405](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1405) calls `CacheCRMTransactionCurrency`

## AddToCacheCRMUom

[Line 1414](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1414), local.

- [1417](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1417) writes [Table 5361 CRM Uom](https://jonas-paprotka.de/ref/table/5361-crm-uom/) Insert

## CacheCRMUom

[Line 1420](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1420), local.

- [1428](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1428) calls `AddToCacheCRMUom`

## FindCachedCRMUom

[Line 1439](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1439), local.

- [1441](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1441) calls `CacheCRMUom`

## AddToCacheCRMUomschedule

[Line 1450](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1450), local.

- [1453](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1453) writes [Table 5362 CRM Uomschedule](https://jonas-paprotka.de/ref/table/5362-crm-uomschedule/) Insert

## CacheCRMUomschedule

[Line 1456](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1456), local.

- [1464](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1464) calls `AddToCacheCRMUomschedule`

## FindCachedCRMUomschedule

[Line 1475](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1475), local.

- [1477](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1477) calls `CacheCRMUomschedule`

## ShowPage

[Line 1486](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1486).

- [1500](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1500) calls [Codeunit 700 Page Management](https://jonas-paprotka.de/ref/codeunit/700-page-management/) `PageRun`
- [1508](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1508) calls [Codeunit 5330 CRM Integration Management](https://jonas-paprotka.de/ref/codeunit/5330-crm-integration-management/) `GetCRMEntityUrlFromCRMID`

## FindNewValueForSpecialMapping

[Line 1515](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1515).

- [1523](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1523) calls `FindNAVLocalCurrencyInCRM`
- [1530](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1530) calls `GetNavCurrencyCode`

## IsClearValueOnFailedSync

[Line 1581](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1581).

- [1586](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1586) calls `FindSourceIntegrationTableMapping`

## AreFieldsRelatedToMappedTables

[Line 1596](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1596).

- [1604](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1604) calls `GetFieldRelation`
- [1605](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1605) calls `GetFieldRelation`

## GetCoupledCDSUserId

[Line 1628](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1628).

- [1658](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1658) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindIDFromRecordID`
- [1661](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1661) calls [Table 5335 Integration Table Mapping](https://jonas-paprotka.de/ref/table/5335-integration-table-mapping/) `GetExtendedIntegrationTableCaption`

## ConvertBaseUnitOfMeasureToUomId

[Line 1666](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1666).

- [1685](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1685) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindIDFromRecordID`
- [1688](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1688) calls `CoupleAndSyncItemUoM`
- [1689](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1689) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindIDFromRecordID`
- [1698](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1698) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindIDFromRecordID`
- [1701](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1701) calls `CoupleAndSyncResourceUoM`
- [1702](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1702) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindIDFromRecordID`
- [1712](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1712) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindIDFromRecordID`
- [1716](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1716) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindIDFromRecordID`
- [1722](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1722) calls [Codeunit 5344 CRM Product Name](https://jonas-paprotka.de/ref/codeunit/5344-crm-product-name/) `Short`

## CoupleAndSyncItemUoM

[Line 1726](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1726), local.

- [1746](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1746) calls [Codeunit 5340 CRM Integration Table Synch.](https://jonas-paprotka.de/ref/codeunit/5340-crm-integration-table-synch/) `SynchRecordsToIntegrationTable`

## CoupleAndSyncResourceUoM

[Line 1752](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1752), local.

- [1772](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1772) calls [Codeunit 5340 CRM Integration Table Synch.](https://jonas-paprotka.de/ref/codeunit/5340-crm-integration-table-synch/) `SynchRecordsToIntegrationTable`

## ConvertUomIdToBaseUnitOfMeasure

[Line 1778](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1778).

- [1800](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1800) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindRecordIDFromID`
- [1831](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1831) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindRecordIDFromID`
- [1863](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1863) calls [Codeunit 5344 CRM Product Name](https://jonas-paprotka.de/ref/codeunit/5344-crm-product-name/) `Short`

## PrefixUnitGroupCode

[Line 1867](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1867).

- [1872](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1872) calls [Table 5400 Unit Group](https://jonas-paprotka.de/ref/table/5400-unit-group/) `GetCode`

## GetFieldRelation

[Line 1875](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1875), local.

- [1891](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1891) raises `OnAfterGetFieldRelation`

## GetFieldRelation

[Line 1901](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1901), local.

- [1908](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1908) validates [Table 7003 Price Asset](https://jonas-paprotka.de/ref/table/7003-price-asset/) `Asset Type`
- [1909](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1909) validates [Table 7003 Price Asset](https://jonas-paprotka.de/ref/table/7003-price-asset/) `Asset No.`

## ConvertTableToOption

[Line 1917](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1917).

- [1924](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1924) calls `IsTableMappedToCRMOption`
- [1926](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1926) calls `FindRecordIDByPK`
- [1931](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1931) calls [Codeunit 5344 CRM Product Name](https://jonas-paprotka.de/ref/codeunit/5344-crm-product-name/) `CDSServiceName`

## ConvertOptionToTable

[Line 1937](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1937).

- [1946](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1946) calls `IsTableMappedToCRMOption`
- [1956](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1956) raises `OnConvertOptionToTableOnBeforeSetRangeForIntegrationFieldID`, IsHandled
- [1971](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1971) calls `FindPKByRecordID`
- [1977](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1977) calls `FindPKByRecordID`
- [1980](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1980) calls [Codeunit 5344 CRM Product Name](https://jonas-paprotka.de/ref/codeunit/5344-crm-product-name/) `CDSServiceName`

## UpdateCDSOptionMapping

[Line 1986](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1986).

- [1992](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1992) writes [Table 5334 CRM Option Mapping](https://jonas-paprotka.de/ref/table/5334-crm-option-mapping/) Rename

## FindNewValueForSpecialMapping

[Line 1995](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L1995), internal.

- [2004](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L2004) calls `FindParentCRMAccountForOpportunity`

## FindParentCRMAccountForOpportunity

[Line 2010](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L2010), local.

- [2016](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L2016) calls `FindOpportunityRelatedCustomer`
- [2022](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L2022) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindIDFromRecordID`

## IsContactBusinessRelationOptional

[Line 2037](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L2037), internal.

- [2041](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L2041) raises `OnGetIsContactBusinessRelationOptional`

## IsContactTypeCheckIgnored

[Line 2047](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L2047), internal.

- [2051](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L2051) raises `OnGetIsContactTypeCheckIgnored`

## TransformValue

[Line 2057](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L2057).

- [2065](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L2065) calls [Table 1237 Transformation Rule](https://jonas-paprotka.de/ref/table/1237-transformation-rule/) `TransformText`
- [2069](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L2069) calls `SetDateField`

## SetDateField

[Line 2075](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L2075), local.

- [2082](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L2082) calls [Codeunit 10 Type Helper](https://jonas-paprotka.de/ref/codeunit/10-type-helper/) `Evaluate`

## FulfillSalesOrder

[Line 2089](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L2089), internal.

- [2094](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L2094) raises `OnBeforeFulfillSalesOrder`
- [2098](https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/source/#L2098) calls [Codeunit 7201 CDS Integration Impl.](https://jonas-paprotka.de/ref/codeunit/7201-cds-integration-impl/) `InitializeConnection`

## Source

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

JOP-AL, 2026-11-20.
