Codeunit 5330 CRM Integration Management

Base Application, Microsoft.Integration.Dataverse

src/Layers/W1/BaseApp/Integration/Dataverse/CRMIntegrationManagement.Codeunit.al165 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 47, trigger

  1. 49callsCheckOrEnableCRMConnection

IsCRMIntegrationEnabled line 172

  1. 184callsTable 5330 CRM Connection Setup RestoreConnection
  2. 187callsTable 5330 CRM Connection Setup RegisterConnection
  3. 189raisesOnAfterCRMIntegrationEnabled

IsCDSIntegrationEnabled line 197

  1. 203raisesOnIsCDSIntegrationEnabled
  2. 205raisesOnInitCDSConnection

IsCRMSolutionInstalled line 270

  1. 272callsTryTouchCRMSolutionEntities

CheckSolutionVersionOutdated line 281

  1. 288callsCodeunit 7200 CDS Integration Mgt. GetSolutionVersion

SetCRMNAVConnectionUrl line 308

  1. 327writesTable 5368 CRM NAV Connection Insert
  2. 329writesTable 5368 CRM NAV Connection Modify

RemoveCRMNAVConnectionUrl line 332, internal

  1. 338callsTryRemoveCRMNAVConnectionUrl

TryRemoveCRMNAVConnectionUrl line 342, local

  1. 350callsTable 5330 CRM Connection Setup RegisterConnection
  2. 359writesTable 5368 CRM NAV Connection Delete

UpdateMultipleNow line 368

  1. 373callsGetRecordRef
  2. 378callsUpdateCRMIntRecords
  3. 381callsUpdateOptions
  4. 383callsUpdateRecords

UpdateCRMIntRecords line 386, local

  1. 413callsTable 5331 CRM Integration Record FindRecordId
  2. 414callsGetIntegrationTableMapping
  3. 417callsGetSelectedSingleSyncDirection
  4. 420callsGetSelectedMultipleSyncDirection
  5. 427callsTable 5331 CRM Integration Record FindRecordId
  6. 430callsGetIntegrationTableMapping
  7. 451callsGetTableCaption
  8. 453callsSendNotification
  9. 455callsSendNotification
  10. 471callsEnqueueSyncJob
  11. 472callsCodeunit 5336 Integration Record Synch. GetIdFilterList
  12. 476writesTable 5331 CRM Integration Record ModifyAll
  13. 484callsSendSyncNotification

UpdateRecords line 487, local

  1. 499callsGetIntegrationTableMapping
  2. 502callsGetCoupledCRMID
  3. 504callsGetSelectedSingleSyncDirection
  4. 506callsDefineCouplingIfNotCoupled
  5. 510callsGetSelectedMultipleSyncDirection
  6. 517callsGetCoupledCRMID
  7. 519callsWasRecordModifiedAfterLastSynch
  8. 522callsIsRecordSkipped
  9. 535callsSendNotification
  10. 535callsGetTableCaption
  11. 537callsSendNotification
  12. 537callsGetTableCaption
  13. 541callsEnqueueSyncJob
  14. 546callsSendSyncNotification

UpdateOptions line 549, local

  1. 558callsGetIntegrationTableMapping
  2. 561callsGetMappedCRMOptionId
  3. 562callsDefineOptionMappingIfNotMapped
  4. 566callsGetSelectedMultipleSyncDirection
  5. 572callsGetMappedCRMOptionId
  6. 579callsEnqueueOptionSyncJobFromIntegrationTable
  7. 594callsEnqueueOptionSyncJobToIntegrationTable
  8. 600callsSendSyncNotification

UpdateOneNow line 603

  1. 606callsUpdateMultipleNow

UpdateSkippedNow line 626

  1. 635callsTable 5331 CRM Integration Record FindRecordId
  2. 636validatesTable 5331 CRM Integration Record Skipped
  3. 637writesTable 5331 CRM Integration Record Modify
  4. 647writesTable 5334 CRM Option Mapping Modify
  5. 653callsSendRestoredSyncNotification

UpdateAllSkippedNow line 656

  1. 666writesTable 5331 CRM Integration Record ModifyAll
  2. 668writesTable 5334 CRM Option Mapping ModifyAll
  3. 669callsSendRestoredSyncNotification

WasRecordModifiedAfterLastSynch line 672, local

  1. 679callsCodeunit 5345 Integration Rec. Synch. Invoke WasModifiedAfterLastSynch
  2. 680callsTable 5335 Integration Table Mapping GetRecordRef
  3. 681callsCodeunit 5345 Integration Rec. Synch. Invoke WasModifiedAfterLastSynch

CheckOrEnableCRMConnection line 687

  1. 695callsIsCDSIntegrationEnabled
  2. 698callsIsCRMIntegrationEnabled
  3. 706callsCodeunit 5344 CRM Product Name SHORT
  4. 706callsCodeunit 5344 CRM Product Name CDSServiceName
  5. 708callsCodeunit 8703 Feature Telemetry LogUptake
  6. 709callsCodeunit 8703 Feature Telemetry LogUptake
  7. 710callsCodeunit 5344 CRM Product Name CDSServiceName
  8. 711callsCodeunit 7201 CDS Integration Impl. RegisterAssistedSetup
  9. 712runsCodeunit 1990 Guided Experience
  10. 713callsIsCDSIntegrationEnabled

CreateNewRecordsInCRM line 739

  1. 747callsGetRecordRef
  2. 750callsGetIntegrationTableMappingFromCRMRecord

CreateNewOptionsInCRM line 761

  1. 769callsGetRecordRef
  2. 772callsGetIntegrationTableMapping
  3. 782callsEnqueueOptionSyncJobToIntegrationTable
  4. 787callsSendCreateNewNotification

CreateNewOptionsInCRM line 790

  1. 819callsEnqueueOptionSyncJobToIntegrationTable
  2. 824callsSendCreateNewNotification

CreateNewRecordsInCRM line 828

  1. 832callsCreateNewRecords

