Codeunit 5340 CRM Integration Table Synch.

Base Application, Microsoft.Integration.Dataverse

Source AL, 1,028 lines

src/Layers/W1/BaseApp/Integration/Dataverse/CRMIntegrationTableSynch.Codeunit.allines 16 to 31 of 1,028, Copyright (c) Microsoft Corporation. MIT

codeunit 5340 "CRM Integration Table Synch."{    TableNo = "Integration Table Mapping";    trigger OnRun()    var        "Field": Record "Field";        OriginalJobQueueEntry: Record "Job Queue Entry";        ConnectionName: Text;        LatestModifiedOn: array[2] of DateTime;        isHandled: Boolean;        PrevStatus: Option;        MappingName: Code[20];    begin        OnBeforeRun(Rec, IsHandled);        if IsHandled then

All 1,028 lines

Events 9 in 29

[IntegrationEvent] OnQueryPostFilterIgnoreRecord(SourceRecordRef: RecordRef; var IgnoreRecord: Boolean)17-29
[IntegrationEvent] OnBeforeRun(IntegrationTableMapping: Record "Integration Table Mapping"; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeUpdateTableMappingModifiedOn(var IntegrationTableMapping: Record "Integration Table Mapping"; ModifiedOn: array[2] of DateTime; var IsHandled: Boolean)17-29
[IntegrationEvent] OnSynchNAVTableToCRMOnBeforeCheckLatestModifiedOn(var SourceRecordRef: RecordRef; IntegrationTableMapping: Record "Integration Table Mapping")17-29
[IntegrationEvent] OnGetMaxNumberOfConditions(var Handled: Boolean; var Value: Integer)new in 19
[IntegrationEvent] OnLoadCRMOption(var TempCRMRecordRef: RecordRef; IntegrationTableMapping: Record "Integration Table Mapping")new in 20
[IntegrationEvent] OnIsModifiedByFilterNeeded(var IntegrationTableMapping: Record "Integration Table Mapping"; var IsHandled: Boolean; var IsNeeded: Boolean)new in 21

All 9 events

Public procedures 8 in 29

GetOutOfMapFilter(): Boolean17-29
SynchRecord(IntegrationTableMapping: Record "Integration Table Mapping"; SourceID: Variant; ForceModify: Boolean; IgnoreSynchOnlyCoupledRecords: Boolean): Guid17-29
SyncNAVRecordToCRM(var SourceRecordRef: RecordRef; IntegrationTableMapping: Record "Integration Table Mapping"; var IntegrationTableSynch: Codeunit "Integration Table Synch."; var TempCRMIntegrationRecord: Record "CRM Integration Record" temporary; var LatestLocalModifiedOn: DateTime)17-29changed in 18
GetMaxNumberOfConditions(): Integernew in 18
SynchOption(var IntegrationTableMapping: Record "Integration Table Mapping")new in 20
LoadCRMOption(var TempCRMRecordRef: RecordRef; IntegrationTableMapping: Record "Integration Table Mapping")new in 20

All 20 procedures in 17-29

Changes 10 in 22

List17181920212223242526272829
Procedures25318
Events1112
SynchRecordsToIntegrationTable(RecordsToSynchRecordRef: RecordRef; IgnoreChanges: Boolean; IgnoreSynchOnlyCoupledRecords: Boolean): Guidgone after 21
gone
internal SplitLocalTableFilter(var IntegrationTableMapping: Record "Integration Table Mapping"; var TableFilterList: List of [Text]): Boolean19 to 21
gone
internal SplitIntegrationTableFilter(var IntegrationTableMapping: Record "Integration Table Mapping"; var TableFilterList: List of [Text]): Boolean19 to 21
gone
internal SplitTableFilter(TableId: Integer; FieldNo: Integer; TableFilter: Text; var TableFilterList: List of [Text]): Boolean19 to 21
gone
internal GetIdFilterList(var IdList: List of [Guid]; var IdFilterList: List of [Text])19 to 21
gone
SynchRecordsFromIntegrationTable(RecordsToSynchRecordRef: RecordRef; SourceTableNo: Integer; IgnoreChanges: Boolean; IgnoreSynchOnlyCoupledRecords: Boolean): Guid21 to 21
gone

All 24 changes in 17-29