Codeunit "CRM Integration Table Synch."
ID 5340
Namespace: Microsoft.Integration.Dataverse
Properties
Methods
GetOutOfMapFilter
procedure GetOutOfMapFilter(): Boolean
Returns
SynchOption
procedure SynchOption(var IntegrationTableMapping: Record "Integration Table Mapping")
Parameters
SynchRecord
procedure SynchRecord(IntegrationTableMapping: Record "Integration Table Mapping", SourceID: Variant, ForceModify: Boolean, IgnoreSynchOnlyCoupledRecords: Boolean): Guid
Parameters
Returns
SynchRecordsToIntegrationTable
procedure SynchRecordsToIntegrationTable(var RecordsToSynchRecordRef: RecordRef, IgnoreChanges: Boolean, IgnoreSynchOnlyCoupledRecords: Boolean): Guid
Parameters
Name
Type
Description
RecordsToSynchRecordRef
RecordRef
IgnoreChanges
Boolean
IgnoreSynchOnlyCoupledRecords
Boolean
Returns
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
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
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
OnBeforeUpdateTableMappingModifiedOn
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateTableMappingModifiedOn(var IntegrationTableMapping: Record "Integration Table Mapping", ModifiedOn: array[2] of DateTime, var IsHandled: Boolean)
Parameters
OnSynchNAVTableToCRMOnBeforeCheckLatestModifiedOn
[IntegrationEvent(False,False)]
local procedure OnSynchNAVTableToCRMOnBeforeCheckLatestModifiedOn(var SourceRecordRef: RecordRef, IntegrationTableMapping: Record "Integration Table Mapping")
Parameters
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
OnIsModifiedByFilterNeeded
[IntegrationEvent(False,False)]
local procedure OnIsModifiedByFilterNeeded(var IntegrationTableMapping: Record "Integration Table Mapping", var IsHandled: Boolean, var IsNeeded: Boolean)
Parameters
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