Share via


Codeunit "CRM Integration Management"

ID 5330
Namespace: Microsoft.Integration.Dataverse

Properties

Name Value
SingleInstance True
InherentEntitlements X
InherentPermissions X
Permissions tabledata "Sales Invoice Header" = rm, tabledata "CDS Connection Setup" = r, tabledata "CRM Connection Setup" = r

Methods

IsCRMIntegrationEnabled

procedure IsCRMIntegrationEnabled(): Boolean

Returns

Type Description
Boolean

IsCDSIntegrationEnabled

procedure IsCDSIntegrationEnabled(): Boolean

Returns

Type Description
Boolean

IsCRMSolutionInstalled

procedure IsCRMSolutionInstalled(): Boolean

Returns

Type Description
Boolean

SetCRMNAVConnectionUrl

procedure SetCRMNAVConnectionUrl(WebClientUrl: Text[250])

Parameters

Name Type Description
WebClientUrl Text[250]

UpdateMultipleNow

procedure UpdateMultipleNow(RecVariant: Variant)

Parameters

Name Type Description
RecVariant Variant

UpdateMultipleNow

procedure UpdateMultipleNow(RecVariant: Variant, IsOption: Boolean)

Parameters

Name Type Description
RecVariant Variant
IsOption Boolean

UpdateOneNow

procedure UpdateOneNow(RecordID: RecordId)

Parameters

Name Type Description
RecordID RecordId

UpdateSkippedNow

procedure UpdateSkippedNow(var CRMIntegrationRecord: Record "CRM Integration Record")

Parameters

Name Type Description
CRMIntegrationRecord Table Microsoft.Integration.Dataverse."CRM Integration Record"

UpdateSkippedNow

procedure UpdateSkippedNow(var CRMIntegrationRecord: Record "CRM Integration Record", var CRMOptionMapping: Record "CRM Option Mapping")

Parameters

Name Type Description
CRMIntegrationRecord Table Microsoft.Integration.Dataverse."CRM Integration Record"
CRMOptionMapping Table Microsoft.Integration.Dataverse."CRM Option Mapping"

UpdateSkippedNow

procedure UpdateSkippedNow(var CRMIntegrationRecord: Record "CRM Integration Record", SkipNotification: Boolean)

Parameters

Name Type Description
CRMIntegrationRecord Table Microsoft.Integration.Dataverse."CRM Integration Record"
SkipNotification Boolean

UpdateSkippedNow

procedure UpdateSkippedNow(var CRMIntegrationRecord: Record "CRM Integration Record", var CRMOptionMapping: Record "CRM Option Mapping", SkipNotification: Boolean)

Parameters

Name Type Description
CRMIntegrationRecord Table Microsoft.Integration.Dataverse."CRM Integration Record"
CRMOptionMapping Table Microsoft.Integration.Dataverse."CRM Option Mapping"
SkipNotification Boolean

UpdateAllSkippedNow

procedure UpdateAllSkippedNow()

CheckOrEnableCRMConnection

procedure CheckOrEnableCRMConnection()

CreateNewRecordsInCRM

procedure CreateNewRecordsInCRM(RecVariant: Variant)

Parameters

Name Type Description
RecVariant Variant

CreateNewOptionsInCRM

procedure CreateNewOptionsInCRM(RecVariant: Variant)

Parameters

Name Type Description
RecVariant Variant

CreateNewOptionsInCRM

procedure CreateNewOptionsInCRM(var LocalIdListDictionary: Dictionary of [Code[20], List of [Guid]])

Parameters

Name Type Description
LocalIdListDictionary Dictionary of [Code[20], List of [Guid]]

CreateNewRecordsFromSelectedCRMOptions

[Scope(Cloud)]
procedure CreateNewRecordsFromSelectedCRMOptions(RecVariant: Variant)

Parameters

Name Type Description
RecVariant Variant

EnqueueOptionSyncJobFromIntegrationTable

procedure EnqueueOptionSyncJobFromIntegrationTable(IntegrationTableMapping: Record "Integration Table Mapping", CRMOptionIds: List of [Integer], Direction: Integer, SynchronizeOnlyCoupledRecords: Boolean): Boolean

Parameters

Name Type Description
IntegrationTableMapping Table Microsoft.Integration.SyncEngine."Integration Table Mapping"
CRMOptionIds List of [Integer]
Direction Integer
SynchronizeOnlyCoupledRecords Boolean