CreateNewRecordsFromSelectedCRMOptions line 836

  1. 845callsGetRecordRef
  2. 848callsGetIntegrationTableMappingFromCRMOption
  3. 851callsGetOptionIdFieldRef
  4. 852callsTable 5334 CRM Option Mapping FindRecordID
  5. 858callsEnqueueOptionSyncJobFromIntegrationTable
  6. 863callsSendCreateNewNotification

EnqueueOptionSyncJobFromIntegrationTable line 866

  1. 872callsTable 5335 Integration Table Mapping SetIntegrationTableFilter
  2. 872callsGetTableViewForCRMOptionIds
  3. 873callsAddIntegrationTableMapping
  4. 875callsCodeunit 5334 CRM Setup Defaults CreateJobQueueEntry

EnqueueOptionSyncJobToIntegrationTable line 879

  1. 886callsTable 5335 Integration Table Mapping SetTableFilter
  2. 886callsCodeunit 5336 Integration Record Synch. GetTableViewForSystemIds
  3. 887callsAddIntegrationTableMapping
  4. 889callsCodeunit 5334 CRM Setup Defaults CreateJobQueueEntry

EnqueueOptionSyncJob line 893, local

  1. 899callsTable 5335 Integration Table Mapping SetIntegrationTableFilter
  2. 899callsGetTableViewForCRMOptionId
  3. 900callsTable 5335 Integration Table Mapping SetTableFilter
  4. 900callsCodeunit 5336 Integration Record Synch. GetTableViewForRecordID
  5. 901callsAddIntegrationTableMapping
  6. 903callsCodeunit 5334 CRM Setup Defaults CreateJobQueueEntry

CreateNewRecordsFromCRM line 906

  1. 914callsGetRecordRef
  2. 917callsGetIntegrationTableMappingFromCRMRecord

CreateNewRecordsFromCRM line 929

  1. 933callsCreateNewRecords

CreateNewRecords line 937

  1. 981callsTable 5331 CRM Integration Record GetCRMRecordRef
  2. 986writesTable 5331 CRM Integration Record Delete
  3. 1001callsTable 5331 CRM Integration Record FindValidByCRMID
  4. 1006writesTable 5331 CRM Integration Record Delete
  5. 1010callsEnqueueCreateNewJob
  6. 1012callsSendCreateNewNotification

EnqueueCreateNewJob line 1015, local

  1. 1031callsEnqueueSyncJob

SendCreateNewNotification line 1038, local

  1. 1042callsSendNotification
  2. 1044callsSendNotification
  3. 1048callsSendSyncNotification

CreateNewRecordsFromSelectedCRMRecords line 1052

  1. 1054callsCreateNewRecordsFromCRM

PerformInitialSynchronization line 1057, local

  1. 1063callsGetIntegrationTableMapping
  2. 1064callsEnqueueSyncJob
  3. 1069callsSendSyncNotification

PerformInitialOptionSynchronization line 1072, local

  1. 1078callsGetIntegrationTableMapping
  2. 1079callsEnqueueOptionSyncJob
  3. 1084callsSendSyncNotification

MarkLocalDeletedAsSkipped line 1087, internal

  1. 1106callsTable 5335 Integration Table Mapping GetTableFilter
  2. 1117writesTable 5331 CRM Integration Record Modify
  3. 1125callsGetTableCaption
  4. 1125callsGetTableCaption

RepairBrokenCouplings line 1139

  1. 1151callsTable 5331 CRM Integration Record RepairTableIdByLocalRecord
  2. 1153callsTable 5331 CRM Integration Record RepairTableIdByCRMRecord
  3. 1154writesTable 5331 CRM Integration Record Delete

RemoveCoupling line 1160

  1. 1165callsGetIntegrationTableMappingForUncoupling
  2. 1166callsScheduleUncoupling
  3. 1168callsRepairBrokenCouplings
  4. 1170writesTable 5331 CRM Integration Record DeleteAll

MatchBasedCoupling line 1179

  1. 1185callsIsCRMTable
  2. 1186callsGetTableCaption
  3. 1190callsGetIntegrationTableMappingForCoupling
  4. 1195callsTable 5336 Integration Field Mapping SetMatchBasedCouplingFilters
  5. 1196runsPage 5363 Match Based Coupling Criteria
  6. 1203callsPerformCoupling
  7. 1205callsScheduleCoupling

RemoveCoupling line 1228

  1. 1236callsCodeunit 5336 Integration Record Synch. JoinIDs

RemoveCoupling line 1247, internal

  1. 1252callsIsCRMTable
  2. 1253callsGetTableCaption
  3. 1257raisesOnRemoveCouplingOnBeforeGetIntegrationTableMappingForUncoupling
  4. 1258callsGetIntegrationTableMappingForUncoupling
  5. 1260callsScheduleUncoupling
  6. 1260callsCodeunit 5336 Integration Record Synch. GetTableViewForLocalRecords
  7. 1262callsPerformUncoupling
  8. 1262callsCodeunit 5336 Integration Record Synch. GetTableViewForLocalRecords
  9. 1264callsRemoveCouplingToRecord

RemoveOptionMapping line 1267

  1. 1277writesTable 5334 CRM Option Mapping Delete

RemoveOptionMapping line 1281, local

  1. 1289writesTable 5334 CRM Option Mapping Delete

RemoveOptionMappingFromRecRef line 1292, local

  1. 1299writesTable 5334 CRM Option Mapping Delete

CreateOptionMapping line 1302

  1. 1308callsTable 5334 CRM Option Mapping AssertCRMOptionIdCanBeMapped
  2. 1309callsTable 5334 CRM Option Mapping InsertRecord
  3. 1312callsTable 5334 CRM Option Mapping AssertCRMOptionIdCanBeMapped
  4. 1315writesTable 5334 CRM Option Mapping Modify(true)

MatchBasedCoupling line 1332, local

  1. 1339callsIsCRMTable
  2. 1340callsGetTableCaption
  3. 1344raisesOnMatchBasedCouplingOnBeforeGetIntegrationTableMappingForMatchBasedCoupling
  4. 1345callsGetIntegrationTableMappingForCoupling
  5. 1346callsTable 5336 Integration Field Mapping SetMatchBasedCouplingFilters
  6. 1347runsPage 5363 Match Based Coupling Criteria
  7. 1349callsFindCoupledToCRMField
  8. 1352callsScheduleCoupling
  9. 1352callsCodeunit 5336 Integration Record Synch. GetTableViewForLocalRecords
  10. 1354callsPerformCoupling
  11. 1354callsCodeunit 5336 Integration Record Synch. GetTableViewForLocalRecords

RemoveCoupling line 1359, internal

  1. 1365callsGetIntegrationTableMappingForUncoupling
  2. 1367callsScheduleUncoupling
  3. 1367callsGetTableViewForCRMIDs
  4. 1369callsPerformUncoupling
  5. 1369callsGetTableViewForCRMIDs
  6. 1371callsRemoveCouplingToRecord

RemoveCouplingToRecord line 1374, local

  1. 1380callsTable 5331 CRM Integration Record RemoveCouplingToRecord

RemoveCouplingToRecord line 1384, local

  1. 1390callsTable 5331 CRM Integration Record RemoveCouplingToCRMID

RemoveCoupling line 1398, internal

  1. 1404callsIsCRMTable
  2. 1405callsGetTableCaption
  3. 1409callsGetIntegrationTableMappingForUncoupling
  4. 1410callsTable 5331 CRM Integration Record RemoveCouplingToRecord
  5. 1413callsScheduleUncoupling
  6. 1413callsCodeunit 5336 Integration Record Synch. GetTableViewForRecordID
  7. 1415callsPerformUncoupling
  8. 1415callsCodeunit 5336 Integration Record Synch. GetTableViewForRecordID

RemoveCoupling line 1423, internal

  1. 1428callsGetIntegrationTableMappingForUncoupling
  2. 1429callsTable 5331 CRM Integration Record RemoveCouplingToCRMID
  3. 1432callsScheduleUncoupling
  4. 1432callsGetTableViewForGuid
  5. 1434callsPerformUncoupling
  6. 1434callsGetTableViewForGuid

ScheduleUncoupling line 1437, local

  1. 1443callsEnqueueUncoupleJob
  2. 1448callsSendUncoupleNotification

ScheduleCoupling line 1452, local

  1. 1459callsEnqueueCouplingJob
  2. 1464callsSendCouplingNotification

PerformCoupling line 1468, local

  1. 1474callsTable 5335 Integration Table Mapping SetTableFilter
  2. 1479callsAddIntegrationTableMapping
  3. 1480callsCodeunit 5360 CDS Int. Table Couple PerformScheduledCoupling
  4. 1481writesTable 5335 Integration Table Mapping Delete(true)

PerformUncoupling line 1484, local

  1. 1490callsAddIntegrationTableMapping
  2. 1491callsTable 5335 Integration Table Mapping SetTableFilter
  3. 1492callsTable 5335 Integration Table Mapping SetIntegrationTableFilter
  4. 1510writesTable 5335 Integration Table Mapping Delete(true)

PerformUncoupling line 1514, local

  1. 1523callsCodeunit 5357 Int. Rec. Uncouple Invoke SetContext
  2. 1524runsCodeunit 5357 Int. Rec. Uncouple Invoke
  3. 1525callsCodeunit 5357 Int. Rec. Uncouple Invoke GetContext

GetIntegrationTableMapping line 1557

  1. 1562raisesOnBeforeGetIntegrationTableMappingWithRecordId

GetIntegrationTableMapping line 1566

  1. 1568raisesOnBeforeGetIntegrationTableMapping
  2. 1572callsIsCRMTable
  3. 1577callsGetTableCaption

GetIntegrationTableMappingFromCRMRecord line 1580, local

  1. 1586raisesOnBeforeGetIntegrationTableMappingFromCRMRecord
  2. 1588callsGetIntegrationTableMapping
  3. 1604raisesOnAfterGetIntegrationTableMappingFromCRMRecordBeforeFindRecord
  4. 1606callsGetTableCaption

GetIntegrationTableMappingFromCRMOption line 1609, local

  1. 1626raisesOnGetTableIdFromCRMOption
  2. 1630callsGetTableCaption

IsCRMTable line 1642

  1. 1648raisesOnIsCRMTable

IsRecordSkipped line 1659, local

  1. 1663callsTable 5331 CRM Integration Record FindByRecordID

EnqueueFullSyncJob line 1678

  1. 1687callsAddIntegrationTableMapping
  2. 1689callsCodeunit 5334 CRM Setup Defaults CreateJobQueueEntry

EnqueueSyncJob line 1696

  1. 1703callsTable 5335 Integration Table Mapping SetIntegrationTableFilter
  2. 1703callsGetTableViewForGuid
  3. 1705callsTable 5335 Integration Table Mapping SetTableFilter
  4. 1705callsCodeunit 5336 Integration Record Synch. GetTableViewForRecordIDAndFlowFilters
  5. 1706callsAddIntegrationTableMapping
  6. 1708callsCodeunit 5334 CRM Setup Defaults CreateJobQueueEntry

EnqueueSyncJob line 1711

  1. 1718callsTable 5335 Integration Table Mapping SetIntegrationTableFilter
  2. 1718callsGetTableViewForCRMIDs
  3. 1720callsTable 5335 Integration Table Mapping SetTableFilter
  4. 1720callsCodeunit 5336 Integration Record Synch. GetTableViewForSystemIds
  5. 1721callsAddIntegrationTableMapping
  6. 1723callsCodeunit 5334 CRM Setup Defaults CreateJobQueueEntry

EnqueueUncoupleJob line 1726, local

  1. 1730callsTable 5335 Integration Table Mapping SetTableFilter
  2. 1731callsTable 5335 Integration Table Mapping SetIntegrationTableFilter
  3. 1732callsAddIntegrationTableMapping
  4. 1734callsCodeunit 7204 CDS Setup Defaults CreateUncoupleJobQueueEntry

