Codeunit 5330 CRM Integration Management

Base Application, Microsoft.Integration.Dataverse
List17181920212223242526272829
Procedures12181791110121236
Events43272742

In 28 6 gone, 2 added

ImportCRMSolution(ServerAddress: Text; IntegrationUserEmail: Text; AdminUserEmail: Text; AdminUserPassword: Text; AccessToken: Text; AdminADDomain: Text; ProxyVersion: Integer; ForceRedeploy: Boolean): Boolean18 to 27
gone
internal IsFSSolutionInstalled(): Boolean24 to 27
gone
ClearFSState()24 to 27
gone
internal ImportFSSolution(ServerAddress: Text; IntegrationUserEmail: Text; AdminUserEmail: Text; AdminUserPassword: Text; AccessToken: Text; AdminADDomain: Text; ProxyVersion: Integer; ForceRedeploy: Boolean): Boolean24 to 27
gone
internal ImportFSSolution(ServerAddress: Text; IntegrationUserEmail: Text; AdminUserEmail: Text; AdminUserPassword: SecretText; AccessToken: SecretText; AdminADDomain: Text; ProxyVersion: Integer; ForceRedeploy: Boolean; ImportSolutionFailed: Boolean): Boolean25 to 27
gone
CheckCRMConnectionURL(ServerAddress: Text[250])new in 28
added
[IntegrationEvent] OnBeforeFindCoupledToCRMField(TableNo: Integer; var IsHandled: Boolean)22 to 27
gone
[IntegrationEvent] OnBeforeFindCoupledToCRMField(TableNo: Integer; var IsHandled: Boolean; var CoupledFieldNo: Integer)new in 28
added

In 26 3 gone

SetCoupledFlag(CRMIntegrationRecord: Record "CRM Integration Record"; NewValue: Boolean): Boolean19 to 25
gone
SetCoupledFlag(CRMIntegrationRecord: Record "CRM Integration Record"; NewValue: Boolean; ScheduleTask: Boolean): Boolean19 to 25
gone
SetCoupledFlag(CRMOptionMapping: Record "CRM Option Mapping"; NewValue: Boolean): Boolean20 to 25
gone

In 25 2 marked obsolete, 9 gone, 5 added

ImportCRMSolution(ServerAddress: Text; IntegrationUserEmail: Text; AdminUserEmail: Text; AdminUserPassword: Text; AccessToken: Text; AdminADDomain: Text; ProxyVersion: Integer; ForceRedeploy: Boolean): Boolean18 to 27
marked Pending, tag 25.0: Replaced by ImportCRMSolution procedure with SolutionImportFailed argument and SecretText parameters for AdminUserPassword and AccessToken.
LinkMissingOptionDoc(SkippedSyncNotification: Notification)18 to 24
gone
IsCurrencySymbolMappingEnabled(): Boolean19 to 24
gone
GetCurrencySymbolMappingFeatureKey(): Text[50]19 to 24
gone
IsOptionMappingEnabled(): Boolean20 to 24
gone
GetOptionMappingFeatureKey(): Text[50]20 to 24
gone
internal ImportFSSolution(ServerAddress: Text; IntegrationUserEmail: Text; AdminUserEmail: Text; AdminUserPassword: Text; AccessToken: Text; AdminADDomain: Text; ProxyVersion: Integer; ForceRedeploy: Boolean): Boolean24 to 27
marked Pending, tag 25.0: Replaced by ImportFSSolution procedure with SolutionImportFailed argument.
IsSolutionOutdated(TempConnectionString: Text; SolutionUniqueName: Text[65]): Boolean24 to 24
gone
EnqueueSyncJob(IntegrationTableMapping: Record "Integration Table Mapping"; RecordID: RecordId; CRMID: Guid; Direction: Integer): Booleannew in 25
added
ImportCRMSolution(ServerAddress: Text; IntegrationUserEmail: Text; AdminUserEmail: Text; AdminUserPassword: SecretText; AccessToken: SecretText; AdminADDomain: Text; ProxyVersion: Integer; ForceRedeploy: Boolean; var SolutionImportFailed: Boolean): Booleannew in 25
added
internal ImportFSSolution(ServerAddress: Text; IntegrationUserEmail: Text; AdminUserEmail: Text; AdminUserPassword: SecretText; AccessToken: SecretText; AdminADDomain: Text; ProxyVersion: Integer; ForceRedeploy: Boolean; ImportSolutionFailed: Boolean): Boolean25 to 27
added
IsSolutionOutdated(TempConnectionString: SecretText; SolutionUniqueName: Text[65]): Booleannew in 25
added
[IntegrationEvent] OnBeforeHandleCustomIntegrationTableMapping(var IsHandled: Boolean; IntegrationTableMappingName: Code[20])gone after 24
gone
[IntegrationEvent] OnIsCurrencySymbolMappingEnabled(var FeatureEnabled: Boolean)19 to 24
gone
[IntegrationEvent] OnIsOptionMappingEnabled(var FeatureEnabled: Boolean)20 to 24
gone
[IntegrationEvent] OnBeforeHandleCustomIntegrationTableMapping(var IsHandled: Boolean; IntegrationTableMappingName: Code[20]; var IntegrationTableMapping: Record "Integration Table Mapping"; EnqueueJobQueEntries: Boolean)new in 25
added