Returns

Type Description
Boolean

EnqueueOptionSyncJobToIntegrationTable

procedure EnqueueOptionSyncJobToIntegrationTable(IntegrationTableMapping: Record "Integration Table Mapping", LocalIdList: List of [Guid], Direction: Integer, SynchronizeOnlyCoupledRecords: Boolean): Boolean

Parameters

Name Type Description
IntegrationTableMapping Table Microsoft.Integration.SyncEngine."Integration Table Mapping"
LocalIdList List of [Guid]
Direction Integer
SynchronizeOnlyCoupledRecords Boolean

Returns

Type Description
Boolean

CreateNewRecordsFromCRM

procedure CreateNewRecordsFromCRM(RecVariant: Variant)

Parameters

Name Type Description
RecVariant Variant

RepairBrokenCouplings

procedure RepairBrokenCouplings()

RepairBrokenCouplings

procedure RepairBrokenCouplings(UseLocalRecordsOnly: Boolean)

Parameters

Name Type Description
UseLocalRecordsOnly Boolean

RemoveCoupling

procedure RemoveCoupling(TableID: Integer, CRMTableID: Integer)

Parameters

Name Type Description
TableID Integer
CRMTableID Integer

MatchBasedCoupling

procedure MatchBasedCoupling(TableID: Integer): Boolean

Parameters

Name Type Description
TableID Integer

Returns

Type Description
Boolean

MatchBasedCoupling

procedure MatchBasedCoupling(TableID: Integer, SkipSettingCriteria: Boolean, IsFullSync: Boolean, InForeground: Boolean): Boolean

Parameters

Name Type Description
TableID Integer
SkipSettingCriteria Boolean
IsFullSync Boolean
InForeground Boolean

Returns

Type Description
Boolean

RemoveCoupling

procedure RemoveCoupling(var LocalRecordRef: RecordRef)

Parameters

Name Type Description
LocalRecordRef RecordRef

MatchBasedCoupling

procedure MatchBasedCoupling(var LocalRecordRef: RecordRef)

Parameters

Name Type Description
LocalRecordRef RecordRef

RemoveCoupling

procedure RemoveCoupling(LocalTableID: Integer, var LocalIdList: List of [Guid])

Parameters

Name Type Description
LocalTableID Integer
LocalIdList List of [Guid]

RemoveCoupling

procedure RemoveCoupling(LocalTableID: Integer, var LocalIdList: List of [Guid], Schedule: Boolean)

Parameters

Name Type Description
LocalTableID Integer
LocalIdList List of [Guid]
Schedule Boolean

RemoveCoupling

procedure RemoveCoupling(LocalTableID: Integer, IntegrationTableID: Integer, var IntegrationIdList: List of [Guid])

Parameters

Name Type Description
LocalTableID Integer
IntegrationTableID Integer
IntegrationIdList List of [Guid]

RemoveOptionMapping

procedure RemoveOptionMapping(var RecRef: RecordRef)

Parameters

Name Type Description
RecRef RecordRef

CreateOptionMapping

procedure CreateOptionMapping(RecordID: RecordId, CRMOptionId: Integer, CRMOptionValue: Text[250])

Parameters

Name Type Description
RecordID RecordId
CRMOptionId Integer
CRMOptionValue Text[250]

GetMappedCRMOptionId

procedure GetMappedCRMOptionId(RecordID: RecordId, var CRMOptionId: Integer): Boolean

Parameters

Name Type Description
RecordID RecordId
CRMOptionId Integer

Returns

Type Description
Boolean

RemoveCoupling

procedure RemoveCoupling(RecordID: RecordId)

Parameters

Name Type Description
RecordID RecordId

RemoveCoupling

procedure RemoveCoupling(TableID: Integer, CRMTableID: Integer, CRMID: Guid)

Parameters

Name Type Description
TableID Integer
CRMTableID Integer
CRMID Guid

GetIntegrationTableMapping

procedure GetIntegrationTableMapping(var IntegrationTableMapping: Record "Integration Table Mapping", RecId: RecordId)

Parameters

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

GetIntegrationTableMapping

procedure GetIntegrationTableMapping(var IntegrationTableMapping: Record "Integration Table Mapping", TableID: Integer)

