Share via


Table "CRM Connection Setup"

ID 5330
Namespace: Microsoft.Integration.D365Sales

Properties

Name Value
Caption Microsoft Dynamics 365 Connection Setup
Permissions tabledata "CRM Connection Setup" = r
InherentEntitlements rX
InherentPermissions rX
DataClassification CustomerContent

Fields

Name Type Description
"Primary Key" Code[20]
"Server Address" Text[250]
"User Name" Text[250]
"User Password Key" Guid
"Restore Connection" Boolean
"Is Enabled" Boolean
"Is User Mapping Required" Boolean
"Is User Mapped To CRM User" Boolean
"CRM Version" Text[30]
"Use Newest UI" Boolean
"Newest UI AppModuleId" Text[50]
"Is S.Order Integration Enabled" Boolean
"Is CRM Solution Installed" Boolean
"Is Enabled For User" Boolean
"Dynamics NAV URL" Text[250]
"Default CRM Price List ID" Guid
"Proxy Version" Integer
"Auto Create Sales Orders" Boolean
"Auto Process Sales Quotes" Boolean
CurrencyDecimalPrecision Integer
BaseCurrencyId Guid
BaseCurrencyPrecision Integer
BaseCurrencySymbol Text[5]
"Authentication Type" Option
"Connection String" Text[250]
Domain Text[250]
"Server Connection String" Blob
"Disable Reason" Text[250]
"Item Availability Enabled" Boolean
"Bidirectional Sales Order Int." Boolean
"Unit Group Mapping Enabled" Boolean
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

CountCRMJobQueueEntries

procedure CountCRMJobQueueEntries(var ActiveJobs: Integer, var TotalJobs: Integer)

Parameters

Name Type Description
ActiveJobs Integer
TotalJobs Integer

SetPassword

Obsolete

This element will become obsolete from version 25.0. Use SetPassword(PasswordText: SecretText) instead.

[Obsolete(Use SetPassword(PasswordText: SecretText) instead.,25.0)]
[NonDebuggable]
procedure SetPassword(PasswordText: Text)

Parameters

Name Type Description
PasswordText Text

RegisterConnection

procedure RegisterConnection()

RegisterConnectionWithName

[NonDebuggable]
procedure RegisterConnectionWithName(ConnectionName: Text)

Parameters

Name Type Description
ConnectionName Text

UnregisterConnection

procedure UnregisterConnection(): Boolean

Returns

Type Description
Boolean

UnregisterConnectionWithName

[TryFunction]
procedure UnregisterConnectionWithName(ConnectionName: Text): Boolean

Parameters

Name Type Description
ConnectionName Text

Returns

Type Description
Boolean

GetConnectionStringWithCredentials

Obsolete

This element will become obsolete from version 25.0. Use the GetSecretConnectionStringWithCredentials procedure instead.

[Obsolete(Use the GetSecretConnectionStringWithCredentials procedure instead.,25.0)]
[NonDebuggable]
procedure GetConnectionStringWithCredentials(): Text

Returns

Type Description
Text

GetIntegrationUserID

procedure GetIntegrationUserID(): Guid

Returns

Type Description
Guid

GetPassword

Obsolete

This element will become obsolete from version 25.0. Use the procedure GetSecretPassword instead.

[Obsolete(Use the procedure GetSecretPassword instead.,25.0)]
[NonDebuggable]
procedure GetPassword(): Text

Returns

Type Description
Text

GetJobQueueEntriesObjectIDToRunFilter

procedure GetJobQueueEntriesObjectIDToRunFilter(): Text

Returns

Type Description
Text

TestConnection

procedure TestConnection(): Boolean

Returns

Type Description
Boolean

TestIntegrationUserRequirements

procedure TestIntegrationUserRequirements()

TryReadSystemUsers

[TryFunction]
procedure TryReadSystemUsers(): Boolean

Returns

Type Description
Boolean

IsVersionValid

procedure IsVersionValid(): Boolean

Returns

Type Description
Boolean

UpdateFromWizard

Obsolete

This element will become obsolete from version 25.0. Use the procedure that receives PasswordText as SecretText instead.

[Obsolete(Use the procedure that receives PasswordText as SecretText instead.,25.0)]
[NonDebuggable]
procedure UpdateFromWizard(var SourceCRMConnectionSetup: Record "CRM Connection Setup", PasswordText: Text)

Parameters

Name Type Description
SourceCRMConnectionSetup Table Microsoft.Integration.D365Sales."CRM Connection Setup"
PasswordText Text

UpdateFromWizard

procedure UpdateFromWizard(var SourceCRMConnectionSetup: Record "CRM Connection Setup", PasswordText: SecretText)

Parameters

Name Type Description
SourceCRMConnectionSetup Table Microsoft.Integration.D365Sales."CRM Connection Setup"
PasswordText SecretText

EnableCRMConnectionFromWizard

procedure EnableCRMConnectionFromWizard()

RestoreConnection

procedure RestoreConnection()

SetCRMSOPEnabled

procedure SetCRMSOPEnabled()

SetCRMSOPDisabled

procedure SetCRMSOPDisabled()

SetUserAsIntegrationUser

procedure SetUserAsIntegrationUser()

SynchronizeNow

procedure SynchronizeNow(DoFullSynch: Boolean)

Parameters

Name Type Description
DoFullSynch Boolean

PromptForCredentials

[NonDebuggable]
procedure PromptForCredentials(var AdminEmail: Text, var AdminPassword: Text): Boolean

Parameters

Name Type Description
AdminEmail Text
AdminPassword Text

Returns

Type Description
Boolean

DoReadCRMData

procedure DoReadCRMData(): Boolean

Returns

Type Description
Boolean

UpdateCRMJobQueueEntriesStatus

procedure UpdateCRMJobQueueEntriesStatus()

IsEnabled

procedure IsEnabled(): Boolean

Returns

Type Description
Boolean

IsBidirectionalSalesOrderIntEnabled

procedure IsBidirectionalSalesOrderIntEnabled(): Boolean

Returns

Type Description
Boolean

SetUseNewestUI

procedure SetUseNewestUI()

Events

OnReadingCRMData

[IntegrationEvent(False,False)]
local procedure OnReadingCRMData(var SkipReading: Boolean)

Parameters

Name Type Description
SkipReading Boolean

OnGetDefaultCRMConnection

[IntegrationEvent(False,False)]
local procedure OnGetDefaultCRMConnection(var ConnectionName: Text)

Parameters

Name Type Description
ConnectionName Text

OnBeforeVerifyBaseCurrencyMatchesLCY

[IntegrationEvent(False,False)]
local procedure OnBeforeVerifyBaseCurrencyMatchesLCY(var IsHandled: Boolean)

Parameters

Name Type Description
IsHandled Boolean

See also