Codeunit "Integration Record Synch."

ID 5336
Namespace: Microsoft.Integration.SyncEngine

Methods

SetFieldMapping

procedure SetFieldMapping(var TempIntegrationFieldMapping: Record "Temp Integration Field Mapping" temporary)

Parameters

Name Type Description
TempIntegrationFieldMapping Table Microsoft.Integration.SyncEngine."Temp Integration Field Mapping"

SetParameters

procedure SetParameters(var SourceRecordRef: RecordRef, var DestinationRecordRef: RecordRef, OnlyTransferModifiedFields: Boolean)

Parameters

Name Type Description
SourceRecordRef RecordRef
DestinationRecordRef RecordRef
OnlyTransferModifiedFields Boolean

GetWasModified

procedure GetWasModified(): Boolean

Returns

Type Description
Boolean

GetIdFilterList

procedure GetIdFilterList(var IdDictionary: Dictionary of [Guid, Boolean], var IdFilterList: List of [Text])

Parameters

Name Type Description
IdDictionary Dictionary of [Guid, Boolean]
IdFilterList List of [Text]

GetIdFilterList

procedure GetIdFilterList(var IdList: List of [Guid], var IdFilterList: List of [Text])

Parameters

Name Type Description
IdList List of [Guid]
IdFilterList List of [Text]

FindModifiedLocalRecords

procedure FindModifiedLocalRecords(var RecRef: RecordRef, TableFilter: Text, IntegrationTableMapping: Record "Integration Table Mapping"): Boolean

Parameters

Name Type Description
RecRef RecordRef
TableFilter Text
IntegrationTableMapping Table Microsoft.Integration.SyncEngine."Integration Table Mapping"

Returns

Type Description
Boolean

SplitTableFilter

procedure SplitTableFilter(TableId: Integer, FieldNo: Integer, TableFilter: Text, var TableFilterList: List of [Text]): Boolean

Parameters

Name Type Description
TableId Integer
FieldNo Integer
TableFilter Text
TableFilterList List of [Text]

Returns

Type Description
Boolean

GetTableViewForRecordID

procedure GetTableViewForRecordID(RecordID: RecordId): Text

Parameters

Name Type Description
RecordID RecordId

Returns

Type Description
Text

JoinIDs

procedure JoinIDs(var IdList: List of [Guid], Delimiter: Text[1]): Text

Parameters

Name Type Description
IdList List of [Guid]
Delimiter Text[1]

Returns

Type Description
Text

Events

OnTransferFieldData

[IntegrationEvent(False,False)]
local procedure OnTransferFieldData(SourceFieldRef: FieldRef, DestinationFieldRef: FieldRef, var NewValue: Variant, var IsValueFound: Boolean, var NeedsConversion: Boolean)

Parameters

Name Type Description
SourceFieldRef FieldRef
DestinationFieldRef FieldRef
NewValue Variant
IsValueFound Boolean
NeedsConversion Boolean

OnGetBlobFieldEncoding

[IntegrationEvent(False,False)]
local procedure OnGetBlobFieldEncoding(TableNo: Integer, FieldNo: Integer, var Encoding: TextEncoding, var Handled: Boolean)

Parameters

Name Type Description
TableNo Integer
FieldNo Integer
Encoding TextEncoding
Handled Boolean

OnGetMaxNumberOfConditions

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

Parameters

Name Type Description
Handled Boolean
Value Integer

OnBeforeIsFieldModified

[IntegrationEvent(False,False)]
local procedure OnBeforeIsFieldModified(var SourceFieldRef: FieldRef, var DestinationFieldRef: FieldRef, var Result: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
SourceFieldRef FieldRef
DestinationFieldRef FieldRef
Result Boolean
IsHandled Boolean

See also