Parameters

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

IsCRMTable

procedure IsCRMTable(TableID: Integer): Boolean

Parameters

Name Type Description
TableID Integer

Returns

Type Description
Boolean

EnqueueFullSyncJob

procedure EnqueueFullSyncJob(Name: Code[20]): Guid

Parameters

Name Type Description
Name Code[20]

Returns

Type Description
Guid

EnqueueSyncJob

procedure EnqueueSyncJob(IntegrationTableMapping: Record "Integration Table Mapping", RecordID: RecordId, CRMID: Guid, Direction: Integer): Boolean

Parameters

Name Type Description
IntegrationTableMapping Table Microsoft.Integration.SyncEngine."Integration Table Mapping"
RecordID RecordId
CRMID Guid
Direction Integer

Returns

Type Description
Boolean

EnqueueSyncJob

procedure EnqueueSyncJob(IntegrationTableMapping: Record "Integration Table Mapping", SystemIds: List of [Guid], CRMIDs: List of [Guid], Direction: Integer, SynchronizeOnlyCoupledRecords: Boolean): Boolean

Parameters

Name Type Description
IntegrationTableMapping Table Microsoft.Integration.SyncEngine."Integration Table Mapping"
SystemIds List of [Guid]
CRMIDs List of [Guid]
Direction Integer
SynchronizeOnlyCoupledRecords Boolean

Returns

Type Description
Boolean

AddIntegrationTableMapping

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

Parameters

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

AddIntegrationTableMapping

procedure AddIntegrationTableMapping(var IntegrationTableMapping: Record "Integration Table Mapping", SynchOnlyCoupledRecords: Boolean)

Parameters

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

CloneIntegrationFieldMapping

procedure CloneIntegrationFieldMapping(SourceMappingName: Code[20], DestinationMappingName: Code[20])

Parameters

Name Type Description
SourceMappingName Code[20]
DestinationMappingName Code[20]

CreateOrUpdateCRMAccountStatistics

procedure CreateOrUpdateCRMAccountStatistics(Customer: Record Customer)

Parameters

Name Type Description
Customer Table Microsoft.Sales.Customer.Customer

ShowCRMEntityFromRecordID

procedure ShowCRMEntityFromRecordID(RecordID: RecordId)

Parameters

Name Type Description
RecordID RecordId

GetCRMEntityUrlFromRecordID

procedure GetCRMEntityUrlFromRecordID(TargetRecordID: RecordId): Text

Parameters

Name Type Description
TargetRecordID RecordId

Returns

Type Description
Text

GetCRMEntityUrlFromCRMID

procedure GetCRMEntityUrlFromCRMID(TableId: Integer, CRMId: Guid): Text

Parameters

Name Type Description
TableId Integer
CRMId Guid

Returns

Type Description
Text

GetCRMEntityUrlFromCRMID

procedure GetCRMEntityUrlFromCRMID(TableId: Integer, CRMTableId: Integer, CRMId: Guid): Text

Parameters

Name Type Description
TableId Integer
CRMTableId Integer
CRMId Guid

Returns

Type Description
Text

OpenCoupledNavRecordPage

procedure OpenCoupledNavRecordPage(CRMID: Guid, CRMEntityTypeName: Text): Boolean

Parameters

Name Type Description
CRMID Guid
CRMEntityTypeName Text

Returns

Type Description
Boolean

GetCRMEntityTypeName

procedure GetCRMEntityTypeName(TableId: Integer): Text

Parameters

Name Type Description
TableId Integer

Returns

Type Description
Text

GetCRMEntityTypeName

procedure GetCRMEntityTypeName(TableId: Integer, CRMTableId: Integer): Text

Parameters

Name Type Description
TableId Integer
CRMTableId Integer

Returns

Type Description
Text

DefineCoupling

procedure DefineCoupling(RecordID: RecordId): Boolean

Parameters

Name Type Description
RecordID RecordId

Returns

Type Description
Boolean

DefineOptionMapping

procedure DefineOptionMapping(RecordID: RecordId): Boolean

Parameters

Name Type Description
RecordID RecordId

Returns

Type Description
Boolean

ManageCreateNewRecordFromCRM

procedure ManageCreateNewRecordFromCRM(TableID: Integer)

Parameters

Name Type Description
TableID Integer