EnqueueCouplingJob line 1737, local

  1. 1742callsTable 5335 Integration Table Mapping SetTableFilter
  2. 1747callsAddIntegrationTableMapping
  3. 1750callsCodeunit 7204 CDS Setup Defaults CreateCoupleJobQueueEntry

AddIntegrationTableMapping line 1758

  1. 1763callsTable 5335 Integration Table Mapping GetName
  2. 1774writesTable 5335 Integration Table Mapping Insert
  3. 1776callsCloneIntegrationFieldMapping

CloneIntegrationFieldMapping line 1779

  1. 1790writesTable 5336 Integration Field Mapping Insert

GetTableViewForCRMIDs line 1806, local

  1. 1813callsCodeunit 5336 Integration Record Synch. JoinIDs

GetTableViewForCRMOptionIds line 1821, local

  1. 1827callsJoinIntegers

CreateOrUpdateCRMAccountStatistics line 1847

  1. 1853callsGetCoupledCRMID
  2. 1857callsCodeunit 5350 CRM Statistics Job CreateOrUpdateCRMAccountStatistics
  3. 1858callsCodeunit 5350 CRM Statistics Job UpdateStatusOfPaidInvoices
  4. 1859callsCodeunit 5344 CRM Product Name CDSServiceName

ShowCRMEntityFromRecordID line 1862

  1. 1866callsDefineCouplingIfNotCoupled
  2. 1869callsGetCRMEntityUrlFromRecordID

GetCRMEntityUrlFromRecordID line 1872

  1. 1879callsTable 5331 CRM Integration Record FindIDFromRecordID
  2. 1880callsCodeunit 5344 CRM Product Name CDSServiceName
  3. 1881callsCodeunit 5330 CRM Integration Management GetIntegrationTableMapping
  4. 1883callsGetCRMEntityUrlFromCRMID

GetCRMEntityUrlFromCRMID line 1886

  1. 1890callsIsCRMTable

GetCRMEntityUrlFromCRMID line 1897

  1. 1904raisesOnGetCDSServerAddress
  2. 1906callsGetCRMEntityTypeName
  3. 1909callsGetCRMEntityTypeName
  4. 1914raisesOnAfterGetCRMEntityUrlFromCRMID

OpenCoupledNavRecordPage line 1918

  1. 1928raisesOnBeforeOpenCoupledNavRecordPageIsHandled
  2. 1933callsCodeunit 5334 CRM Setup Defaults GetTableIDCRMEntityNameMapping
  3. 1940callsFindRecordFromNameValueBuffer
  4. 1942callsGetIntegrationTableMappingFromCRMID
  5. 1945callsSynchFromIntegrationTable
  6. 1950callsFindRecordFromNameValueBuffer
  7. 1953callsOpenRecordCardPage

FindRecordFromNameValueBuffer line 1957, local

  1. 1967callsIsCRMTable
  2. 1969callsTable 5331 CRM Integration Record FindRecordIDFromID

SynchFromIntegrationTable line 1974, local

  1. 1981callsTable 5335 Integration Table Mapping GetIntegrationTableFilter
  2. 1987callsTable 5335 Integration Table Mapping SetIntegrationTableFilter
  3. 1989callsAddIntegrationTableMapping
  4. 1992writesTable 5335 Integration Table Mapping Delete(true)

OpenRecordCardPage line 1996, local

  1. 2013raisesOnBeforeOpenRecordCardPageIsHandled
  2. 2022runsPage 5050 Contact Card
  3. 2027runsPage 495 Currency Card
  4. 2032runsPage 21 Customer Card
  5. 2037runsPage 26 Vendor Card
  6. 2042runsPage 30 Item Card
  7. 2047callsCodeunit 700 Page Management PageRun
  8. 2052runsPage 76 Resource Card
  9. 2057runsPage 5116 Salesperson/Purchaser Card
  10. 2063runsPage 209 Units of Measure
  11. 2069runsPage 7 Customer Price Groups

GetCRMEntityTypeName line 2076

  1. 2080callsIsCRMTable

GetCRMEntityTypeName line 2087

  1. 2092callsCodeunit 5334 CRM Setup Defaults GetTableIDCRMEntityNameMapping
  2. 2103callsCodeunit 5344 CRM Product Name CDSServiceName

GetCoupledCRMID line 2106, local

  1. 2110callsTable 5331 CRM Integration Record FindIDFromRecordID

DefineCouplingIfNotCoupled line 2113, local

  1. 2117callsGetCoupledCRMID
  2. 2121callsCodeunit 5344 CRM Product Name CDSServiceName
  3. 2122callsDefineCoupling
  4. 2123callsGetCoupledCRMID

DefineCoupling line 2127

  1. 2135callsCodeunit 5331 CRM Coupling Management DefineCoupling
  2. 2137callsCreateNewRecordsInCRM
  3. 2140callsPerformInitialSynchronization

DefineOptionMappingIfNotMapped line 2147, local

  1. 2152callsCodeunit 5344 CRM Product Name CDSServiceName
  2. 2153callsDefineOptionMapping
  3. 2154callsGetMappedCRMOptionId

DefineOptionMapping line 2158

  1. 2166callsCodeunit 5331 CRM Coupling Management DefineOptionMapping
  2. 2168callsCreateNewOptionsInCRM
  3. 2171callsPerformInitialOptionSynchronization

ManageCreateNewRecordFromCRM line 2178

  1. 2183callsCreateNewContactFromCRM
  2. 2185callsCreateNewCustomerFromCRM

CreateNewContactFromCRM line 2189

  1. 2193callsGetIntegrationTableMapping
  2. 2194runsPage 5342 CRM Contact List

CreateNewCustomerFromCRM line 2197

  1. 2201callsGetIntegrationTableMapping
  2. 2202runsPage 5341 CRM Account List

CreateNewVendorFromCRM line 2205

  1. 2209callsGetIntegrationTableMapping
  2. 2210runsPage 5341 CRM Account List

ShowCustomerCRMOpportunities line 2214

  1. 2219callsIsCRMIntegrationEnabled
  2. 2222callsDefineCouplingIfNotCoupled
  3. 2229runsPage 5343 CRM Opportunity List

