codeunitIntegration & APIsofficial - Microsoftderived - from the source, no model text

Codeunit 7200 "CDS Integration Mgt."

Base Application · Microsoft.Integration.Dataverse

Across versions

  1. BC23present
  2. BC241 procedures added
  3. BC25-27unchanged
  4. BC2830 procedures changed, 12 events changed
  5. BC29-30unchanged

Neighbourhood 29 connected objects and pages

Codeunit 5330 "CRM Integration Management" (event subscribers, 2 links)CRM Integration ManagementCodeunit 6610 "FS Int. Table Subscriber" (event subscribers)Codeunit 7204 "CDS Setup Defaults" (event subscribers)CDS Setup DefaultsCodeunit 7205 "CDS Int. Table. Subscriber" (event subscribers)CDS Int. Table. SubscriberCodeunit 7201 "CDS Integration Impl." (calls, 34 links)CDS Integration Impl.Codeunit 6611 "FS Setup Defaults" (calls, 14 links)FS Setup DefaultsCodeunit 7205 "CDS Int. Table. Subscriber" (calls, 12 links)CDS Int. Table. SubscriberCodeunit 5334 "CRM Setup Defaults" (calls, 10 links)CRM Setup DefaultsCodeunit 7204 "CDS Setup Defaults" (calls, 7 links)CDS Setup DefaultsCodeunit 6610 "FS Int. Table Subscriber" (calls, 5 links)Table 7200 "CDS Connection Setup" (calls, 4 links)CDS Connection SetupCodeunit 6277 "Sust. Setup Defaults" (calls, 3 links)Table 5335 "Integration Table Mapping" (calls, 3 links)Integration Table MappingCodeunit 5330 "CRM Integration Management" (calls, 2 links)Codeunit 5364 "Int. Option Synch. Invoke" (calls, 2 links)Int. Option Synch. InvokeCodeunit 5348 "CRM Quote to Sales Quote" (calls)CRM Quote to Sales QuoteCodeunit 5391 "Man. Int. Field Mapping" (calls)Man. Int. Field MappingCodeunit 6153 "API Webhook Notification Mgt." (calls)API Webhook Notification Mgt.Page 1279 "Service Connections" (calls)Page 1310 "O365 Activities" (calls)Page 5351 "CRM Sales Quote List" (calls)Page 9062 "User Security Activities" (calls)Page 9072 "IT Operations Activities" (calls)Page 9076 "Sales & Relationship Mgr. Act." (calls)Table 5332 "Coupling Record Buffer" (calls)Table 5384 "Man. Int. Field Mapping" (calls)Table 7203 "CRM Payment Terms" (calls)Table 7204 "CRM Freight Terms" (calls)Table 7205 "CRM Shipping Method" (calls)

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Integration.Dataverse · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Access Public
SingleInstance true

Events published

  • OnBeforeRegisterConnection() Δ BC28 (integration): Integration event raised before registering the Dataverse connection.
  • OnAfterRegisterConnection() Δ BC28 (integration): Integration event raised after registering the Dataverse connection.
  • OnBeforeUnregisterConnection() Δ BC28 (integration): Integration event raised before unregistering the Dataverse connection.
  • OnAfterUnregisterConnection() Δ BC28 (integration): Integration event raised after unregistering the Dataverse connection.
  • OnBeforeActivateConnection() Δ BC28 (integration): Integration event raised before activating the Dataverse connection.
  • OnAfterActivateConnection() Δ BC28 (integration): Integration event raised after activating the Dataverse connection.
  • OnEnableIntegration() Δ BC28 (integration): Integration event raised when the Dataverse integration is enabled.
  • OnDisableIntegration() Δ BC28 (integration): Integration event raised when the Dataverse integration is disabled.
  • OnGetIntegrationRequiredRoles(var RequiredRoleIdList: List of [Guid]) Δ BC28 (integration): Integration event to retrieve the list of required Dataverse security roles for integration.
  • OnGetIntegrationSolutions(var SolutionUniqueNameList: List of [Text]) Δ BC28 (integration): Integration event to retrieve the list of required Dataverse solutions for integration.
  • OnGetDetailedLoggingEnabled(var Enabled: Boolean) Δ BC28 (integration): Integration event to determine if detailed logging is enabled for Dataverse integration.
  • OnHasCompanyIdField(TableId: Integer; var HasField: Boolean) Δ BC28 (integration): Integration event to check if a table has a company ID field.

