Codeunit 5340 "CRM Integration Table Synch."
Base Application · Microsoft.Integration.Dataverse
Across versions
- BC23-30present
Neighbourhood 19 connected objects and pages
Base Application · Microsoft.Integration.Dataverse · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| TableNo | Integration Table Mapping |
Events published
OnQueryPostFilterIgnoreRecord(SourceRecordRef: RecordRef; var IgnoreRecord: Boolean)(integration)- subscribers: Codeunit 5340 “CRM Integration Table Synch.” IgnoreCompanyContactOnQueryPostFilterIgnoreRecord, Codeunit 5341 “CRM Int. Table. Subscriber” OnQueryPostFilterIgnoreRecord, Codeunit 6610 “FS Int. Table Subscriber” OnQueryPostFilterIgnoreRecord, Codeunit 7205 “CDS Int. Table. Subscriber” OnQueryPostFilterIgnoreRecord
OnBeforeRun(IntegrationTableMapping: Record "Integration Table Mapping"; var IsHandled: Boolean)(integration)OnBeforeUpdateTableMappingModifiedOn(var IntegrationTableMapping: Record "Integration Table Mapping"; ModifiedOn: array[2] of DateTime; var IsHandled: Boolean)(integration)OnSynchNAVTableToCRMOnBeforeCheckLatestModifiedOn(var SourceRecordRef: RecordRef; IntegrationTableMapping: Record "Integration Table Mapping")(integration)- subscribers: Codeunit 6610 “FS Int. Table Subscriber” OnSynchNAVTableToCRMOnBeforeCheckLatestModifiedOn
OnGetMaxNumberOfConditions(var Handled: Boolean; var Value: Integer)(integration)OnLoadCRMOption(var TempCRMRecordRef: RecordRef; IntegrationTableMapping: Record "Integration Table Mapping")(integration)OnIsModifiedByFilterNeeded(var IntegrationTableMapping: Record "Integration Table Mapping"; var IsHandled: Boolean; var IsNeeded: Boolean)(integration)OnBeforeSynchRecordsFromIntegrationTable(var RecordsToSynchRecordRef: RecordRef; SourceTableNo: Integer; IgnoreChanges: Boolean; IgnoreSynchOnlyCoupledRecords: Boolean; var IsHandled: Boolean)(integration)OnBeforeSynchRecordsToIntegrationTable(var RecordsToSynchRecordRef: RecordRef; IgnoreChanges: Boolean; IgnoreSynchOnlyCoupledRecords: Boolean; var IsHandled: Boolean)(integration)
Event subscriptions
- IgnoreCompanyContactOnQueryPostFilterIgnoreRecord subscribes to Codeunit “CRM Integration Table Synch.” OnQueryPostFilterIgnoreRecord
- OnBeforeModifyJobQueueEntry subscribes to Table “Job Queue Entry” OnBeforeModifyEvent
- OnSynchJobEntryCanBeRemoved subscribes to Table “Integration Synch. Job” OnCanBeRemoved
Procedures
InitConnection(): Text(internal)TestConnection()(internal)CloseConnection(ConnectionName: Text)(internal)GetOutOfMapFilter(): BooleanSynchOption(var IntegrationTableMapping: Record "Integration Table Mapping")SynchRecord(IntegrationTableMapping: Record "Integration Table Mapping"; SourceID: Variant; ForceModify: Boolean; IgnoreSynchOnlyCoupledRecords: Boolean): GuidSynchRecordsToIntegrationTable(var RecordsToSynchRecordRef: RecordRef; IgnoreChanges: Boolean; IgnoreSynchOnlyCoupledRecords: Boolean): GuidSynchRecordsFromIntegrationTable(var RecordsToSynchRecordRef: RecordRef; SourceTableNo: Integer; IgnoreChanges: Boolean; IgnoreSynchOnlyCoupledRecords: Boolean): GuidSyncNAVRecordToCRM(var SourceRecordRef: RecordRef; IntegrationTableMapping: Record "Integration Table Mapping"; var IntegrationTableSynch: Codeunit "Integration Table Synch."; var TempCRMIntegrationRecord: Record "CRM Integration Record" temporary; var LatestLocalModifiedOn: DateTime)CreateCRMIntegrationRecordClone(ForTable: Integer; var TempCRMIntegrationRecord: Record "CRM Integration Record" temporary)(internal)LoadCRMOption(var TempCRMRecordRef: RecordRef; IntegrationTableMapping: Record "Integration Table Mapping")GetMaxNumberOfConditions(): Integer
Plus 29 local procedures.
Triggers
OnRun
Relations
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 5335 “Integration Table Synch.” (24 calls:
PerformScheduledOptionSynchFromIntegrationTable → BeginIntegrationSynchJob,PerformScheduledOptionSynchFromIntegrationTable → EndIntegrationSynchJob,PerformScheduledOptionSynchToIntegrationTable → BeginIntegrationSynchJob, …) - Codeunit 5336 “Integration Record Synch.” (7 calls:
FindFailedNotSkippedCRMRecords → GetIdFilterList,FindModifiedCRMRecords → SplitIntegrationTableFilter,GetMaxNumberOfConditions → GetMaxNumberOfConditions, …) - Codeunit 5330 “CRM Integration Management” (5 calls:
CloseConnection → OnCloseCDSConnection,CreateCRMIntegrationRecordClone → RepairBrokenCouplings,GetIntegrationUserId → OnGetCDSIntegrationUserId, …) - Codeunit 4100 “Temp Blob” (2 calls:
CopyRecordReference → FromFieldRef,CopyRecordReference → ToFieldRef) - Codeunit 10 “Type Helper” (1 call:
SynchOption → GetField) - Codeunit 5341 “CRM Int. Table. Subscriber” (1 call:
ClearCache → ClearCache) - Codeunit 5342 “CRM Synch. Helper” (1 call:
IgnoreCompanyContactOnQueryPostFilterIgnoreRecord → IsContactTypeCheckIgnored) - Codeunit 5344 “CRM Product Name” (1 call:
InitConnection → FULL)
Called by
- Codeunit 5341 “CRM Int. Table. Subscriber” (8 calls:
CoupleAndSyncUnitGroup → SynchRecordsToIntegrationTable,CreateUnitGroupAndItemUnitOfMeasure → SynchRecordsToIntegrationTable,CreateUnitGroupAndResourceUnitOfMeasure → SynchRecordsToIntegrationTable, …) - Codeunit 6610 “FS Int. Table Subscriber” (6 calls:
OnSynchNAVTableToCRMOnBeforeCheckLatestModifiedOn → SynchRecordsToIntegrationTable,ResetFSWorkOrderIncidentFromServiceOrderItemLine → SynchRecordsToIntegrationTable,ResetServiceOrderItemLineFromFSWorkOrderIncident → SynchRecordsFromIntegrationTable, …) - Codeunit 5337 “CDS Int. Table Uncouple” (4 calls:
OnRun → CloseConnection,OnRun → InitConnection,OnRun → TestConnection, …) - Codeunit 5365 “CDS Int. Option Couple” (4 calls:
CoupleRecords → LoadCRMOption,OnRun → CloseConnection,OnRun → InitConnection, …) - Codeunit 6276 “Sust. Int. Table Subscriber” (4 calls:
SyncESGReportingLineIfConceptIsModified → SynchRecordsFromIntegrationTable,SyncESGReportingLineIfRequirementConceptIsModified → SynchRecordsFromIntegrationTable,SyncESGReportingLineIfStandardRequirementIsModified → SynchRecordsFromIntegrationTable, …) - Codeunit 5360 “CDS Int. Table Couple” (3 calls:
OnRun → CloseConnection,OnRun → InitConnection,OnRun → TestConnection) - Codeunit 5342 “CRM Synch. Helper” (2 calls:
CoupleAndSyncItemUoM → SynchRecordsToIntegrationTable,CoupleAndSyncResourceUoM → SynchRecordsToIntegrationTable) - Codeunit 5364 “Int. Option Synch. Invoke” (1 call:
GetMappedRecord → LoadCRMOption) - Table 5332 “Coupling Record Buffer” (1 call:
CalcCRMName → LoadCRMOption)
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: "CRM Integration Table Synch."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.