ShowCustomerCRMQuotes line 2233

  1. 2238callsIsCRMIntegrationEnabled
  2. 2241callsDefineCouplingIfNotCoupled
  3. 2248runsPage 5351 CRM Sales Quote List

ShowCustomerCRMCases line 2252

  1. 2257callsIsCRMIntegrationEnabled
  2. 2260callsDefineCouplingIfNotCoupled
  3. 2267runsPage 5349 CRM Case List

ResetIntTableMappingDefaultConfiguration line 2271

  1. 2282runsCodeunit 5330 CRM Integration Management
  2. 2285callsTable 5330 CRM Connection Setup DoReadCRMData
  3. 2285callsTable 5330 CRM Connection Setup IsEnabled
  4. 2287callsCodeunit 7200 CDS Integration Mgt. IsTeamOwnershipModelSelected
  5. 2293callsCodeunit 7204 CDS Setup Defaults ResetSalesPeopleSystemUserMapping
  6. 2295callsCodeunit 7204 CDS Setup Defaults ResetCustomerAccountMapping
  7. 2297callsCodeunit 7204 CDS Setup Defaults ResetVendorAccountMapping
  8. 2299callsCodeunit 7204 CDS Setup Defaults ResetContactContactMapping
  9. 2301callsCodeunit 7204 CDS Setup Defaults ResetCurrencyTransactionCurrencyMapping
  10. 2303callsCodeunit 7204 CDS Setup Defaults ResetPaymentTermsMapping
  11. 2305callsCodeunit 7204 CDS Setup Defaults ResetShipmentMethodMapping
  12. 2307callsCodeunit 7204 CDS Setup Defaults ResetShippingAgentMapping
  13. 2309callsCodeunit 5334 CRM Setup Defaults ResetUnitOfMeasureUoMScheduleMapping
  14. 2311callsCodeunit 5334 CRM Setup Defaults ResetUnitGroupUoMScheduleMapping
  15. 2313callsCodeunit 5334 CRM Setup Defaults ResetItemUnitOfMeasureUoMMapping
  16. 2315callsCodeunit 5334 CRM Setup Defaults ResetResourceUnitOfMeasureUoMMapping
  17. 2317callsCodeunit 5334 CRM Setup Defaults ResetItemProductMapping
  18. 2320callsCodeunit 5334 CRM Setup Defaults ResetResourceProductMapping
  19. 2322callsCodeunit 5334 CRM Setup Defaults ResetCustomerPriceGroupPricelevelMapping
  20. 2324callsCodeunit 5334 CRM Setup Defaults ResetSalesInvoiceHeaderInvoiceMapping
  21. 2326callsCodeunit 5334 CRM Setup Defaults ResetSalesInvoiceLineInvoiceMapping
  22. 2328callsCodeunit 5334 CRM Setup Defaults ResetOpportunityMapping
  23. 2330callsTable 5330 CRM Connection Setup IsBidirectionalSalesOrderIntEnabled
  24. 2331callsCodeunit 5334 CRM Setup Defaults ResetBidirectionalSalesOrderMapping
  25. 2332callsCodeunit 5334 CRM Setup Defaults RecreateSalesOrderNotesJobQueueEntry
  26. 2333callsCodeunit 5334 CRM Setup Defaults RecreateArchivedSalesOrdersJobQueueEntry
  27. 2335callsCodeunit 5334 CRM Setup Defaults ResetSalesOrderMapping
  28. 2336callsCodeunit 5334 CRM Setup Defaults RecreateSalesOrderStatusJobQueueEntry
  29. 2337callsCodeunit 5334 CRM Setup Defaults RecreateSalesOrderNotesJobQueueEntry
  30. 2340callsCodeunit 5334 CRM Setup Defaults ResetBidirectionalSalesOrderLineMapping
  31. 2342raisesOnBeforeHandleCustomIntegrationTableMappingIsHandled
  32. 2346callsCodeunit 7204 CDS Setup Defaults SetCustomIntegrationsTableMappings
  33. 2348callsCodeunit 5334 CRM Setup Defaults SetCustomIntegrationsTableMappings
  34. 2354callsAddExtraFieldMappings

AddExtraFieldMappings line 2358, internal

  1. 2377callsAddFieldMapping
  2. 2378callsAddFieldMapping
  3. 2385callsAddFieldMapping
  4. 2386callsAddFieldMapping
  5. 2393callsAddFieldMapping
  6. 2400callsAddFieldMapping
  7. 2401callsAddFieldMapping
  8. 2408callsAddFieldMapping
  9. 2409callsAddFieldMapping
  10. 2410callsAddFieldMapping
  11. 2413raisesOnAfterAddExtraFieldMappings

AddFieldMapping line 2416, local

  1. 2430callsTable 5336 Integration Field Mapping CreateRecord

GetNoOfCRMOpportunities line 2433

  1. 2438callsIsCRMIntegrationEnabled
  2. 2441callsGetCoupledCRMID

GetNoOfCRMQuotes line 2449

  1. 2454callsIsCRMIntegrationEnabled
  2. 2457callsGetCoupledCRMID

GetNoOfCRMCases line 2465

  1. 2470callsIsCRMIntegrationEnabled
  2. 2473callsGetCoupledCRMID

GetSelectedMultipleSyncDirection line 2481, local

  1. 2500callsCodeunit 5344 CRM Product Name CDSServiceName
  2. 2502callsCodeunit 5344 CRM Product Name CDSServiceName
  3. 2506raisesOnBeforeSynchronyzeNowQuestionIsHandled

