---
title: "Table 5079 Marketing Setup"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/5079-marketing-setup/
type: table
id: 5079
name: "Marketing Setup"
app: "Base Application"
namespace: Microsoft.CRM.Setup
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/5079-marketing-setup/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Table 5079 Marketing Setup

Jonas Paprotka, https://jonas-paprotka.de/ref/table/5079-marketing-setup/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.CRM.Setup |
| Versions | 17-28 |
| Source file | CRM/Setup/MarketingSetup.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Primary Key | Code[10] | 17-28 | - | - |
| 2 | Contact Nos. | Code[20] | 17-28 | - | - |
| 3 | Campaign Nos. | Code[20] | 17-28 | - | - |
| 4 | Segment Nos. | Code[20] | 17-28 | - | - |
| 5 | To-do Nos. | Code[20] | 17-28 | - | - |
| 6 | Opportunity Nos. | Code[20] | 17-28 | - | - |
| 7 | Bus. Rel. Code for Customers | Code[10] | 17-28 | - | - |
| 8 | Bus. Rel. Code for Vendors | Code[10] | 17-28 | - | - |
| 9 | Bus. Rel. Code for Bank Accs. | Code[10] | 17-28 | - | - |
| 10 | Bus. Rel. Code for Employees | Code[10] | 17-28 | - | - |
| 22 | Inherit Salesperson Code | Boolean | 17-28 | - | - |
| 23 | Inherit Territory Code | Boolean | 17-28 | - | - |
| 24 | Inherit Country/Region Code | Boolean | 17-28 | - | - |
| 25 | Inherit Language Code | Boolean | 17-28 | - | - |
| 26 | Inherit Address Details | Boolean | 17-28 | - | - |
| 27 | Inherit Communication Details | Boolean | 17-28 | - | - |
| 28 | Default Salesperson Code | Code[20] | 17-28 | - | - |
| 29 | Default Territory Code | Code[10] | 17-28 | - | - |
| 30 | Default Country/Region Code | Code[10] | 17-28 | - | - |
| 31 | Default Language Code | Code[10] | 17-28 | - | - |
| 32 | Default Format Region | Text[80] | 23-28 | - | - |
| 33 | Default Sales Cycle Code | Code[10] | 17-28 | - | - |
| 35 | Attachment Storage Type | Enum Setup Attachment Storage Type | 17-28 | - | - |
| 36 | Attachment Storage Location | Text[250] | 17-28 | - | - |
| 37 | Autosearch for Duplicates | Boolean | 17-28 | - | - |
| 38 | Search Hit % | Integer | 17-28 | - | - |
| 39 | Maintain Dupl. Search Strings | Boolean | 17-28 | - | - |
| 50 | Mergefield Language ID | Integer | 17-28 | - | - |
| 51 | Def. Company Salutation Code | Code[10] | 17-28 | - | - |
| 52 | Default Person Salutation Code | Code[10] | 17-28 | - | - |
| 53 | Default Correspondence Type | Enum Correspondence Type | 17-28 | - | - |
| 56 | Queue Folder Path | Text[250] | 17-28 | Removed 25.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| 57 | Queue Folder UID | Blob | 17-28 | Removed 25.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| 59 | Storage Folder Path | Text[250] | 17-28 | Removed 25.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| 60 | Storage Folder UID | Blob | 17-28 | Removed 25.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| 67 | Default To-do Date Calculation | DateFormula | 17-28 | - | - |
| 69 | Autodiscovery E-Mail Address | Text[250] | 17-28 | Removed 25.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| 70 | Email Batch Size | Integer | 17-28 | Removed 25.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| 71 | Exchange Service URL | Text[250] | 17-28 | Removed 25.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| 72 | Exchange Account User Name | Text[250] | 17-28 | Removed 25.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| 73 | Exchange Account Password Key | Guid | 17-28 | - | - |
| 74 | Sync with Microsoft Graph | Boolean | 17-25 | Removed 20.0 | The field will be removed. The API that this field was used for was discontinued. |
| 75 | WebHook Run Notification As | Guid | 17-28 | - | - |
| 76 | Cust. Template Company Code | Code[10] | 17-28 | - | - |
| 77 | Cust. Template Person Code | Code[10] | 17-28 | - | - |
| 78 | Exchange Tenant Id Key | Guid | 17-28 | - | - |
| 79 | Exchange Client Id | Text[250] | 17-28 | Removed 25.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| 80 | Exchange Client Secret Key | Guid | 17-28 | Removed 25.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| 81 | Email Logging Enabled | Boolean | 17-28 | Removed 25.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| 82 | Exchange Redirect URL | Text[2048] | 17-28 | Removed 25.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| 83 | Inherit Format Region | Boolean | 23-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Primary Key | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| SetQueueFolder | (Record Exchange Folder) | - | public | 17-24 | Pending 22.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| SetStorageFolder | (Record Exchange Folder) | - | public | 17-24 | Pending 22.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| GetQueueFolderUID | () | Text | public | 17-24 | Pending 22.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| GetStorageFolderUID | () | Text | public | 17-24 | Pending 22.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| SetExchangeAccountPassword | (Text) | - | public | 17-23 | Pending 22.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| CreateExchangeAccountCredentials | (var DotNet WebCredentials) | - | public | 17-24 | Pending 22.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| TrySetWebhookSubscriptionUser | (Guid) | Boolean | public | 17-28 | - | - |
| GetWebhookSubscriptionUser | () | Guid | public | 17-28 | - | - |
| TrySetWebhookSubscriptionUserAsCurrentUser | () | Guid | public | 17-28 | - | - |
| GetCustomerTemplate | (Option) | Code[10] | public | 17-28 | - | - |
| ResetExchangeTenantId | () | - | public | 17-24 | Pending 22.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| SetExchangeTenantId | (Text) | - | public | 17-24 | Pending 22.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| GetExchangeTenantId | () | Text | public | 17-24 | Pending 22.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| SetExchangeClientSecret | (Text) | - | public | 17-23 | - | - |
| GetExchangeClientSecret | () | Text | public | 17-24 | Pending 22.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| SetExchangeAccountPassword | (SecretText) | - | public | 24 | Pending 22.0 | Feature EmailLoggingUsingGraphApi will be enabled by default in version 22.0 |
| CreateWebCredentials | (var DotNet WebCredentials, SecretText) | - | public | 24 | - | - |
| SetExchangeClientSecret | (SecretText) | - | public | 24 | - | - |
| GetRecordOnce | () | - | public | 26-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.
