Codeunit "Int. Rec. Uncouple Invoke"

ID 5357
Namespace: Microsoft.Integration.SyncEngine

Methods

SetContext

procedure SetContext(IntegrationTableMapping: Record "Integration Table Mapping", LocalRecordRef: RecordRef, IntegrationRecordRef: RecordRef, SynchAction: Option, LocalRecordModified: Boolean, IntegrationRecordModified: Boolean, JobId: Guid, IntegrationTableConnectionType: TableConnectionType)

Parameters

Name Type Description
IntegrationTableMapping Record "Integration Table Mapping"
LocalRecordRef RecordRef
IntegrationRecordRef RecordRef
SynchAction Option
LocalRecordModified Boolean
IntegrationRecordModified Boolean
JobId Guid
IntegrationTableConnectionType TableConnectionType

GetContext

procedure GetContext(var IntegrationTableMapping: Record "Integration Table Mapping", var LocalRecordRef: RecordRef, var IntegrationRecordRef: RecordRef, var SynchAction: Option, var LocalRecordModified: Boolean, var IntegrationRecordModified: Boolean)

Parameters

Name Type Description
IntegrationTableMapping Record "Integration Table Mapping"
LocalRecordRef RecordRef
IntegrationRecordRef RecordRef
SynchAction Option
LocalRecordModified Boolean
IntegrationRecordModified Boolean

GetIntegrationRecordLastModifiedTime

procedure GetIntegrationRecordLastModifiedTime(var IntegrationTableMapping: Record "Integration Table Mapping", var IntegrationRecordRef: RecordRef): DateTime

Parameters

Name Type Description
IntegrationTableMapping Record "Integration Table Mapping"
IntegrationRecordRef RecordRef

Returns

Type Description
DateTime

Events

OnBeforeUncoupleRecord

[IntegrationEvent(False,False)]
local procedure OnBeforeUncoupleRecord(IntegrationTableMapping: Record "Integration Table Mapping", var LocalRecordRef: RecordRef, var IntegrationRecordRef: RecordRef)

Parameters

Name Type Description
IntegrationTableMapping Record "Integration Table Mapping"
LocalRecordRef RecordRef
IntegrationRecordRef RecordRef

OnAfterUncoupleRecord

[IntegrationEvent(False,False)]
local procedure OnAfterUncoupleRecord(IntegrationTableMapping: Record "Integration Table Mapping", var LocalRecordRef: RecordRef, var IntegrationRecordRef: RecordRef)

Parameters

Name Type Description
IntegrationTableMapping Record "Integration Table Mapping"
LocalRecordRef RecordRef
IntegrationRecordRef RecordRef

OnErrorWhenUncouplingRecord

[IntegrationEvent(False,False)]
local procedure OnErrorWhenUncouplingRecord(IntegrationTableMapping: Record "Integration Table Mapping", var LocalRecordRef: RecordRef, var IntegrationRecordRef: RecordRef)

Parameters

Name Type Description
IntegrationTableMapping Record "Integration Table Mapping"
LocalRecordRef RecordRef
IntegrationRecordRef RecordRef

OnRemoveIntegrationTableCoupling

[IntegrationEvent(False,False)]
local procedure OnRemoveIntegrationTableCoupling(var IntegrationTableMapping: Record "Integration Table Mapping", var LocalRecordRef: RecordRef, var IntegrationRecordRef: RecordRef, var IntegrationTableConnectionType: TableConnectionType, var IsHandled: Boolean, var Removed: Boolean)

Parameters

Name Type Description
IntegrationTableMapping Record "Integration Table Mapping"
LocalRecordRef RecordRef
IntegrationRecordRef RecordRef
IntegrationTableConnectionType TableConnectionType
IsHandled Boolean
Removed Boolean

See also