CreateNewContactFromCRM

procedure CreateNewContactFromCRM()

CreateNewCustomerFromCRM

procedure CreateNewCustomerFromCRM()

CreateNewVendorFromCRM

procedure CreateNewVendorFromCRM()

GetNoOfCRMOpportunities

procedure GetNoOfCRMOpportunities(Customer: Record Customer): Integer

Parameters

Name Type Description
Customer Table Microsoft.Sales.Customer.Customer

Returns

Type Description
Integer

GetNoOfCRMQuotes

procedure GetNoOfCRMQuotes(Customer: Record Customer): Integer

Parameters

Name Type Description
Customer Table Microsoft.Sales.Customer.Customer

Returns

Type Description
Integer

GetNoOfCRMCases

procedure GetNoOfCRMCases(Customer: Record Customer): Integer

Parameters

Name Type Description
Customer Table Microsoft.Sales.Customer.Customer

Returns

Type Description
Integer

HandleCRMRegisterServiceConnection

[EventSubscriber(Table,1400,OnRegisterServiceConnection,,False,False)]
procedure HandleCRMRegisterServiceConnection(var ServiceConnection: Record "Service Connection" temporary)

Parameters

Name Type Description
ServiceConnection Table Microsoft.Utilities."Service Connection"

ClearState

procedure ClearState()

ClearFSState

Obsolete

This element will become obsolete from version 25.0. Field Service is moved to Field Service Integration app.

[Obsolete(Field Service is moved to Field Service Integration app.,25.0)]
procedure ClearFSState()

CheckConnectRequiredFields

procedure CheckConnectRequiredFields(ServerAddress: Text, IntegrationUserEmail: Text)

Parameters

Name Type Description
ServerAddress Text
IntegrationUserEmail Text

CheckModifyCRMConnectionURL

procedure CheckModifyCRMConnectionURL(var ServerAddress: Text[250])

Parameters

Name Type Description
ServerAddress Text[250]

GetOrganizationFromUrl

procedure GetOrganizationFromUrl(ServerAddress: Text[250]): Text

Parameters

Name Type Description
ServerAddress Text[250]

Returns

Type Description
Text

ConstructConnectionStringForSolutionImport

procedure ConstructConnectionStringForSolutionImport(ServerAddress: Text): Text

Parameters

Name Type Description
ServerAddress Text

Returns

Type Description
Text

GetCommonNotificationID

procedure GetCommonNotificationID(): Guid

Returns

Type Description
Guid

GetSkippedNotificationID

procedure GetSkippedNotificationID(): Guid

Returns

Type Description
Guid

SendResultNotification

procedure SendResultNotification(RecVariant: Variant): Boolean

Parameters

Name Type Description
RecVariant Variant

Returns

Type Description
Boolean

ShowLog

procedure ShowLog(RecId: RecordId)

Parameters

Name Type Description
RecId RecordId

ShowOptionLog

procedure ShowOptionLog(RecId: RecordId)

Parameters

Name Type Description
RecId RecordId

ShowSkippedRecords

procedure ShowSkippedRecords(SkippedSyncNotification: Notification)

Parameters

Name Type Description
SkippedSyncNotification Notification

CoupleCRMEntity

procedure CoupleCRMEntity(RecordID: RecordId, CRMID: Guid, var Synchronize: Boolean, var Direction: Option): Boolean

Parameters

Name Type Description
RecordID RecordId
CRMID Guid
Synchronize Boolean
Direction Option

Returns

Type Description
Boolean

ClearConnectionDisableReason

procedure ClearConnectionDisableReason(var CRMConnectionSetup: Record "CRM Connection Setup")

Parameters

Name Type Description
CRMConnectionSetup Table Microsoft.Integration.D365Sales."CRM Connection Setup"

GetCRMDisabledErrorReasonNotificationId

procedure GetCRMDisabledErrorReasonNotificationId(): Guid

Returns

Type Description
Guid

IsWorkingConnection

procedure IsWorkingConnection(): Boolean

Returns

Type Description
Boolean

SendConnectionDisabledNotification

procedure SendConnectionDisabledNotification(DisableReason: Text[250])

Parameters

Name Type Description
DisableReason Text[250]

InitializeCRMSynchStatus

procedure InitializeCRMSynchStatus()

HasUncoupledSelectedUsers