GetSelectedSingleSyncDirection line 2515, local

  1. 2535callsTable 5335 Integration Table Mapping GetRecordRef
  2. 2536callsCodeunit 5345 Integration Rec. Synch. Invoke WasModifiedAfterLastSynch
  3. 2537callsCodeunit 5345 Integration Rec. Synch. Invoke WasModifiedAfterLastSynch
  4. 2545callsCodeunit 5335 Integration Table Synch. CheckTransferFields
  5. 2547callsCodeunit 5344 CRM Product Name CDSServiceName
  6. 2550callsCodeunit 5335 Integration Table Synch. CheckTransferFields
  7. 2552callsCodeunit 5344 CRM Product Name CDSServiceName
  8. 2557callsCodeunit 5335 Integration Table Synch. CheckTransferFields
  9. 2560callsCodeunit 5344 CRM Product Name CDSServiceName
  10. 2566callsCodeunit 5335 Integration Table Synch. CheckTransferFields
  11. 2569callsCodeunit 5344 CRM Product Name CDSServiceName
  12. 2605callsCodeunit 5344 CRM Product Name CDSServiceName
  13. 2607callsCodeunit 5344 CRM Product Name CDSServiceName
  14. 2612callsCodeunit 5344 CRM Product Name CDSServiceName
  15. 2614callsCodeunit 5344 CRM Product Name CDSServiceName

DeleteIntegrationRecordByBCID line 2625, local

  1. 2629callsTable 5331 CRM Integration Record FindByRecordID
  2. 2630writesTable 5331 CRM Integration Record Delete

DeleteIntegrationRecordByCRMID line 2635, local

  1. 2641callsTable 5331 CRM Integration Record FindByCRMID
  2. 2642writesTable 5331 CRM Integration Record Delete

HandleOnUpdateConflictDetected line 2648, local

  1. 2653callsIsCDSIntegrationEnabled
  2. 2653callsIsCRMIntegrationEnabled

HandleOnDeletionConflictDetected line 2683, local

  1. 2691callsIsCDSIntegrationEnabled
  2. 2691callsIsCRMIntegrationEnabled
  3. 2698callsRemoveCoupling
  4. 2701callsRemoveCoupling
  5. 2705callsTable 5330 CRM Connection Setup IsBidirectionalSalesOrderIntEnabled
  6. 2714callsDeleteIntegrationRecordByBCID
  7. 2716callsDeleteIntegrationRecordByCRMID

HandleCRMRegisterServiceConnection line 2725

  1. 2736writesTable 5330 CRM Connection Setup Insert
  2. 2744callsTable 5330 CRM Connection Setup TestConnection
  3. 2748callsTable 1400 Service Connection InsertServiceConnectionExtended

HandleOnGetIntegrationSolutions line 2754, local

  1. 2760callsCodeunit 5344 CRM Product Name UNIQUE

HandleOnGetIntegrationRequiredRoles line 2764, local

  1. 2770callsGetIntegrationAdminRoleID
  2. 2771callsGetIntegrationUserRoleID

ImportCRMSolution line 2798

  1. 2817callsCheckConnectRequiredFields
  2. 2821callsCodeunit 7201 CDS Integration Impl. GetAuthenticationTypeToken
  3. 2827callsCodeunit 7201 CDS Integration Impl. GetAuthenticationTypeToken
  4. 2832callsCodeunit 7201 CDS Integration Impl. GetAuthenticationTypeToken
  5. 2837callsCodeunit 7201 CDS Integration Impl. ReplaceUserNamePasswordInConnectionString
  6. 2839callsInitializeCRMConnection
  7. 2840callsProcessConnectionFailures
  8. 2844callsCodeunit 5344 CRM Product Name CDSServiceName
  9. 2848callsIsSolutionOutdated
  10. 2856callsImportDefaultCRMSolution
  11. 2858callsProcessConnectionFailures
  12. 2862callsImportDefaultSalesProSolution
  13. 2864callsProcessConnectionFailures
  14. 2869callsGetIntegrationAdminRoleID
  15. 2870callsGetIntegrationUserRoleID
  16. 2871callsGetSalesProIntegrationRoleId
  17. 2880callsCodeunit 7201 CDS Integration Impl. IsIntegrationEnabled
  18. 2881callsCodeunit 7201 CDS Integration Impl. RegisterConnection
  19. 2882callsCodeunit 7201 CDS Integration Impl. ActivateConnection
  20. 2884callsCodeunit 7201 CDS Integration Impl. GetOwningTeamId
  21. 2887callsCodeunit 7201 CDS Integration Impl. GetDefaultBusinessUnitName
  22. 2890callsCodeunit 7201 CDS Integration Impl. GetCoupledBusinessUnitId
  23. 2893callsGetIntegrationAdminRoleID
  24. 2893callsCodeunit 7201 CDS Integration Impl. GetDefaultBusinessUnitName
  25. 2895callsCodeunit 7201 CDS Integration Impl. AssignTeamRole
  26. 2897callsCodeunit 7201 CDS Integration Impl. GetDefaultBusinessUnitName
  27. 2900callsCodeunit 7201 CDS Integration Impl. GetCoupledBusinessUnitId
  28. 2903callsGetIntegrationUserRoleID
  29. 2903callsCodeunit 7201 CDS Integration Impl. GetDefaultBusinessUnitName
  30. 2905callsCodeunit 7201 CDS Integration Impl. AssignTeamRole
  31. 2907callsCodeunit 7201 CDS Integration Impl. GetDefaultBusinessUnitName
  32. 2911callsCodeunit 7201 CDS Integration Impl. GetCoupledBusinessUnitId
  33. 2914callsCodeunit 7201 CDS Integration Impl. GetDefaultBusinessUnitName
  34. 2916callsCodeunit 7201 CDS Integration Impl. AssignTeamRole
  35. 2918callsCodeunit 7201 CDS Integration Impl. GetDefaultBusinessUnitName

IsSolutionOutdated line 2933

  1. 2942callsCodeunit 7201 CDS Integration Impl. GetTempConnectionName

CheckModifyCRMConnectionURL line 2975

  1. 2982callsFirstCheckCRMConnectionURL

FirstCheckCRMConnectionURL line 2995, local

  1. 3010callsCodeunit 5334 CRM Setup Defaults GetAllowNonSecureConnections
  2. 3011callsCodeunit 5344 CRM Product Name SHORT
  3. 3013callsCodeunit 5344 CRM Product Name SHORT

