---
title: "Codeunit 7204 CDS Setup Defaults"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/7204-cds-setup-defaults/
type: codeunit
id: 7204
name: "CDS Setup Defaults"
app: "Base Application"
namespace: Microsoft.Integration.Dataverse
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/7204-cds-setup-defaults/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 7204 CDS Setup Defaults

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/7204-cds-setup-defaults/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Integration.Dataverse |
| Versions | 17-28 |
| Source file | Integration/Dataverse/CDSSetupDefaults.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| ResetConfiguration | (var Record CDS Connection Setup) | - | public | 17-28 | - | - |
| ResetSalesPeopleSystemUserMapping | (Code[20], Boolean, Boolean) | - | public | 17-28 | - | - |
| ResetCustomerAccountMapping | (Code[20], Boolean, Boolean) | - | public | 17-28 | - | - |
| ResetVendorAccountMapping | (Code[20], Boolean, Boolean) | - | public | 17-28 | - | - |
| ResetContactContactMapping | (Code[20], Boolean, Boolean) | - | public | 17-28 | - | - |
| ResetCurrencyTransactionCurrencyMapping | (Code[20], Boolean) | - | public | 17-28 | - | - |
| ResetPaymentTermsMapping | (Code[20]) | - | public | 17-28 | - | - |
| ResetShipmentMethodMapping | (Code[20]) | - | public | 17-28 | - | - |
| ResetShippingAgentMapping | (Code[20]) | - | public | 17-28 | - | - |
| CreateUncoupleJobQueueEntry | (var Record Integration Table Mapping) | Boolean | public | 17-28 | - | - |
| CreateJobQueueEntry | (Record Integration Table Mapping) | Boolean | public | 17-28 | - | - |
| CreateJobQueueEntry | (Record Integration Table Mapping, Text) | Boolean | internal | 17-28 | - | - |
| RecreateJobQueueEntryFromIntTableMapping | (Record Integration Table Mapping, Integer, Boolean, Integer, Text) | - | internal | 17-19 | - | - |
| RemoveCustomerContactLinkJobQueueEntries | () | - | public | 17-21 | Pending 19.0 | This functionality is replaced with updating related records through subscribers. |
| GetDefaultDirection | (Integer) | Integer | public | 17-28 | - | - |
| GetPrioritizedMappingList | (var Record Name/Value Buffer) | - | public | 17-28 | - | - |
| RunCoupleSalespeoplePage | () | - | public | 17-28 | - | - |
| GetCustomerTableMappingName | () | Text | public | 17-28 | - | - |
| GetVendorTableMappingName | () | Text | public | 17-28 | - | - |
| SetCustomIntegrationsTableMappings | (Record CDS Connection Setup) | - | public | 17-28 | - | - |
| CreateCoupleJobQueueEntry | (var Record Integration Table Mapping) | Boolean | public | 19-28 | - | - |
| RecreateJobQueueEntryFromIntTableMapping | (Record Integration Table Mapping, Integer, Boolean, Integer, Text, Boolean) | - | internal | 20-28 | - | - |
| ResetOptionMappingConfiguration | () | - | public | 20-28 | - | - |
| AddExtraIntegrationFieldMappings | () | - | internal | 23-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterResetConfiguration | (Record CDS Connection Setup) | 17-28 | - | - |
| Integration event | OnAfterResetCustomerAccountMapping | (Code[20]) | 17-28 | - | - |
| Integration event | OnAfterResetVendorAccountMapping | (Code[20]) | 17-28 | - | - |
| Integration event | OnAfterResetContactContactMapping | (Code[20]) | 17-28 | - | - |
| Integration event | OnBeforeResetConfiguration | (var Record CDS Connection Setup, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeResetContactContactMapping | (var Code[20], var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeResetCurrencyTransactionCurrencyMapping | (var Code[20], var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeResetCustomerAccountMapping | (var Code[20], var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeResetPaymentTermsMapping | (var Code[20], var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeResetShipmentMethodMapping | (var Code[20], var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeResetShippingAgentMapping | (var Code[20], var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeResetSalesPeopleSystemUserMapping | (var Code[20], var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeResetVendorAccountMapping | (var Code[20], var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnCreateJobQueueEntryOnBeforeJobQueueEnqueue | (var Record Job Queue Entry, var Record Integration Table Mapping, Integer, Text) | 21-28 | - | - |
| Integration event | OnAfterAddExtraIntegrationFieldMappings | (var Codeunit CRM Integration Management, var Record Integration Table Mapping) | 23-28 | - | - |
| Integration event | OnAfterResetSalesPeopleSystemUserMapping | (Code[20]) | 28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
