Codeunit "Int. Option Synch. Invoke"

ID 5364
Namespace: Microsoft.Integration.SyncEngine

Methods

SetContext

procedure SetContext(IntegrationTableMapping: Record "Integration Table Mapping", SourceRecordRef: RecordRef, DestinationRecordRef: RecordRef, SynchAction: Option, IgnoreSynchOnlyCoupledRecords: Boolean, JobId: Guid)

Parameters

Name Type Description
IntegrationTableMapping Table Microsoft.Integration.SyncEngine."Integration Table Mapping"
SourceRecordRef RecordRef
DestinationRecordRef RecordRef
SynchAction Option
IgnoreSynchOnlyCoupledRecords Boolean
JobId Guid

GetContext

procedure GetContext(var IntegrationTableMapping: Record "Integration Table Mapping", var SourceRecordRef: RecordRef, var DestinationRecordRef: RecordRef, var SynchAction: Option)

Parameters

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

WasModifiedAfterLastSynch

procedure WasModifiedAfterLastSynch(IntegrationTableMapping: Record "Integration Table Mapping", SourceRecordRef: RecordRef, DestinationRecordRef: RecordRef): Boolean

Parameters

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

Returns

Type Description
Boolean

GetRowLastModifiedOn

procedure GetRowLastModifiedOn(IntegrationTableMapping: Record "Integration Table Mapping", FromRecordRef: RecordRef): DateTime

Parameters

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

Returns

Type Description
DateTime

MarkOptionMappingAsFailed

procedure MarkOptionMappingAsFailed(IntegrationTableMapping: Record "Integration Table Mapping", SourceRecordRef: RecordRef, JobId: Guid, var SyncAction: Option)

Parameters

Name Type Description
IntegrationTableMapping Table Microsoft.Integration.SyncEngine."Integration Table Mapping"
SourceRecordRef RecordRef
JobId Guid
SyncAction Option

Events

OnDeletionConflictDetected

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

Parameters

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

OnBeforeTransferRecordFields

[IntegrationEvent(False,False)]
local procedure OnBeforeTransferRecordFields(SourceRecordRef: RecordRef, var DestinationRecordRef: RecordRef)

Parameters

Name Type Description
SourceRecordRef RecordRef
DestinationRecordRef RecordRef

OnBeforeModifyRecord

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

Parameters

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

OnAfterModifyRecord

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

Parameters

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

OnAfterModifyOption

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

Parameters

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

OnErrorWhenModifyingRecord

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

Parameters

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

OnBeforeInsertRecord

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

Parameters

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

OnAfterInsertRecord

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

Parameters

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

OnAfterInsertOption

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

Parameters

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

OnPrepareNewDestination

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

Parameters

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

See also