CheckCRMConnectionURL line 3017

  1. 3024callsFirstCheckCRMConnectionURL

ConstructConnectionStringForSolutionImport line 3058

  1. 3066callsCodeunit 5344 CRM Product Name SHORT

InitializeCRMConnection line 3074, local

  1. 3080callsTable 5330 CRM Connection Setup GetSecretConnectionStringWithCredentials
  2. 3083callsTestCRMConnection
  3. 3084callsProcessConnectionFailures

ProcessConnectionFailures line 3089

  1. 3098callsCodeunit 1291 DotNet Exception Handler Collect
  2. 3100callsCodeunit 1291 DotNet Exception Handler TryCastToType
  3. 3102callsCodeunit 5344 CRM Product Name SHORT
  4. 3104callsCodeunit 1291 DotNet Exception Handler TryCastToType
  5. 3108callsCodeunit 1291 DotNet Exception Handler TryCastToType
  6. 3112callsCodeunit 1291 DotNet Exception Handler TryCastToType
  7. 3114callsCodeunit 5344 CRM Product Name SHORT
  8. 3116callsCodeunit 1291 DotNet Exception Handler CastToType
  9. 3121callsCodeunit 5344 CRM Product Name SHORT
  10. 3126callsCodeunit 5344 CRM Product Name SHORT
  11. 3130callsCodeunit 1291 DotNet Exception Handler GetMessage
  12. 3137callsCodeunit 1291 DotNet Exception Handler Rethrow

GetIntegrationTableMappingFromCRMID line 3140, local

  1. 3149callsIsCRMTable
  2. 3153raisesOnGetIntegrationTableMappingFromCRMIDOnBeforeFindTableIDIsHandled
  3. 3183callsGetTableCaption

OnInitializingNotificationWithDefaultState line 3187, local

  1. 3191callsTable 1518 My Notifications InsertDefault
  2. 3191callsGetCommonNotificationID
  3. 3192callsTable 1518 My Notifications InsertDefault
  4. 3192callsGetSkippedNotificationID

DisableNotification line 3196

  1. 3202callsTable 1518 My Notifications Disable
  2. 3203callsTable 1518 My Notifications InsertDefault
  3. 3203callsGetNotificationName
  4. 3203callsGetNotificationDescription
  5. 3204callsGetNotificationName

GetNotificationName line 3207, local

  1. 3210callsGetCommonNotificationID
  2. 3212callsGetSkippedNotificationID

GetNotificationDescription line 3218, local

  1. 3221callsGetCommonNotificationID
  2. 3223callsGetSkippedNotificationID

SendRestoredSyncNotification line 3255, local

  1. 3263callsSendNotification

SendResultNotification line 3266

  1. 3277callsTable 5331 CRM Integration Record FindByRecordID
  2. 3279callsSendSkippedSyncNotification
  3. 3282callsGetNotificationDetailsFromIntegrationSyncJobEntry
  4. 3288callsGetNotificationDetailsFromIntegrationSyncJobEntry
  5. 3298callsTable 5338 Integration Synch. Job GetErrorForRecordID
  6. 3302callsSendNotification

SendSkippedSyncNotification line 3305, local

  1. 3310callsTable 1518 My Notifications IsEnabled
  2. 3310callsGetSkippedNotificationID
  3. 3313callsGetSkippedNotificationID
  4. 3318callsGetSkippedNotificationID

SendSyncNotification line 3325, local

  1. 3329callsSendNotification
  2. 3331callsSendNotification
  3. 3332callsSendNotification
  4. 3334callsSendMultipleSyncNotification

SendMultipleSyncNotification line 3337, local

  1. 3340callsSendNotification

SendUncoupleNotification line 3347, local

  1. 3351callsSendNotification
  2. 3353callsSendNotification
  3. 3354callsSendNotification
  4. 3356callsSendMultipleUncoupleNotification

SendCouplingNotification line 3359, local

  1. 3363callsSendNotification
  2. 3365callsSendNotification
  3. 3366callsSendNotification
  4. 3368callsSendMultipleCouplingNotification

SendMultipleUncoupleNotification line 3371, local

  1. 3374callsSendNotification

SendMultipleCouplingNotification line 3381, local

  1. 3384callsSendNotification

SendNotification line 3391, local

  1. 3396callsTable 1518 My Notifications IsEnabled
  2. 3396callsGetCommonNotificationID
  3. 3399callsGetCommonNotificationID
  4. 3404callsGetCommonNotificationID

ShowLog line 3419

  1. 3424callsGetIntegrationTableMapping
  2. 3425callsTable 5331 CRM Integration Record FindByRecordID
  3. 3426callsTable 5335 Integration Table Mapping ShowLog
  4. 3426callsTable 5331 CRM Integration Record GetLatestJobIDFilter

ShowOptionLog line 3429

  1. 3434callsGetIntegrationTableMapping
  2. 3437callsTable 5335 Integration Table Mapping ShowLog
  3. 3437callsTable 5334 CRM Option Mapping GetLatestJobIDFilter
  4. 3439callsTable 5335 Integration Table Mapping ShowLog

ShowSkippedRecords line 3442

  1. 3451callsPage 5333 CRM Skipped Records SetRecords

CoupleCRMEntity line 3456

  1. 3461callsTable 5332 Coupling Record Buffer Initialize
  2. 3463writesTable 5332 Coupling Record Buffer Insert
  3. 3464writesTable 5332 Coupling Record Buffer Modify
  4. 3466callsTable 5331 CRM Integration Record CoupleRecordIdToCRMID
  5. 3467callsTable 5332 Coupling Record Buffer GetPerformInitialSynchronization
  6. 3469callsTable 5332 Coupling Record Buffer GetInitialSynchronizationDirection
  7. 3470callsPerformInitialSynchronization

InitializeProxyVersionList line 3486

  1. 3497writesTable 9160 TempStack Insert

GetLastProxyVersionItem line 3502

  1. 3506callsInitializeProxyVersionList

