Codeunit 5345 Integration Rec. Synch. Invoke

Base Application, Microsoft.Integration.SyncEngine

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

OnRun line 14, trigger

  1. 16callsCheckContext
  2. 17callsSynchRecord

GetContext line 60

  1. 62callsCheckContext

WasModifiedAfterLastSynch line 70

  1. 75callsGetRowLastModifiedOn
  2. 78callsCodeunit 5338 Integration Record Management IsModifiedAfterIntegrationTableRecordLastSynch
  3. 83callsCodeunit 5338 Integration Record Management IsModifiedAfterRecordLastSynch

SynchRecord line 106, local

  1. 125callsGetCoupledRecord
  2. 134callsPrepareNewDestination
  3. 141raisesOnWasModifiedAfterLastSynchIsHandled
  4. 143callsWasModifiedAfterLastSynch
  5. 146callsTable 5335 Integration Table Mapping GetDirection
  6. 147callsWasModifiedAfterLastSynch
  7. 154raisesOnBeforeIgnoreUnchangedRecordHandled
  8. 159callsTransferFields
  9. 163callsCodeunit 5336 Integration Record Synch. GetWasBidirectionalFieldModified
  10. 164callsCodeunit 5336 Integration Record Synch. GetBidirectionalFieldModifiedContext
  11. 165raisesOnUpdateConflictDetected
  12. 167callsGetFieldNameAndCaption
  13. 171callsGetFieldNameAndCaption
  14. 179callsLogSynchError
  15. 182callsMarkIntegrationRecordAsFailed
  16. 191callsCodeunit 5336 Integration Record Synch. GetWasModified
  17. 194callsCodeunit 5336 Integration Record Synch. GetWasModified
  18. 200callsInsertRecord
  19. 204callsModifyRecord
  20. 208callsUpdateIntegrationRecordCoupling
  21. 210raisesOnAfterUnchangedRecordHandled
  22. 211callsUpdateIntegrationRecordTimestamp

InsertRecord line 229, local

  1. 234raisesOnBeforeInsertRecord
  2. 236callsCodeunit 5330 CRM Integration Management IsCRMTable
  3. 238callsApplyConfigTemplate
  4. 239raisesOnInsertRecordOnAfterApplyConfigTemplate
  5. 241callsUpdateIntegrationRecordCoupling
  6. 244raisesOnAfterInsertRecord
  7. 248callsUpdateIntegrationRecordTimestamp

ModifyRecord line 254, local

  1. 259raisesOnBeforeModifyRecord
  2. 262callsUpdateIntegrationRecordCoupling
  3. 264raisesOnAfterModifyRecord
  4. 269callsUpdateIntegrationRecordTimestamp
  5. 273raisesOnErrorWhenModifyingRecord
  6. 276callsRemoveTrailingDots
  7. 279callsLogSynchError
  8. 280callsMarkIntegrationRecordAsFailed

ApplyConfigTemplate line 285, local

  1. 292raisesOnBeforeDetermineConfigTemplateCode
  2. 295callsFindIntTableConfigTemplate
  3. 297callsFindTableConfigTemplate
  4. 299raisesOnBeforeApplyRecordTemplate
  5. 302callsCodeunit 8612 Config. Template Management UpdateRecord
  6. 304callsInsertDimensionsFromTemplate
  7. 305raisesOnAfterApplyRecordTemplate
  8. 308callsLogSynchError

InsertDimensionsFromTemplate line 315, local

  1. 329callsTable 1302 Dimensions Template InsertDimensionsFromTemplates

GetCoupledRecord line 333, local

  1. 341callsFindRecord
  2. 355raisesOnDeletionConflictDetected
  3. 357raisesOnDeletionConflictDetectedSetRecordStateAndSynchAction
  4. 362callsLogSynchError
  5. 363callsMarkIntegrationRecordAsFailed
  6. 368callsPrepareNewDestination
  7. 380raisesOnDeletionConflictSetSynchAction

FindRecord line 387, internal

  1. 406callsFindIntegrationTableRecord
  2. 411callsCodeunit 5338 Integration Record Management FindRecordIdByIntegrationTableUid
  3. 420callsFindAndCoupleDestinationRecord

FindCoupledRecord line 427, internal

  1. 436callsFindIntegrationTableRecord
  2. 439callsCodeunit 5338 Integration Record Management FindRecordIdByIntegrationTableUid

FindAndCoupleDestinationRecord line 450, local

  1. 452raisesOnFindUncoupledDestinationRecord
  2. 455callsUpdateIntegrationRecordCoupling
  3. 457callsUpdateIntegrationRecordTimestamp

FindIntegrationTableRecord line 462, local

  1. 468callsCodeunit 5338 Integration Record Management FindIntegrationTableUIdByRecordRef
  2. 471callsTable 5335 Integration Table Mapping GetRecordRef

LogSynchError line 486, local

  1. 494callsTable 5339 Integration Synch. Job Errors LogSynchError
  2. 496callsTable 5339 Integration Synch. Job Errors LogSynchError

CheckTransferFields line 504

  1. 509raisesOnBeforeTransferRecordFields
  2. 510callsCodeunit 5397 CDS Transformation Rule Mgt. ApplyTransformations
  3. 511callsCodeunit 5336 Integration Record Synch. SetParameters
  4. 513runsCodeunit 5336 Integration Record Synch.
  5. 514callsCodeunit 5336 Integration Record Synch. GetWasModified
  6. 516callsCodeunit 5336 Integration Record Synch. GetWasBidirectionalFieldModified
  7. 521raisesOnAfterTransferRecordFields

TransferFields line 526, local

  1. 530raisesOnBeforeTransferRecordFields
  2. 532callsCodeunit 5397 CDS Transformation Rule Mgt. ApplyTransformations
  3. 533callsCodeunit 5336 Integration Record Synch. SetParameters
  4. 534runsCodeunit 5336 Integration Record Synch.
  5. 535callsCodeunit 5336 Integration Record Synch. GetWasBidirectionalFieldModified
  6. 537raisesOnAfterTransferRecordFields
  7. 541callsLogSynchError
  8. 543callsRemoveTrailingDots
  9. 544callsMarkIntegrationRecordAsFailed

MarkIntegrationRecordAsFailed line 557

  1. 564callsCodeunit 5330 CRM Integration Management IsIntegrationRecordChild
  2. 568callsCodeunit 5338 Integration Record Management MarkLastSynchAsFailure

MarkIntegrationRecordAsFailed line 571

  1. 579callsCodeunit 5330 CRM Integration Management IsIntegrationRecordChild
  2. 584callsCodeunit 5338 Integration Record Management MarkLastSynchAsFailure

UpdateIntegrationRecordCoupling line 589, local

  1. 598raisesOnUpdateIntegrationRecordCouplingIsHandled
  2. 613callsCodeunit 5338 Integration Record Management UpdateIntegrationTableCoupling

UpdateIntegrationRecordTimestamp line 622, local

  1. 635raisesOnUpdateIntegrationRecordTimestampIsHandled
  2. 640callsCodeunit 5330 CRM Integration Management IsIntegrationRecordChild
  3. 654callsGetRowLastModifiedOn
  4. 655callsGetRowLastModifiedOn
  5. 663callsCodeunit 5338 Integration Record Management UpdateIntegrationTableTimestamp

FindTableConfigTemplate line 674, internal

  1. 689callsTable 5325 Table Config Template GetIntegrationTableFilter

FindIntTableConfigTemplate line 703, internal

  1. 718callsTable 5326 Int. Table Config Template GetTableFilter