Codeunit 5335 Integration Table Synch.

Base Application, Microsoft.Integration.SyncEngine

src/Layers/W1/BaseApp/Integration/SynchEngine/IntegrationTableSynch.Codeunit.al25 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

BeginIntegrationUncoupleJob line 40

  1. 42callsBeginIntegrationSynchJob

BeginIntegrationCoupleJob line 45

  1. 47callsBeginIntegrationSynchJob

BeginIntegrationSynchJob line 50, local

  1. 55callsEnsureState
  2. 62callsTable 5335 Integration Table Mapping GetJobLogEntryNo
  3. 64callsDetermineSynchDirection
  4. 68callsInitIntegrationSynchJob
  5. 71raisesOnAfterInitSynchJob
  6. 73callsFinishIntegrationSynchJob

BeginIntegrationSynchJobLoging line 77

  1. 79callsEnsureState
  2. 90callsInitIntegrationSynchJob
  3. 93raisesOnAfterInitSynchJob

CheckTransferFields line 97

  1. 105raisesOnBeforeCheckTransferFields
  2. 113callsBuildTempIntegrationFieldMapping
  3. 114callsCodeunit 5336 Integration Record Synch. SetFieldMapping
  4. 115callsCodeunit 5345 Integration Rec. Synch. Invoke SetContext
  5. 119callsCodeunit 5345 Integration Rec. Synch. Invoke CheckTransferFields

Synchronize line 122

  1. 129raisesOnBeforeSynchronizeIsHandled
  2. 133callsDoesSourceMatchMapping
  3. 134callsFinishIntegrationSynchJob
  4. 136callsTable 5335 Integration Table Mapping GetName
  5. 140callsEnsureState
  6. 148writesTable 5338 Integration Synch. Job Modify(true)
  7. 150callsBuildTempIntegrationFieldMapping
  8. 163callsIsRecordSkipped
  9. 166callsCodeunit 5336 Integration Record Synch. SetFieldMapping
  10. 167callsCodeunit 5345 Integration Rec. Synch. Invoke SetContext
  11. 171runsCodeunit 5345 Integration Rec. Synch. Invoke
  12. 173callsLogSynchError
  13. 174callsCodeunit 5345 Integration Rec. Synch. Invoke MarkIntegrationRecordAsFailed
  14. 176callsIncrementSynchJobCounters
  15. 179callsCodeunit 5345 Integration Rec. Synch. Invoke GetContext
  16. 182callsIncrementSynchJobCounters

Uncouple line 188

  1. 197raisesOnBeforeUncoupleIsHandled
  2. 201callsEnsureState
  3. 207writesTable 5338 Integration Synch. Job Modify(true)
  4. 209writesTable 5337 Temp Integration Field Mapping DeleteAll
  5. 217callsCodeunit 5336 Integration Record Synch. SetFieldMapping
  6. 218callsCodeunit 5357 Int. Rec. Uncouple Invoke SetContext
  7. 221runsCodeunit 5357 Int. Rec. Uncouple Invoke
  8. 223callsLogSynchError
  9. 226callsCodeunit 5357 Int. Rec. Uncouple Invoke GetContext
  10. 229callsIncrementSynchJobCounters
  11. 230callsIncrementSynchJobCounters

Couple line 235

  1. 244raisesOnBeforeCoupleIsHandled
  2. 248callsEnsureState
  3. 254writesTable 5338 Integration Synch. Job Modify(true)
  4. 256writesTable 5337 Temp Integration Field Mapping DeleteAll
  5. 264callsCodeunit 5336 Integration Record Synch. SetFieldMapping
  6. 265callsCodeunit 5361 Int. Rec. Couple Invoke SetContext
  7. 268runsCodeunit 5361 Int. Rec. Couple Invoke
  8. 270callsLogSynchError
  9. 273callsCodeunit 5361 Int. Rec. Couple Invoke GetContext
  10. 276callsIncrementSynchJobCounters
  11. 277callsIncrementSynchJobCounters

CoupleOption line 283

  1. 288callsEnsureState
  2. 294writesTable 5338 Integration Synch. Job Modify(true)
  3. 296writesTable 5337 Temp Integration Field Mapping DeleteAll
  4. 304callsTable 5334 CRM Option Mapping InsertRecord
  5. 304callsTable 5334 CRM Option Mapping GetRecordRefOptionId
  6. 304callsTable 5334 CRM Option Mapping GetRecordRefOptionValue
  7. 306callsLogSynchError
  8. 310callsIncrementSynchJobCounters

LogMatchBasedCouplingError line 314

  1. 318callsEnsureState
  2. 324writesTable 5338 Integration Synch. Job Modify(true)
  3. 326writesTable 5337 Temp Integration Field Mapping DeleteAll
  4. 332callsLogSynchError

Delete line 335

  1. 341callsEnsureState
  2. 350writesTable 5338 Integration Synch. Job Modify(true)
  3. 354callsCodeunit 5347 Integration Rec. Delete Invoke SetContext
  4. 357runsCodeunit 5347 Integration Rec. Delete Invoke
  5. 358callsLogSynchError
  6. 361callsCodeunit 5347 Integration Rec. Delete Invoke GetContext
  7. 364callsIncrementSynchJobCounters

EndIntegrationSynchJob line 369

  1. 371callsEndIntegrationSynchJobWithMsg

EndIntegrationSynchJobWithMsg line 374

  1. 377callsFinishIntegrationSynchJob

DetermineSynchDirection line 409, local

  1. 416raisesOnDetermineSynchDirectionIsHandled

InitIntegrationSynchJob line 444, local

  1. 448callsCreateIntegrationSynchJobEntry

FinishIntegrationSynchJob line 453, local

  1. 458writesTable 5338 Integration Synch. Job Modify(true)

CreateIntegrationSynchJobEntry line 462, local

  1. 465callsInsertIntegrationSynchJobEntry
  2. 468callsInsertIntegrationSynchJobEntry

InsertIntegrationSynchJobEntry line 471, local

  1. 477callsTable 5335 Integration Table Mapping GetName
  2. 481writesTable 5338 Integration Synch. Job Insert(true)

BuildTempIntegrationFieldMapping line 486, local

  1. 498writesTable 5337 Temp Integration Field Mapping DeleteAll
  2. 516writesTable 5337 Temp Integration Field Mapping Insert

LogSynchError line 525

  1. 532callsIncrementSynchJobCounters
  2. 538callsTable 5339 Integration Synch. Job Errors LogSynchError

IncrementSynchJobCounters line 543

  1. 545callsUpdateSynchJobCounters

UpdateSynchJobCounters line 548

  1. 572writesTable 5338 Integration Synch. Job Modify

IsRecordSkipped line 586, local

  1. 590callsCodeunit 5338 Integration Record Management IsIntegrationRecordSkipped

SynchronizeOption line 593

  1. 599raisesOnBeforeSynchronizeOptionIsHandled
  2. 603callsEnsureState
  3. 611writesTable 5338 Integration Synch. Job Modify(true)
  4. 623callsIsOptionSkipped
  5. 626callsCodeunit 5364 Int. Option Synch. Invoke SetContext
  6. 628runsCodeunit 5364 Int. Option Synch. Invoke
  7. 630callsLogSynchError
  8. 631callsCodeunit 5364 Int. Option Synch. Invoke MarkOptionMappingAsFailed
  9. 633callsIncrementSynchJobCounters
  10. 636callsCodeunit 5364 Int. Option Synch. Invoke GetContext
  11. 639callsIncrementSynchJobCounters

IsOptionSkipped line 645, local

  1. 649callsTable 5334 CRM Option Mapping IsOptionMappingSkipped