GetNotificationDetailsFromIntegrationSyncJobEntry line 3511, local

  1. 3517callsTable 5338 Integration Synch. Job GetErrorForRecordID

ClearConnectionDisableReason line 3523

  1. 3528callsGetCRMDisabledErrorReasonNotificationId
  2. 3531writesTable 5330 CRM Connection Setup Modify

IsWorkingConnection line 3540

  1. 3544callsTable 5330 CRM Connection Setup TryReadSystemUsers

DisableConnection line 3547, local

  1. 3557validatesTable 5330 CRM Connection Setup Is Enabled
  2. 3558validatesTable 5330 CRM Connection Setup Disable Reason
  3. 3561writesTable 5330 CRM Connection Setup Modify

SendConnectionDisabledNotification line 3567

  1. 3571callsGetCRMDisabledErrorReasonNotificationId

InitializeCRMSynchStatus line 3586

  1. 3592writesTable 5328 CRM Synch Status Insert

InitializeCRMSynchStatus line 3596, internal

  1. 3600writesTable 5328 CRM Synch Status Insert

HasUncoupledSelectedUsers line 3606

  1. 3613callsTable 5331 CRM Integration Record FindRecordIDFromID

IsDataIntegrationEnabled line 3620, local

  1. 3625callsTable 5330 CRM Connection Setup IsEnabled

DisableConnectionOnAfterLongSynchError line 3629, local

  1. 3639callsDisableConnection
  2. 3643writesTable 5330 CRM Connection Setup Modify

ForceSynchronizeDataIntegration line 3648, local

  1. 3653callsIsCDSIntegrationEnabled
  2. 3653callsIsCRMIntegrationEnabled
  3. 3656callsUpdateOneNow

ForceSynchronizeRecords line 3661, local

  1. 3670callsIsCDSIntegrationEnabled
  2. 3670callsIsCRMIntegrationEnabled
  3. 3674callsTable 5331 CRM Integration Record FindByRecordID
  4. 3682callsUpdateMultipleNow

RegisterAssistedSetup line 3687

  1. 3696callsCodeunit 1990 Guided Experience Exists
  2. 3697callsCodeunit 1990 Guided Experience InsertAssistedSetup
  3. 3698callsCodeunit 5344 CRM Product Name SHORT
  4. 3698callsCodeunit 5344 CRM Product Name SHORT

IsCRMIntegrationRecord line 3703

  1. 3709raisesOnIsCRMIntegrationRecord
  2. 3715callsTable 5335 Integration Table Mapping DoesExistForTable

GetDatabaseTableTriggerSetup line 3719

  1. 3731raisesOnEnabledDatabaseTriggersSetup
  2. 3736callsIsCRMIntegrationRecord
  3. 3740callsTable 5330 CRM Connection Setup IsEnabled
  4. 3741callsIsCRMIntegrationRecord

OnDatabaseInsert line 3755

  1. 3757callsReactivateJobForTable

OnDatabaseModify line 3761

  1. 3763callsReactivateJobForTable

OnDatabaseRename line 3767

  1. 3769callsReactivateJobForTable

ReactivateJobForTable line 3772, internal

  1. 3790callsTable 5330 CRM Connection Setup IsEnabled
  2. 3796callsIsCRMIntegrationRecord
  3. 3808callsTable 5335 Integration Table Mapping FindMappingForTable
  4. 3819callsCodeunit 9900 Data Upgrade Mgt. IsUpgradeInProgress
  5. 3821callsUserCanRescheduleJob
  6. 3843raisesOnBeforeRescheduleJobQueueEntries
  7. 3853callsDoesJobActOnTable
  8. 3858callsTable 472 Job Queue Entry GetRecLockedExtendedTimeout
  9. 3863writesTable 472 Job Queue Entry Modify

FindCoupledToCRMField line 3916, internal

  1. 3930raisesOnBeforeFindCoupledToCRMFieldIsHandled

EnableUnitGroupMapping line 3961

  1. 3965callsAdjustUnitGroupCRMConnectionSetup
  2. 3967callsUserCanRescheduleJob
  3. 3976runsCodeunit 453 Job Queue - Enqueue

DisableUnitGroupMapping line 3981

  1. 3988writesTable 5331 CRM Integration Record DeleteAll
  2. 3992writesTable 5331 CRM Integration Record DeleteAll
  3. 3996writesTable 5331 CRM Integration Record DeleteAll
  4. 3999writesTable 5373 CRM Full Synch. Review Line Delete
  5. 4002writesTable 5373 CRM Full Synch. Review Line Delete
  6. 4005writesTable 5373 CRM Full Synch. Review Line Delete
  7. 4007callsRemoveIntegrationTableMapping
  8. 4008callsRemoveIntegrationTableMapping
  9. 4009callsRemoveIntegrationTableMapping

AdjustUnitGroupCRMConnectionSetup line 4012

  1. 4019writesTable 5331 CRM Integration Record DeleteAll
  2. 4021writesTable 5373 CRM Full Synch. Review Line Delete
  3. 4022callsRemoveIntegrationTableMapping

RemoveIntegrationTableMapping line 4025, local

  1. 4039writesTable 472 Job Queue Entry DeleteAll(true)
  2. 4041writesTable 5335 Integration Table Mapping Delete(true)

UpdateItemUnitGroup line 4045

  1. 4062writesTable 5400 Unit Group Insert

UpdateResourceUnitGroup line 4073

  1. 4090writesTable 5400 Unit Group Insert

IsIntegrationRecordChild line 4115

  1. 4119raisesOnIsIntegrationRecordChild

IsFieldServiceIntegrationAppInstalled line 4152

  1. 4156callsCodeunit 2504 Extension Management IsInstalledByAppId

HandleOnOptionDeletionConflictDetected line 4160, local

  1. 4167callsIsCDSIntegrationEnabled
  2. 4167callsIsCRMIntegrationEnabled
  3. 4173callsRemoveOptionMappingFromRecRef
  4. 4175callsRemoveOptionMapping
  5. 4175callsTable 5334 CRM Option Mapping GetRecordRefOptionId