procedure HasUncoupledSelectedUsers(var SelectedCRMSystemuser: Record "CRM Systemuser"): Boolean

Parameters

Name Type Description
SelectedCRMSystemuser Table Microsoft.Integration.D365Sales."CRM Systemuser"

Returns

Type Description
Boolean

EnableUnitGroupMapping

procedure EnableUnitGroupMapping(): Guid

Returns

Type Description
Guid

DisableUnitGroupMapping

procedure DisableUnitGroupMapping()

AdjustUnitGroupCRMConnectionSetup

procedure AdjustUnitGroupCRMConnectionSetup()

UpdateItemUnitGroup

procedure UpdateItemUnitGroup()

UpdateResourceUnitGroup

procedure UpdateResourceUnitGroup()

IsUnitGroupMappingEnabled

procedure IsUnitGroupMappingEnabled(): Boolean

Returns

Type Description
Boolean

MultipleCompanyLearnMore

procedure MultipleCompanyLearnMore(var Notification: Notification)

Parameters

Name Type Description
Notification Notification

IsIntegrationRecordChild

procedure IsIntegrationRecordChild(TableID: Integer): Boolean

Parameters

Name Type Description
TableID Integer

Returns

Type Description
Boolean
procedure GetFieldServiceIntegrationAppSourceLink(): Text

Returns

Type Description
Text

IsFieldServiceIntegrationAppInstalled

procedure IsFieldServiceIntegrationAppInstalled(): Boolean

Returns

Type Description
Boolean

Events

OnIsCDSIntegrationEnabled

[IntegrationEvent(False,False)]
local procedure OnIsCDSIntegrationEnabled(var isEnabled: Boolean)

Parameters

Name Type Description
isEnabled Boolean

OnInitCDSConnection

[IntegrationEvent(False,False)]
procedure OnInitCDSConnection(var ConnectionName: Text, var handled: Boolean)

Parameters

Name Type Description
ConnectionName Text
handled Boolean

OnGetCDSIntegrationUserId

[IntegrationEvent(False,False)]
procedure OnGetCDSIntegrationUserId(var IntegrationUserId: Guid, var handled: Boolean)

Parameters

Name Type Description
IntegrationUserId Guid
handled Boolean

OnGetCDSServerAddress

[IntegrationEvent(False,False)]
procedure OnGetCDSServerAddress(var CDSServerAddress: Text, var handled: Boolean)

Parameters

Name Type Description
CDSServerAddress Text
handled Boolean

OnTestCDSConnection

[IntegrationEvent(False,False)]
procedure OnTestCDSConnection(var handled: Boolean)

Parameters

Name Type Description
handled Boolean

OnCloseCDSConnection

[IntegrationEvent(False,False)]
procedure OnCloseCDSConnection(ConnectionName: Text, var handled: Boolean)

Parameters

Name Type Description
ConnectionName Text
handled Boolean

OnAfterCRMIntegrationEnabled

[IntegrationEvent(False,False)]
local procedure OnAfterCRMIntegrationEnabled()

OnBeforeOpenRecordCardPage

[IntegrationEvent(False,False)]
local procedure OnBeforeOpenRecordCardPage(RecordID: RecordId, var IsHandled: Boolean)

Parameters

Name Type Description
RecordID RecordId
IsHandled Boolean

OnBeforeGetIntegrationTableMapping

[IntegrationEvent(False,False)]
local procedure OnBeforeGetIntegrationTableMapping(var IntegrationTableMapping: Record "Integration Table Mapping", TableID: Integer)

Parameters

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

OnBeforeGetIntegrationTableMappingFromCRMRecord

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

Parameters

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

OnBeforeHandleCustomIntegrationTableMapping

[IntegrationEvent(False,False)]
local procedure OnBeforeHandleCustomIntegrationTableMapping(var IsHandled: Boolean, IntegrationTableMappingName: Code[20], var IntegrationTableMapping: Record "Integration Table Mapping", EnqueueJobQueEntries: Boolean)

Parameters

Name Type Description
IsHandled Boolean
IntegrationTableMappingName Code[20]
IntegrationTableMapping Table Microsoft.Integration.SyncEngine."Integration Table Mapping"
EnqueueJobQueEntries Boolean

OnBeforeSynchronyzeNowQuestion