In 24 4 gone, 15 added

GetFeatureKey(): Text[50]19 to 23
gone
internal IsFSSolutionInstalled(): Boolean24 to 27
added
GetCRMEntityUrlFromCRMID(TableId: Integer; CRMTableId: Integer; CRMId: Guid): Textnew in 24
added
GetCRMEntityTypeName(TableId: Integer; CRMTableId: Integer): Textnew in 24
added
ClearFSState()24 to 27
added
internal ImportFSSolution(ServerAddress: Text; IntegrationUserEmail: Text; AdminUserEmail: Text; AdminUserPassword: Text; AccessToken: Text; AdminADDomain: Text; ProxyVersion: Integer; ForceRedeploy: Boolean): Boolean24 to 27
added
IsSolutionOutdated(TempConnectionString: Text; SolutionUniqueName: Text[65]): Boolean24 to 24
added
ProcessConnectionFailures()new in 24
added
TestCRMConnection(var CRMHelper: DotNet CrmHelper): Booleannew in 24
added
MultipleCompanyLearnMore(var Notification: Notification)new in 24
added
GetFieldServiceIntegrationAppSourceLink(): Textnew in 24
added
IsFieldServiceIntegrationAppInstalled(): Booleannew in 24
added
[IntegrationEvent] OnIsUnitGroupMappingEnabled(var FeatureEnabled: Boolean)19 to 23
gone
[IntegrationEvent] OnAfterGetCRMEntityUrlFromCRMID(CRMEntityUrlTemplateTxt: Text; NewestUIAppIdParameterTxt: Text; TableId: Integer; CRMId: Guid; var CRMEntityUrl: Text)22 to 23
gone
[IntegrationEvent] OnGetIntegrationTableMappingFromCRMIDOnBeforeFindTableID(var IntegrationTableMapping: Record "Integration Table Mapping"; TableID: Integer; CRMID: Guid; var IsHandled: Boolean)22 to 23
gone
[IntegrationEvent] OnAfterGetCRMEntityUrlFromCRMID(CRMEntityUrlTemplateTxt: Text; NewestUIAppIdParameterTxt: Text; TableId: Integer; CRMId: Guid; var CRMEntityUrl: Text; CRMTableId: Integer)new in 24
added
[IntegrationEvent] OnGetIntegrationTableMappingFromCRMIDOnBeforeFindTableID(var IntegrationTableMapping: Record "Integration Table Mapping"; var TableID: Integer; CRMID: Guid; var IsHandled: Boolean)new in 24
added
[IntegrationEvent] OnAfterAddExtraFieldMappings(IntegrationTableMappingName: Code[20])new in 24
added
[IntegrationEvent] OnBeforeRescheduleJobQueueEntries(TableNo: Integer; var RescheduleOffSetInMs: Integer)new in 24
added

In 23 7 gone, 5 added

