Codeunit 5335 "Integration Table Synch."
Base Application · Microsoft.Integration.SyncEngine
Across versions
- BC23-24present
- BC251 procedures added
- BC26-30unchanged
Neighbourhood 28 connected objects and pages
Base Application · Microsoft.Integration.SyncEngine · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnBeforeSynchronize(var SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef; var ForceModify: Boolean; var IgnoreSynchOnlyCoupledRecords: Boolean; var IsHandled: Boolean)(integration)OnBeforeSynchronizeOption(var SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef; var ForceModify: Boolean; var IgnoreSynchOnlyCoupledRecords: Boolean; var IsHandled: Boolean)(integration)OnBeforeCheckTransferFields(var SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef; var FieldsModified: Boolean; var BidirectionalFieldsModified: Boolean)(integration)OnBeforeUncouple(var LocalRecordRef: RecordRef; var IntegrationRecordRef: RecordRef; var IsHandled: Boolean)(integration)OnBeforeCouple(var LocalRecordRef: RecordRef; var IntegrationRecordRef: RecordRef; var IsHandled: Boolean)(integration)OnAfterInitSynchJob(ConnectionType: TableConnectionType; IntegrationTableID: Integer)(integration)- subscribers: Codeunit 5341 “CRM Int. Table. Subscriber” LogTelemetryOnAfterInitSynchJob, Codeunit 6610 “FS Int. Table Subscriber” LogTelemetryOnAfterInitSynchJob, Codeunit 7205 “CDS Int. Table. Subscriber” LogTelemetryOnAfterInitSynchJob
OnDetermineSynchDirection(var CurrentIntegrationTableMapping: Record "Integration Table Mapping"; var TableID: Integer; var ErrorMessage: Text; var IsHandled: Boolean)(integration)- subscribers: Codeunit 7237 “Master Data Mgt. Subscribers” OnDetermineSynchDirection
Procedures
BeginIntegrationSynchJob(ConnectionType: TableConnectionType; var IntegrationTableMapping: Record "Integration Table Mapping"; SourceTableID: Integer): GuidBeginIntegrationUncoupleJob(ConnectionType: TableConnectionType; var IntegrationTableMapping: Record "Integration Table Mapping"; SourceTableID: Integer): GuidBeginIntegrationCoupleJob(ConnectionType: TableConnectionType; var IntegrationTableMapping: Record "Integration Table Mapping"; SourceTableID: Integer): GuidBeginIntegrationSynchJobLoging(ConnectionType: TableConnectionType; CodeunitID: Integer; JobLogEntryNo: Integer; TableID: Integer): GuidCheckTransferFields(var IntegrationTableMapping: Record "Integration Table Mapping"; var SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef; var FieldsModified: Boolean; var BidirectionalFieldsModified: Boolean)Synchronize(var SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef; ForceModify: Boolean; IgnoreSynchOnlyCoupledRecords: Boolean): BooleanUncouple(var LocalRecordRef: RecordRef; var IntegrationRecordRef: RecordRef): BooleanCouple(var LocalRecordRef: RecordRef; var IntegrationRecordRef: RecordRef): BooleanCoupleOption(var LocalRecordRef: RecordRef; var IntegrationRecordRef: RecordRef): BooleanLogMatchBasedCouplingError(var LocalRecordRef: RecordRef; ErrorMessage: Text)Delete(RecRef: RecordRef): BooleanEndIntegrationSynchJob(): GuidEndIntegrationSynchJobWithMsg(FinalMessage: Text): GuidGetRowLastModifiedOn(IntegrationTableMapping: Record "Integration Table Mapping"; FromRecordRef: RecordRef): DateTimeLogSynchError(var SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef; ErrorMessage: Text): GuidLogSynchError(var SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef; ErrorMessage: Text; UpdateCounter: Boolean): GuidIncrementSynchJobCounters(SynchAction: Option)UpdateSynchJobCounters(SynchAction: Option; Counter: Integer)SynchronizeOption(var SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef; ForceModify: Boolean; IgnoreSynchOnlyCoupledRecords: Boolean): Boolean
Plus 11 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 5345 “Integration Rec. Synch. Invoke” (6 calls:
CheckTransferFields → CheckTransferFields,CheckTransferFields → SetContext,Synchronize → (object), …) - Codeunit 5336 “Integration Record Synch.” (4 calls:
CheckTransferFields → SetFieldMapping,Couple → SetFieldMapping,Synchronize → SetFieldMapping, …) - Codeunit 5364 “Int. Option Synch. Invoke” (4 calls:
SynchronizeOption → (object),SynchronizeOption → GetContext,SynchronizeOption → MarkOptionMappingAsFailed, …) - Codeunit 5347 “Integration Rec. Delete Invoke” (3 calls:
Delete → (object),Delete → GetContext,Delete → SetContext) - Codeunit 5357 “Int. Rec. Uncouple Invoke” (3 calls:
Uncouple → (object),Uncouple → GetContext,Uncouple → SetContext) - Codeunit 5361 “Int. Rec. Couple Invoke” (3 calls:
Couple → (object),Couple → GetContext,Couple → SetContext) - Codeunit 5338 “Integration Record Management” (1 call:
IsRecordSkipped → IsIntegrationRecordSkipped)
Called by
- Codeunit 5340 “CRM Integration Table Synch.” (24 calls:
PerformScheduledOptionSynchFromIntegrationTable → BeginIntegrationSynchJob,PerformScheduledOptionSynchFromIntegrationTable → EndIntegrationSynchJob,PerformScheduledOptionSynchToIntegrationTable → BeginIntegrationSynchJob, …) - Codeunit 7231 “Integration Master Data Synch.” (10 calls:
PerformScheduledSynchFromIntegrationTable → BeginIntegrationSynchJob,PerformScheduledSynchFromIntegrationTable → EndIntegrationSynchJob,PerformScheduledSynchToIntegrationTable → BeginIntegrationSynchJob, …) - Codeunit 5337 “CDS Int. Table Uncouple” (7 calls:
PerformScheduledUncoupling → BeginIntegrationUncoupleJob,PerformScheduledUncoupling → EndIntegrationSynchJob,ResetStuckCompanyId → IncrementSynchJobCounters, …) - Codeunit 5350 “CRM Statistics Job” (7 calls:
UpdateAccountStatistics → BeginIntegrationSynchJobLoging,UpdateAccountStatistics → EndIntegrationSynchJobWithMsg,UpdateAccountStatistics → IncrementSynchJobCounters, …) - Codeunit 5360 “CDS Int. Table Couple” (6 calls:
CoupleRecords → Couple,CoupleRecords → LogMatchBasedCouplingError,CoupleRecords → LogSynchError, …) - Codeunit 5365 “CDS Int. Option Couple” (6 calls:
CoupleRecords → CoupleOption,CoupleRecords → LogMatchBasedCouplingError,CoupleRecords → LogSynchError, …) - Codeunit 7235 “Master Data Mgt. Table Couple” (6 calls:
CoupleRecords → Couple,CoupleRecords → LogMatchBasedCouplingError,CoupleRecords → LogSynchError, …) - Codeunit 7236 “Master Data Mgt. Tbl. Uncouple” (5 calls:
PerformScheduledUncoupling → BeginIntegrationUncoupleJob,PerformScheduledUncoupling → EndIntegrationSynchJob,UncoupleAllCoupledRecords → Uncouple, …) - Codeunit 5352 “CRM Order Status Update Job” (4 calls:
UpdateSalesOrders → BeginIntegrationSynchJob,UpdateSalesOrders → BeginIntegrationSynchJobLoging,UpdateSalesOrders → EndIntegrationSynchJobWithMsg, …) - Codeunit 5355 “CRM Notes Synch Job” (4 calls:
UpdateSalesOrderNotes → BeginIntegrationSynchJob,UpdateSalesOrderNotes → BeginIntegrationSynchJobLoging,UpdateSalesOrderNotes → EndIntegrationSynchJobWithMsg, …) - Codeunit 5366 “CRM Archived Sales Orders Job” (3 calls:
UpdateArchivedOrders → BeginIntegrationSynchJobLoging,UpdateArchivedOrders → EndIntegrationSynchJobWithMsg,UpdateArchivedOrders → UpdateSynchJobCounters) - Codeunit 6610 “FS Int. Table Subscriber” (3 calls:
SynchRecordsToIntegrationTable → BeginIntegrationSynchJob,SynchRecordsToIntegrationTable → EndIntegrationSynchJob,SynchRecordsToIntegrationTable → Synchronize) - Codeunit 6618 “FS Archived Service Orders Job” (3 calls:
UpdateArchivedOrders → BeginIntegrationSynchJobLoging,UpdateArchivedOrders → EndIntegrationSynchJobWithMsg,UpdateArchivedOrders → UpdateSynchJobCounters) - Codeunit 7233 “Master Data Management” (2 calls:
GetSelectedSingleSyncDirection → CheckTransferFields,HandleOnUpdateIntegrationRecordTimestamp → GetRowLastModifiedOn) - Codeunit 5330 “CRM Integration Management” (1 call:
GetSelectedSingleSyncDirection → CheckTransferFields) - Codeunit 5349 “Auto Create Sales Orders” (1 call:
CreateNAVSalesOrdersFromSubmittedCRMSalesorders → OnAfterInitSynchJob) - Codeunit 5354 “Auto Process Sales Quotes” (1 call:
CreateNAVSalesQuotesFromSubmittedCRMSalesquotes → OnAfterInitSynchJob)
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 Table Synch."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.