Share via


Codeunit "CDS Setup Defaults"

ID 7204
Namespace: Microsoft.Integration.Dataverse

Methods

ResetConfiguration

procedure ResetConfiguration(var CDSConnectionSetup: Record "CDS Connection Setup")

Parameters

Name Type Description
CDSConnectionSetup Table Microsoft.Integration.Dataverse."CDS Connection Setup"

CreateJobQueueEntry

procedure CreateJobQueueEntry(IntegrationTableMapping: Record "Integration Table Mapping"): Boolean

Parameters

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

Returns

Type Description
Boolean

GetDefaultDirection

procedure GetDefaultDirection(NAVTableID: Integer): Integer

Parameters

Name Type Description
NAVTableID Integer

Returns

Type Description
Integer

GetPrioritizedMappingList

procedure GetPrioritizedMappingList(var NameValueBuffer: Record "Name/Value Buffer")

Parameters

Name Type Description
NameValueBuffer Table Microsoft.Utilities."Name/Value Buffer"

GetCustomerTableMappingName

[Scope(Cloud)]
procedure GetCustomerTableMappingName(): Text

Returns

Type Description
Text

GetVendorTableMappingName

[Scope(Cloud)]
procedure GetVendorTableMappingName(): Text

Returns

Type Description
Text

ResetOptionMappingConfiguration

procedure ResetOptionMappingConfiguration()

Events

OnAfterResetConfiguration

[IntegrationEvent(False,False)]
local procedure OnAfterResetConfiguration(CDSConnectionSetup: Record "CDS Connection Setup")

Parameters

Name Type Description
CDSConnectionSetup Table Microsoft.Integration.Dataverse."CDS Connection Setup"

OnAfterResetCustomerAccountMapping

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

Parameters

Name Type Description
IntegrationTableMappingName Code[20]

OnAfterResetVendorAccountMapping

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

Parameters

Name Type Description
IntegrationTableMappingName Code[20]

OnAfterResetContactContactMapping

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

Parameters

Name Type Description
IntegrationTableMappingName Code[20]

OnBeforeResetConfiguration

[IntegrationEvent(False,False)]
local procedure OnBeforeResetConfiguration(var CDSConnectionSetup: Record "CDS Connection Setup", var IsHandled: Boolean)

Parameters

Name Type Description
CDSConnectionSetup Table Microsoft.Integration.Dataverse."CDS Connection Setup"
IsHandled Boolean

OnBeforeResetContactContactMapping

[IntegrationEvent(False,False)]
local procedure OnBeforeResetContactContactMapping(var IntegrationTableMappingName: Code[20], var ShouldRecreateJobQueueEntry: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
IntegrationTableMappingName Code[20]
ShouldRecreateJobQueueEntry Boolean
IsHandled Boolean

OnBeforeResetCurrencyTransactionCurrencyMapping

[IntegrationEvent(False,False)]
local procedure OnBeforeResetCurrencyTransactionCurrencyMapping(var IntegrationTableMappingName: Code[20], var ShouldRecreateJobQueueEntry: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
IntegrationTableMappingName Code[20]
ShouldRecreateJobQueueEntry Boolean
IsHandled Boolean

OnBeforeResetCustomerAccountMapping

[IntegrationEvent(False,False)]
local procedure OnBeforeResetCustomerAccountMapping(var IntegrationTableMappingName: Code[20], var ShouldRecreateJobQueueEntry: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
IntegrationTableMappingName Code[20]
ShouldRecreateJobQueueEntry Boolean
IsHandled Boolean

OnBeforeResetPaymentTermsMapping

[IntegrationEvent(False,False)]
local procedure OnBeforeResetPaymentTermsMapping(var IntegrationTableMappingName: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
IntegrationTableMappingName Code[20]
IsHandled Boolean

OnBeforeResetShipmentMethodMapping

[IntegrationEvent(False,False)]
local procedure OnBeforeResetShipmentMethodMapping(var IntegrationTableMappingName: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
IntegrationTableMappingName Code[20]
IsHandled Boolean

OnBeforeResetShippingAgentMapping

[IntegrationEvent(False,False)]
local procedure OnBeforeResetShippingAgentMapping(var IntegrationTableMappingName: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
IntegrationTableMappingName Code[20]
IsHandled Boolean

OnBeforeResetSalesPeopleSystemUserMapping

[IntegrationEvent(False,False)]
local procedure OnBeforeResetSalesPeopleSystemUserMapping(var IntegrationTableMappingName: Code[20], var ShouldRecreateJobQueueEntry: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
IntegrationTableMappingName Code[20]
ShouldRecreateJobQueueEntry Boolean
IsHandled Boolean

OnBeforeResetVendorAccountMapping

[IntegrationEvent(False,False)]
local procedure OnBeforeResetVendorAccountMapping(var IntegrationTableMappingName: Code[20], var ShouldRecreateJobQueueEntry: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
IntegrationTableMappingName Code[20]
ShouldRecreateJobQueueEntry Boolean
IsHandled Boolean

OnCreateJobQueueEntryOnBeforeJobQueueEnqueue

[IntegrationEvent(False,False)]
local procedure OnCreateJobQueueEntryOnBeforeJobQueueEnqueue(var JobQueueEntry: Record "Job Queue Entry", var IntegrationTableMapping: Record "Integration Table Mapping", JobCodeunitId: Integer, JobDescription: Text)

Parameters

Name Type Description
JobQueueEntry Table System.Threading."Job Queue Entry"
IntegrationTableMapping Table Microsoft.Integration.SyncEngine."Integration Table Mapping"
JobCodeunitId Integer
JobDescription Text

OnAfterAddExtraIntegrationFieldMappings

[IntegrationEvent(False,False)]
local procedure OnAfterAddExtraIntegrationFieldMappings(var CRMIntegrationManagement: Codeunit "CRM Integration Management", var IntegrationTableMapping: Record "Integration Table Mapping")

Parameters

Name Type Description
CRMIntegrationManagement Codeunit Microsoft.Integration.Dataverse."CRM Integration Management"
IntegrationTableMapping Table Microsoft.Integration.SyncEngine."Integration Table Mapping"

See also