SetCRMNAVODataUrlCredentials(ODataUrl: Text[250]; Username: Text[250]; Accesskey: Text[250])gone after 22
gone
CreateNewSystemUsersFromCRM(RecVariant: Variant)gone after 22
gone
SetupItemAvailabilityService()gone after 22
gone
IsItemAvailabilityWebServiceEnabled(): Booleangone after 22
gone
GetItemAvailabilityWebServiceURL(): Text[250]gone after 22
gone
UnPublishOnWebService(var CRMConnectionSetup: Record "CRM Connection Setup")gone after 22
gone
PublishWebService(var CRMConnectionSetup: Record "CRM Connection Setup")gone after 22
gone
internal RemoveCRMNAVConnectionUrl(WebClientUrl: Text[250]): Booleannew in 23
added
GetIntegrationTableMapping(var IntegrationTableMapping: Record "Integration Table Mapping"; RecId: RecordId)new in 23
added
internal AddExtraFieldMappings(IntegrationTableMapping: Record "Integration Table Mapping")new in 23
added
[IntegrationEvent] OnBeforeGetIntegrationTableMappingWithRecordId(var IntegrationTableMapping: Record "Integration Table Mapping"; BCRecordId: RecordId; var TableID: Integer)new in 23
added
[IntegrationEvent] OnAfterGetIntegrationTableMappingFromCRMRecordBeforeFindRecord(var IntegrationTableMapping: Record "Integration Table Mapping"; RecRef: RecordRef)new in 23
added

In 22 10 marked obsolete, 8 added

LinkMissingOptionDoc(SkippedSyncNotification: Notification)18 to 24
marked Pending, tag 22.0: Unused method.
SetCoupledFlag(CRMIntegrationRecord: Record "CRM Integration Record"; NewValue: Boolean): Boolean19 to 25
marked Pending, tag 23.0: This functionality is replaced with flow fields Coupled to Dataverse.
SetCoupledFlag(CRMIntegrationRecord: Record "CRM Integration Record"; NewValue: Boolean; ScheduleTask: Boolean): Boolean19 to 25
marked Pending, tag 23.0: This functionality is replaced with flow fields Coupled to Dataverse.
IsCurrencySymbolMappingEnabled(): Boolean19 to 24
marked Pending, tag 22.0: Feature CurrencySymbolMapping will be enabled by default in version 22.0.
GetCurrencySymbolMappingFeatureKey(): Text[50]19 to 24
marked Pending, tag 22.0: Feature CurrencySymbolMapping will be enabled by default in version 22.0.
SetCoupledFlag(CRMOptionMapping: Record "CRM Option Mapping"; NewValue: Boolean): Boolean20 to 25
marked Pending, tag 23.0: This functionality is replaced with flow fields Coupled to Dataverse.
IsOptionMappingEnabled(): Boolean20 to 24
marked Pending, tag 22.0: Feature OptionMapping will be enabled by default in version 22.0.
GetOptionMappingFeatureKey(): Text[50]20 to 24
marked Pending, tag 22.0: Feature OptionMapping will be enabled by default in version 22.0.
CloneIntegrationFieldMapping(SourceMappingName: Code[20]; DestinationMappingName: Code[20])new in 22
added
internal InitializeCRMSynchStatus(var CRMSynchStatus: Record "CRM Synch Status")new in 22
added
IsIntegrationRecordChild(TableID: Integer): Booleannew in 22
added
[IntegrationEvent] OnIsCurrencySymbolMappingEnabled(var FeatureEnabled: Boolean)19 to 24
marked Pending, tag 22.0: Feature CurrencySymbolMapping will be enabled by default in version 22.0.
[IntegrationEvent] OnIsOptionMappingEnabled(var FeatureEnabled: Boolean)20 to 24
marked Pending, tag 22.0: Feature OptionMapping will be enabled by default in version 22.0.
[IntegrationEvent] OnIsIntegrationRecordChild(TableID: Integer; var Handled: Boolean; var ReturnValue: Boolean)new in 22
added
[IntegrationEvent] OnBeforeOpenCoupledNavRecordPage(CRMID: Guid; CRMEntityTypeName: Text; var Result: Boolean; var IsHandled: Boolean)new in 22
added
[IntegrationEvent] OnBeforeFindCoupledToCRMField(TableNo: Integer; var IsHandled: Boolean)22 to 27
added
[IntegrationEvent] OnAfterGetCRMEntityUrlFromCRMID(CRMEntityUrlTemplateTxt: Text; NewestUIAppIdParameterTxt: Text; TableId: Integer; CRMId: Guid; var CRMEntityUrl: Text)22 to 23
added
[IntegrationEvent] OnGetIntegrationTableMappingFromCRMIDOnBeforeFindTableID(var IntegrationTableMapping: Record "Integration Table Mapping"; TableID: Integer; CRMID: Guid; var IsHandled: Boolean)22 to 23
added

In 21 1 gone, 2 marked obsolete, 8 added

CreateNewRecordInCRM(RecordID: RecordId; ConfirmBeforeDeletingExistingCoupling: Boolean)gone after 20
gone
GetFeatureKey(): Text[50]19 to 23
marked Pending, tag 21.0: This procedure will be removed.
CheckSolutionVersionOutdated(): Booleannew in 21
added
internal ReactivateJobForTable(TableNo: Integer)new in 21
added
EnableUnitGroupMapping(): Guidnew in 21
added
DisableUnitGroupMapping()new in 21
added
AdjustUnitGroupCRMConnectionSetup()new in 21
added
UpdateItemUnitGroup()new in 21
added
UpdateResourceUnitGroup()new in 21
added
[IntegrationEvent] OnIsUnitGroupMappingEnabled(var FeatureEnabled: Boolean)19 to 23
marked Pending, tag 21.0: This procedure will be removed.
[IntegrationEvent] OnBeforeGetIntegrationTableMappingFromCRMRecord(var IntegrationTableMapping: Record "Integration Table Mapping"; RecRef: RecordRef)new in 21
added

In 20 20 added

UpdateMultipleNow(RecVariant: Variant; IsOption: Boolean)new in 20
added
UpdateSkippedNow(var CRMIntegrationRecord: Record "CRM Integration Record"; var CRMOptionMapping: Record "CRM Option Mapping")new in 20
added
UpdateSkippedNow(var CRMIntegrationRecord: Record "CRM Integration Record"; var CRMOptionMapping: Record "CRM Option Mapping"; SkipNotification: Boolean)new in 20
added
CreateNewOptionsInCRM(RecVariant: Variant)new in 20
added
CreateNewOptionsInCRM(var LocalIdListDictionary: Dictionary of [Code[20], List of [Guid]])new in 20
added
CreateNewRecordsFromSelectedCRMOptions(RecVariant: Variant)new in 20
added
EnqueueOptionSyncJobFromIntegrationTable(IntegrationTableMapping: Record "Integration Table Mapping"; CRMOptionIds: List of [Integer]; Direction: Integer; SynchronizeOnlyCoupledRecords: Boolean): Booleannew in 20
added
EnqueueOptionSyncJobToIntegrationTable(IntegrationTableMapping: Record "Integration Table Mapping"; LocalIdList: List of [Guid]; Direction: Integer; SynchronizeOnlyCoupledRecords: Boolean): Booleannew in 20
added
RemoveOptionMapping(var RecRef: RecordRef)new in 20
added
CreateOptionMapping(RecordID: RecordId; CRMOptionId: Integer; CRMOptionValue: Text[250])new in 20
added
GetMappedCRMOptionId(RecordID: RecordId; var CRMOptionId: Integer): Booleannew in 20
added
GetIntegrationTableMapping(var IntegrationTableMapping: Record "Integration Table Mapping"; TableID: Integer)new in 20
added
DefineOptionMapping(RecordID: RecordId): Booleannew in 20
added
ShowOptionLog(RecId: RecordId)new in 20
added
SetCoupledFlag(CRMOptionMapping: Record "CRM Option Mapping"; NewValue: Boolean): Boolean20 to 25
added
IsOptionMappingEnabled(): Boolean20 to 24
added
GetOptionMappingFeatureKey(): Text[50]20 to 24
added
[IntegrationEvent] OnIsOptionMappingEnabled(var FeatureEnabled: Boolean)20 to 24
added
[IntegrationEvent] OnGetTableIdFromCRMOption(RecRef: RecordRef; var TableId: Integer)new in 20
added
[IntegrationEvent] OnIsCRMTable(TableID: Integer; var IsCRMTable: Boolean; var Handled: Boolean)new in 20
added

In 19 22 added

CreateNewRecordsInCRM(var LocalIdListDictionary: Dictionary of [Code[20], List of [Guid]])new in 19
added
CreateNewRecordsFromCRM(var CRMIdListDictionary: Dictionary of [Code[20], List of [Guid]])new in 19
added
CreateNewRecords(var LocalIdListDictionary: Dictionary of [Code[20], List of [Guid]]; var CRMIdListDictionary: Dictionary of [Code[20], List of [Guid]])new in 19
added
MatchBasedCoupling(TableID: Integer): Booleannew in 19
added
MatchBasedCoupling(TableID: Integer; SkipSettingCriteria: Boolean; IsFullSync: Boolean; InForeground: Boolean): Booleannew in 19
added
MatchBasedCoupling(var LocalRecordRef: RecordRef)new in 19
added
RemoveCoupling(LocalTableID: Integer; var LocalIdList: List of [Guid]; Schedule: Boolean)new in 19
added
EnqueueSyncJob(IntegrationTableMapping: Record "Integration Table Mapping"; SystemIds: List of [Guid]; CRMIDs: List of [Guid]; Direction: Integer; SynchronizeOnlyCoupledRecords: Boolean): Booleannew in 19
added
AddIntegrationTableMapping(var IntegrationTableMapping: Record "Integration Table Mapping"; SynchOnlyCoupledRecords: Boolean)new in 19
added
DisableNotification(HostNotification: Notification)new in 19
added
OpenIntegrationSynchronizationJobsFromNotification(HostNotification: Notification)new in 19
added
SetCoupledFlag(CRMIntegrationRecord: Record "CRM Integration Record"; NewValue: Boolean): Boolean19 to 25
added
SetCoupledFlag(CRMIntegrationRecord: Record "CRM Integration Record"; NewValue: Boolean; ScheduleTask: Boolean): Boolean19 to 25
added
internal FindCoupledToCRMField(var RecRef: RecordRef; var CoupledToCRMFldRef: FieldRef): Booleannew in 19
added
IsCurrencySymbolMappingEnabled(): Boolean19 to 24
added
GetCurrencySymbolMappingFeatureKey(): Text[50]19 to 24
added
IsUnitGroupMappingEnabled(): Booleannew in 19
added
GetFeatureKey(): Text[50]19 to 23
added
[IntegrationEvent] OnIsCurrencySymbolMappingEnabled(var FeatureEnabled: Boolean)19 to 24
added
[IntegrationEvent] OnIsUnitGroupMappingEnabled(var FeatureEnabled: Boolean)19 to 23
added
[IntegrationEvent] OnBeforeGetIntegrationTableMapping(var IntegrationTableMapping: Record "Integration Table Mapping"; TableID: Integer)new in 19
added
[IntegrationEvent] OnBeforeSynchronyzeNowQuestion(var AllowedDirection: Integer; var IsHandled: Boolean)new in 19
added

In 18 6 marked obsolete, 1 gone, 5 added

SetCRMNAVODataUrlCredentials(ODataUrl: Text[250]; Username: Text[250]; Accesskey: Text[250])gone after 22
marked Pending, tag 18.0: This procedure will be removed.
ImportCRMSolution(ServerAddress: Text; IntegrationUserEmail: Text; AdminUserEmail: Text; AdminUserPassword: Text; AccessToken: Text; ProxyVersion: Integer; ForceRedeploy: Boolean): Booleangone after 17
gone
SetupItemAvailabilityService()gone after 22
marked Pending, tag 18.0: This procedure will be removed.
IsItemAvailabilityWebServiceEnabled(): Booleangone after 22
marked Pending, tag 18.0: This procedure will be removed.
GetItemAvailabilityWebServiceURL(): Text[250]gone after 22
marked Pending, tag 18.0: This procedure will be removed.
UnPublishOnWebService(var CRMConnectionSetup: Record "CRM Connection Setup")gone after 22
marked Pending, tag 18.0: This procedure will be removed.
PublishWebService(var CRMConnectionSetup: Record "CRM Connection Setup")gone after 22
marked Pending, tag 18.0: This procedure will be removed.
AddIntegrationTableMapping(var IntegrationTableMapping: Record "Integration Table Mapping")new in 18
added
ImportCRMSolution(ServerAddress: Text; IntegrationUserEmail: Text; AdminUserEmail: Text; AdminUserPassword: Text; AccessToken: Text; AdminADDomain: Text; ProxyVersion: Integer; ForceRedeploy: Boolean): Boolean18 to 27
added
LinkMissingOptionDoc(SkippedSyncNotification: Notification)18 to 24
added
IsItemAvailabilityEnabled(): Booleannew in 18
added
UserCanRescheduleJob(): Booleannew in 18
added