Codeunit "CRM Integration Table Synch."

ID 5340
Namespace: Microsoft.Integration.Dataverse

Properties

Name Value
TableNo Table Microsoft.Integration.SyncEngine."Integration Table Mapping"

Methods

GetOutOfMapFilter

procedure GetOutOfMapFilter(): Boolean

Returns

Type Description
Boolean

SynchOption

procedure SynchOption(var IntegrationTableMapping: Record "Integration Table Mapping")

Parameters

Name Type Description
IntegrationTableMapping Table Microsoft.Integration.SyncEngine."Integration Table Mapping"

SynchRecord

procedure SynchRecord(IntegrationTableMapping: Record "Integration Table Mapping", SourceID: Variant, ForceModify: Boolean, IgnoreSynchOnlyCoupledRecords: Boolean): Guid

Parameters

Name Type Description
IntegrationTableMapping Table Microsoft.Integration.SyncEngine."Integration Table Mapping"
SourceID Variant
ForceModify Boolean
IgnoreSynchOnlyCoupledRecords Boolean

Returns

Type Description
Guid

SynchRecordsToIntegrationTable

procedure SynchRecordsToIntegrationTable(var RecordsToSynchRecordRef: RecordRef, IgnoreChanges: Boolean, IgnoreSynchOnlyCoupledRecords: Boolean): Guid

Parameters

Name Type Description
RecordsToSynchRecordRef RecordRef
IgnoreChanges Boolean
IgnoreSynchOnlyCoupledRecords Boolean

Returns

Type Description
Guid

SynchRecordsFromIntegrationTable

procedure SynchRecordsFromIntegrationTable(var RecordsToSynchRecordRef: RecordRef, SourceTableNo: Integer, IgnoreChanges: Boolean, IgnoreSynchOnlyCoupledRecords: Boolean): Guid

Parameters

Name Type Description
RecordsToSynchRecordRef RecordRef
SourceTableNo Integer
IgnoreChanges Boolean
IgnoreSynchOnlyCoupledRecords Boolean

Returns

Type Description
Guid

SyncNAVRecordToCRM

procedure 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)

Parameters

Name Type Description
SourceRecordRef RecordRef
IntegrationTableMapping Table Microsoft.Integration.SyncEngine."Integration Table Mapping"
IntegrationTableSynch Codeunit Microsoft.Integration.SyncEngine."Integration Table Synch."
TempCRMIntegrationRecord Table Microsoft.Integration.Dataverse."CRM Integration Record"
LatestLocalModifiedOn DateTime

Events

OnQueryPostFilterIgnoreRecord

[IntegrationEvent(False,False)]
local procedure OnQueryPostFilterIgnoreRecord(SourceRecordRef: RecordRef, var IgnoreRecord: Boolean)

Parameters

Name Type Description
SourceRecordRef RecordRef
IgnoreRecord Boolean

OnBeforeRun

[IntegrationEvent(False,False)]
local procedure OnBeforeRun(IntegrationTableMapping: Record "Integration Table Mapping", var IsHandled: Boolean)

Parameters

Name Type Description
IntegrationTableMapping Table Microsoft.Integration.SyncEngine."Integration Table Mapping"
IsHandled Boolean

OnBeforeUpdateTableMappingModifiedOn

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateTableMappingModifiedOn(var IntegrationTableMapping: Record "Integration Table Mapping", ModifiedOn: array[2] of DateTime, var IsHandled: Boolean)

Parameters

Name Type Description
IntegrationTableMapping Table Microsoft.Integration.SyncEngine."Integration Table Mapping"
ModifiedOn array[2] of DateTime
IsHandled Boolean

OnSynchNAVTableToCRMOnBeforeCheckLatestModifiedOn

[IntegrationEvent(False,False)]
local procedure OnSynchNAVTableToCRMOnBeforeCheckLatestModifiedOn(var SourceRecordRef: RecordRef, IntegrationTableMapping: Record "Integration Table Mapping")

Parameters

Name Type Description
SourceRecordRef RecordRef
IntegrationTableMapping Table Microsoft.Integration.SyncEngine."Integration Table Mapping"

OnGetMaxNumberOfConditions

[IntegrationEvent(False,False)]
local procedure OnGetMaxNumberOfConditions(var Handled: Boolean, var Value: Integer)

Parameters

Name Type Description
Handled Boolean
Value Integer

OnLoadCRMOption

[IntegrationEvent(False,False)]
local procedure OnLoadCRMOption(var TempCRMRecordRef: RecordRef, IntegrationTableMapping: Record "Integration Table Mapping")

Parameters

Name Type Description
TempCRMRecordRef RecordRef
IntegrationTableMapping Table Microsoft.Integration.SyncEngine."Integration Table Mapping"

OnIsModifiedByFilterNeeded

[IntegrationEvent(False,False)]
local procedure OnIsModifiedByFilterNeeded(var IntegrationTableMapping: Record "Integration Table Mapping", var IsHandled: Boolean, var IsNeeded: Boolean)

Parameters

Name Type Description
IntegrationTableMapping Table Microsoft.Integration.SyncEngine."Integration Table Mapping"
IsHandled Boolean
IsNeeded Boolean

OnBeforeSynchRecordsFromIntegrationTable

[IntegrationEvent(False,False)]
local procedure OnBeforeSynchRecordsFromIntegrationTable(var RecordsToSynchRecordRef: RecordRef, SourceTableNo: Integer, IgnoreChanges: Boolean, IgnoreSynchOnlyCoupledRecords: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
RecordsToSynchRecordRef RecordRef
SourceTableNo Integer
IgnoreChanges Boolean
IgnoreSynchOnlyCoupledRecords Boolean
IsHandled Boolean

OnBeforeSynchRecordsToIntegrationTable

[IntegrationEvent(False,False)]
local procedure OnBeforeSynchRecordsToIntegrationTable(var RecordsToSynchRecordRef: RecordRef, IgnoreChanges: Boolean, IgnoreSynchOnlyCoupledRecords: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
RecordsToSynchRecordRef RecordRef
IgnoreChanges Boolean
IgnoreSynchOnlyCoupledRecords Boolean
IsHandled Boolean

See also