[IntegrationEvent(False,False)]
local procedure OnBeforeSynchronyzeNowQuestion(var AllowedDirection: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
AllowedDirection Integer
IsHandled Boolean

OnIsCRMIntegrationRecord

[IntegrationEvent(False,False)]
local procedure OnIsCRMIntegrationRecord(TableID: Integer, var isIntegrationRecord: Boolean)

Parameters

Name Type Description
TableID Integer
isIntegrationRecord Boolean

OnEnabledDatabaseTriggersSetup

[IntegrationEvent(False,False)]
local procedure OnEnabledDatabaseTriggersSetup(TableID: Integer, var Enabled: Boolean)

Parameters

Name Type Description
TableID Integer
Enabled Boolean

OnGetTableIdFromCRMOption

[IntegrationEvent(False,False)]
local procedure OnGetTableIdFromCRMOption(RecRef: RecordRef, var TableId: Integer)

Parameters

Name Type Description
RecRef RecordRef
TableId Integer

OnIsCRMTable

[IntegrationEvent(False,False)]
local procedure OnIsCRMTable(TableID: Integer, var IsCRMTable: Boolean, var Handled: Boolean)

Parameters

Name Type Description
TableID Integer
IsCRMTable Boolean
Handled Boolean

OnIsIntegrationRecordChild

[IntegrationEvent(False,False)]
local procedure OnIsIntegrationRecordChild(TableID: Integer, var Handled: Boolean, var ReturnValue: Boolean)

Parameters

Name Type Description
TableID Integer
Handled Boolean
ReturnValue Boolean

OnBeforeOpenCoupledNavRecordPage

[IntegrationEvent(False,False)]
local procedure OnBeforeOpenCoupledNavRecordPage(CRMID: Guid, CRMEntityTypeName: Text, var Result: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
CRMID Guid
CRMEntityTypeName Text
Result Boolean
IsHandled Boolean

OnBeforeFindCoupledToCRMField

[IntegrationEvent(False,False)]
local procedure OnBeforeFindCoupledToCRMField(TableNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
TableNo Integer
IsHandled Boolean

OnAfterGetCRMEntityUrlFromCRMID

[IntegrationEvent(False,False)]
local procedure OnAfterGetCRMEntityUrlFromCRMID(CRMEntityUrlTemplateTxt: Text, NewestUIAppIdParameterTxt: Text, TableId: Integer, CRMId: Guid, var CRMEntityUrl: Text, CRMTableId: Integer)

Parameters

Name Type Description
CRMEntityUrlTemplateTxt Text
NewestUIAppIdParameterTxt Text
TableId Integer
CRMId Guid
CRMEntityUrl Text
CRMTableId Integer

OnGetIntegrationTableMappingFromCRMIDOnBeforeFindTableID

[IntegrationEvent(False,False)]
local procedure OnGetIntegrationTableMappingFromCRMIDOnBeforeFindTableID(var IntegrationTableMapping: Record "Integration Table Mapping", var TableID: Integer, CRMID: Guid, var IsHandled: Boolean)

Parameters

Name Type Description
IntegrationTableMapping Table Microsoft.Integration.SyncEngine."Integration Table Mapping"
TableID Integer
CRMID Guid
IsHandled Boolean

OnBeforeGetIntegrationTableMappingWithRecordId

[IntegrationEvent(False,False)]
local procedure OnBeforeGetIntegrationTableMappingWithRecordId(var IntegrationTableMapping: Record "Integration Table Mapping", BCRecordId: RecordId, var TableID: Integer)

Parameters

Name Type Description
IntegrationTableMapping Table Microsoft.Integration.SyncEngine."Integration Table Mapping"
BCRecordId RecordId
TableID Integer

OnAfterGetIntegrationTableMappingFromCRMRecordBeforeFindRecord

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

Parameters

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

OnAfterAddExtraFieldMappings

[IntegrationEvent(False,False)]
local procedure OnAfterAddExtraFieldMappings(IntegrationTableMappingName: Code[20])

Parameters

Name Type Description
IntegrationTableMappingName Code[20]

OnBeforeRescheduleJobQueueEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeRescheduleJobQueueEntries(TableNo: Integer, var RescheduleOffSetInMs: Integer)

Parameters

Name Type Description
TableNo Integer
RescheduleOffSetInMs Integer

See also