Codeunit 5345 "Integration Rec. Synch. Invoke"
Base Application · Microsoft.Integration.SyncEngine
Across versions
- BC23present
- BC242 procedures changed, 2 events added
- BC254 procedures added, 2 procedures removed
- BC26unchanged
- BC271 events added, 1 events removed
- BC28-30unchanged
Neighbourhood 19 connected objects and pages
Base Application · Microsoft.Integration.SyncEngine · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnUpdateConflictDetected(var IntegrationTableMapping: Record "Integration Table Mapping"; var SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef; var UpdateConflictHandled: Boolean; var SkipRecord: Boolean)(integration)- subscribers: Codeunit 5330 “CRM Integration Management” HandleOnUpdateConflictDetected
OnDeletionConflictDetected(var IntegrationTableMapping: Record "Integration Table Mapping"; var SourceRecordRef: RecordRef; var DeletionConflictHandled: Boolean)(integration)- subscribers: Codeunit 5330 “CRM Integration Management” HandleOnDeletionConflictDetected, Codeunit 7233 “Master Data Management” OnDeletionConflictDetected
OnDeletionConflictSetSynchAction(var IntegrationTableMapping: Record "Integration Table Mapping"; var SourceRecordRef: RecordRef; var SynchAction: Option "None",Insert,Modify,ForceModify,IgnoreUnchanged,Fail,Skip,Delete,Uncouple,Couple; var SetSynchActionHandled: Boolean)+ BC24 (integration)OnDeletionConflictDetectedSetRecordStateAndSynchAction(var IntegrationTableMapping: Record "Integration Table Mapping"; var SourceRecordRef: RecordRef; var CoupledRecordRef: RecordRef; var RecordState: Option NotFound,Coupled,Decoupled; var SynchAction: Option "None",Insert,Modify,ForceModify,IgnoreUnchanged,Fail,Skip,Delete,Uncouple,Couple; var DeletionConflictHandled: Boolean)+ BC24 (integration)- subscribers: Codeunit 6610 “FS Int. Table Subscriber” HandleOnDeletionConflictDetectedSetRecordStateAndSynchAction
OnBeforeTransferRecordFields(SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef)(integration)- subscribers: Codeunit 5341 “CRM Int. Table. Subscriber” OnBeforeTransferRecordFields, Codeunit 6610 “FS Int. Table Subscriber” OnBeforeTransferRecordFields, Codeunit 7237 “Master Data Mgt. Subscribers” OnBeforeTransferRecordFields
OnAfterTransferRecordFields(var SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef; var AdditionalFieldsWereModified: Boolean; DestinationIsInserted: Boolean)(integration)- subscribers: Codeunit 5341 “CRM Int. Table. Subscriber” OnAfterTransferRecordFields, Codeunit 6610 “FS Int. Table Subscriber” OnAfterTransferRecordFields, Codeunit 7237 “Master Data Mgt. Subscribers” OnAfterTransferRecordFields
OnBeforeModifyRecord(IntegrationTableMapping: Record "Integration Table Mapping"; SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef)(integration)- subscribers: Codeunit 5341 “CRM Int. Table. Subscriber” OnBeforeModifyRecord, Codeunit 6610 “FS Int. Table Subscriber” HandleOnBeforeModifyRecord, Codeunit 7205 “CDS Int. Table. Subscriber” HandleOnBeforeModifyRecord, Codeunit 7237 “Master Data Mgt. Subscribers” OnBeforeModifyRecord
OnAfterModifyRecord(IntegrationTableMapping: Record "Integration Table Mapping"; var SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef)(integration)- subscribers: Codeunit 5341 “CRM Int. Table. Subscriber” OnAfterModifyRecord, Codeunit 6276 “Sust. Int. Table Subscriber” HandleOnAfterModifyRecord, Codeunit 6610 “FS Int. Table Subscriber” HandleOnAfterModifyRecord, Codeunit 7205 “CDS Int. Table. Subscriber” HandleOnAfterModifyRecord, Codeunit 7237 “Master Data Mgt. Subscribers” OnAfterModifyRecord
OnErrorWhenModifyingRecord(IntegrationTableMapping: Record "Integration Table Mapping"; var SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef)(integration)OnBeforeInsertRecord(IntegrationTableMapping: Record "Integration Table Mapping"; SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef; var InsertWithSystemId: Boolean)+ BC27 − BC27 (integration)- subscribers: Codeunit 5341 “CRM Int. Table. Subscriber” OnBeforeInsertRecord, Codeunit 6276 “Sust. Int. Table Subscriber” HandleOnBeforeInsertRecord, Codeunit 6610 “FS Int. Table Subscriber” HandleOnBeforeInsertRecord, Codeunit 7205 “CDS Int. Table. Subscriber” HandleOnBeforeInsertRecord, Codeunit 7237 “Master Data Mgt. Subscribers” HandleOnBeforeInsertRecord
OnAfterInsertRecord(IntegrationTableMapping: Record "Integration Table Mapping"; var SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef)(integration)- subscribers: Codeunit 5341 “CRM Int. Table. Subscriber” OnAfterInsertRecord, Codeunit 6276 “Sust. Int. Table Subscriber” HandleOnAfterInsertRecord, Codeunit 6610 “FS Int. Table Subscriber” HandleOnAfterInsertRecord, Codeunit 7205 “CDS Int. Table. Subscriber” HandleOnAfterInsertRecord, Codeunit 7237 “Master Data Mgt. Subscribers” HandleOnAfterInsertRecord
OnAfterUnchangedRecordHandled(IntegrationTableMapping: Record "Integration Table Mapping"; SourceRecordRef: RecordRef; DestinationRecordRef: RecordRef)(integration)- subscribers: Codeunit 5341 “CRM Int. Table. Subscriber” OnAfterUnchangedRecordHandled, Codeunit 6610 “FS Int. Table Subscriber” HandleOnAfterUnchangedRecordHandled, Codeunit 7205 “CDS Int. Table. Subscriber” OnAfterUnchangedRecordHandled, Codeunit 7237 “Master Data Mgt. Subscribers” HandleOnAfterUnchangedRecordHandled
OnBeforeApplyRecordTemplate(IntegrationTableMapping: Record "Integration Table Mapping"; SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef; var TemplateCode: Code[10])(integration)OnBeforeDetermineConfigTemplateCode(IntegrationTableMapping: Record "Integration Table Mapping"; var TemplateCode: Code[10]; var Handled: Boolean)(integration)- subscribers: Codeunit 7237 “Master Data Mgt. Subscribers” OnBeforeDetermineConfigTemplateCode
OnAfterApplyRecordTemplate(IntegrationTableMapping: Record "Integration Table Mapping"; SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef)(integration)OnFindUncoupledDestinationRecord(IntegrationTableMapping: Record "Integration Table Mapping"; SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef; var DestinationIsDeleted: Boolean; var DestinationFound: Boolean)(integration)- subscribers: Codeunit 5341 “CRM Int. Table. Subscriber” OnFindUncoupledDestinationRecord
OnUpdateIntegrationRecordCoupling(IntegrationTableMapping: Record "Integration Table Mapping"; var SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef; var IsHandled: Boolean; IntegrationTableConnectionType: TableConnectionType)(integration)- subscribers: Codeunit 6610 “FS Int. Table Subscriber” HandleOnUpdateIntegrationRecordCoupling, Codeunit 7233 “Master Data Management” HandleOnUpdateIntegrationRecordCoupling
OnWasModifiedAfterLastSynch(IntegrationTableConnectionType: TableConnectionType; IntegrationTableMapping: Record "Integration Table Mapping"; var SourceRecordRef: RecordRef; var SourceWasChanged: Boolean; var IsHandled: Boolean)(integration)- subscribers: Codeunit 7237 “Master Data Mgt. Subscribers” OnWasModifiedAfterLastSynch
OnUpdateIntegrationRecordTimestamp(IntegrationTableMapping: Record "Integration Table Mapping"; var SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef; IntegrationTableConnectionType: TableConnectionType; JobID: Guid; BothModified: Boolean; var IsHandled: Boolean)(integration)- subscribers: Codeunit 7233 “Master Data Management” HandleOnUpdateIntegrationRecordTimestamp
OnBeforeIgnoreUnchangedRecordHandled(IntegrationTableMapping: Record "Integration Table Mapping"; SourceRecordRef: RecordRef; DestinationRecordRef: RecordRef)(integration)- subscribers: Codeunit 5341 “CRM Int. Table. Subscriber” OnBeforeIgnoreUnchangedRecordHandled, Codeunit 6610 “FS Int. Table Subscriber” HandleOnBeforeIgnoreUnchangedRecordHandled
OnInsertRecordOnAfterApplyConfigTemplate(IntegrationTableMapping: Record "Integration Table Mapping"; var SourceRecordRef: RecordREf; var DestinationRecordRef: RecordRef)(integration)
Procedures
SetContext(IntegrationTableMapping: Record "Integration Table Mapping"; SourceRecordRef: RecordRef; DestinationRecordRef: RecordRef; IntegrationRecordSynch: Codeunit "Integration Record Synch."; SynchAction: Option; IgnoreSynchOnlyCoupledRecords: Boolean; JobId: Guid; IntegrationTableConnectionType: TableConnectionType)GetContext(var IntegrationTableMapping: Record "Integration Table Mapping"; var SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef; var IntegrationRecordSynch: Codeunit "Integration Record Synch."; var SynchAction: Option)WasModifiedAfterLastSynch(IntegrationTableMapping: Record "Integration Table Mapping"; RecordRef: RecordRef): BooleanGetRowLastModifiedOn(IntegrationTableMapping: Record "Integration Table Mapping"; FromRecordRef: RecordRef): DateTimeFindRecord(var IntegrationTableMapping: Record "Integration Table Mapping"; var SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef; var IsDestinationDeleted: Boolean; IntegrationTableConnectionType: TableConnectionType): Integer(internal)FindCoupledRecord(var IntegrationTableMapping: Record "Integration Table Mapping"; var SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef; var IsDestinationDeleted: Boolean; IntegrationTableConnectionType: TableConnectionType): Integer(internal)PrepareNewDestination(var IntegrationTableMapping: Record "Integration Table Mapping"; var RecordRef: RecordRef; var CoupledRecordRef: RecordRef)Δ BC24CheckTransferFields(var IntegrationRecordSynch: Codeunit "Integration Record Synch."; IntegrationTableMapping: Record "Integration Table Mapping"; var SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef; var FieldsModified: Boolean; var BidirectionalFieldsModified: Boolean)+ BC25 − BC25MarkIntegrationRecordAsFailed(IntegrationTableMapping: Record "Integration Table Mapping"; SourceRecordRef: RecordRef; JobId: Guid; IntegrationTableConnectionType: TableConnectionType)MarkIntegrationRecordAsFailed(IntegrationTableMapping: Record "Integration Table Mapping"; SourceRecordRef: RecordRef; JobId: Guid; IntegrationTableConnectionType: TableConnectionType; ForceMarkAsSkipped: Boolean)MarkIntegrationRecordAsFailed(IntegrationTableMapping: Record "Integration Table Mapping"; SourceRecordRef: RecordRef; JobId: Guid; IntegrationTableConnectionType: TableConnectionType; var SyncAction: Option)FindTableConfigTemplate(IntegrationTableMapping: Record "Integration Table Mapping"; SourceRecordRef: RecordRef): Code[10]+ BC25 (internal)FindIntTableConfigTemplate(IntegrationTableMapping: Record "Integration Table Mapping"; SourceRecordRef: RecordRef): Code[10]+ BC25 (internal)
Plus 16 local procedures.
Triggers
OnRun
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 5336 “Integration Record Synch.” (10 calls:
CheckTransferFields → (object),CheckTransferFields → GetWasBidirectionalFieldModified,CheckTransferFields → GetWasModified, …) - Codeunit 5338 “Integration Record Management” (6 calls:
FindCoupledRecord → FindRecordIdByIntegrationTableUid,FindIntegrationTableRecord → FindIntegrationTableUIdByRecordRef,FindRecord → FindRecordIdByIntegrationTableUid, …) - Codeunit 5397 “CDS Transformation Rule Mgt.” (2 calls:
CheckTransferFields → ApplyTransformations,TransferFields → ApplyTransformations) - Codeunit 5330 “CRM Integration Management” (1 call:
InsertRecord → IsCRMTable) - Codeunit 8612 “Config. Template Management” (1 call:
ApplyConfigTemplate → UpdateRecord)
Called by
- Codeunit 5335 “Integration Table Synch.” (6 calls:
CheckTransferFields → CheckTransferFields,CheckTransferFields → SetContext,Synchronize → (object), …) - Codeunit 7205 “CDS Int. Table. Subscriber” (4 calls:
FixPrimaryContactIdInCDS → WasModifiedAfterLastSynch,FixPrimaryContactNo → WasModifiedAfterLastSynch,HandleOnBeforeInsertRecord → FindTableConfigTemplate, …) - Codeunit 5330 “CRM Integration Management” (2 calls:
GetSelectedSingleSyncDirection → WasModifiedAfterLastSynch,WasRecordModifiedAfterLastSynch → WasModifiedAfterLastSynch) - Codeunit 7233 “Master Data Management” (2 calls:
GetSelectedSingleSyncDirection → WasModifiedAfterLastSynch,WasRecordModifiedAfterLastSynch → WasModifiedAfterLastSynch) - Codeunit 7237 “Master Data Mgt. Subscribers” (2 calls:
FixPrimaryContactNo → WasModifiedAfterLastSynch,UpdateContactParentCompany → WasModifiedAfterLastSynch) - Codeunit 5357 “Int. Rec. Uncouple Invoke” (1 call:
UncoupleRecord → FindCoupledRecord) - Codeunit 5361 “Int. Rec. Couple Invoke” (1 call:
CoupleRecord → FindCoupledRecord) - Codeunit 6610 “FS Int. Table Subscriber” (1 call:
HandleOnDeletionConflictDetectedSetRecordStateAndSynchAction → PrepareNewDestination)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Integration Rec. Synch. Invoke"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.