Procedures

  • TestConnection(): Boolean Δ BC28: Tests if the active connection to Dataverse is working.
  • ActivateConnection(): Boolean Δ BC28: Activates the connection to Dataverse.
  • RegisterConnection(): Boolean Δ BC28: Registers the connection to Dataverse.
  • IsIntegrationEnabled(): Boolean Δ BC28: Checks if the Dataverse integration is enabled.
  • IsBusinessEventsEnabled(): Boolean Δ BC28: Checks if business events are enabled for the Dataverse integration.
  • IsConnectionActive(): Boolean Δ BC28: Checks if the connection to Dataverse is currently active.
  • IsSolutionInstalled(): Boolean Δ BC28 Δ BC28: Checks if the default Dataverse integration solution is installed.
  • IsSolutionInstalled(UniqueName: Text): Boolean Δ BC28 Δ BC28: Checks if a specific Dataverse solution is installed.
  • GetSolutionVersion(var Version: Text): Boolean Δ BC28 Δ BC28: Gets the version of the default Dataverse integration solution.
  • GetSolutionVersion(UniqueName: Text; var Version: Text): Boolean Δ BC28 Δ BC28: Gets the version of a specific Dataverse solution.
  • CheckCompanyId(var RecRef: RecordRef): Boolean Δ BC28: Checks if the company ID on the record matches the current company.
  • CheckOwningTeam(var RecRef: RecordRef): Boolean Δ BC28: Checks if the record is owned by the configured owning team.
  • CheckOwningUser(var RecRef: RecordRef; UserId: Guid): Boolean Δ BC28 Δ BC28: Checks if the record is owned by the specified user.
  • CheckOwningUser(var RecRef: RecordRef; UserId: Guid; SkipBusinessUnitCheck: Boolean): Boolean Δ BC28 Δ BC28: Checks if the record is owned by the specified user with an option to skip business unit check.
  • HasCompanyIdField(TableId: Integer): Boolean Δ BC28: Checks if the specified table has a company ID field.
  • ResetCompanyId(var RecRef: RecordRef): Boolean Δ BC28: Resets the company ID field on the record to empty.
  • SetCompanyId(var RecRef: RecordRef): Boolean Δ BC28: Sets the company ID field on the record to the current company.
  • SetOwningTeam(var RecRef: RecordRef): Boolean Δ BC28: Sets the owning team on the record to the configured default team.
  • SetOwningUser(var RecRef: RecordRef; UserId: Guid): Boolean Δ BC28 Δ BC28: Sets the owning user on the record to the specified user.
  • SetOwningUser(var RecRef: RecordRef; UserId: Guid; SkipBusinessUnitCheck: Boolean): Boolean Δ BC28 Δ BC28: Sets the owning user on the record to the specified user with an option to skip business unit check.
  • GetCDSCompany(var CDSCompany: Record "CDS Company"): Boolean Δ BC28: Gets the Dataverse company record that corresponds to the current Business Central company.
  • GetCoupledBusinessUnitId(): Guid Δ BC28: Gets the ID of the business unit that is coupled with the current company.
  • IsTeamOwnershipModelSelected(): Boolean Δ BC28: Checks if the team ownership model is selected for the integration.
  • RegisterAssistedSetup() Δ BC28: Registers the Dataverse integration assisted setup.
  • ResetCache() Δ BC28: Resets the cached integration data.
  • GetOptionSetMetadata(EntityName: Text; FieldName: Text): Dictionary of [Integer, Text] Δ BC28: Gets the metadata for an option set field in Dataverse.
  • InsertOptionSetMetadata(EntityName: Text; FieldName: Text; NewOptionLabel: Text): Integer Δ BC28: Inserts a new option into an option set field in Dataverse.
  • InsertOptionSetMetadataWithOptionValue(EntityName: Text; FieldName: Text; NewOptionLabel: Text; NewOptionValue: Integer): Integer Δ BC28: Inserts a new option into an option set field in Dataverse with a specific option value.
  • UpdateOptionSetMetadata(EntityName: Text; FieldName: Text; OptionValue: Integer; NewOptionLabel: Text) Δ BC28: Updates the label of an existing option in an option set field in Dataverse.
  • FindCompanyIdField(var RecRef: RecordRef; var CompanyIdFldRef: FieldRef): Boolean + BC24 Δ BC28: Finds the company ID field in a record reference.
  • GetEntityMetadata(TableNo: Integer): Text + BC28: Gets the entity metadata for a Dataverse table.
  • GetEntityFields(TableNo: Integer; var IntegrationField: Record "Integration Field") + BC28: Gets the field metadata for a Dataverse entity and populates a temporary Field record.

Triggers

OnRun

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

Called by

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "CDS Integration Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources