---
title: "Table 5357 CRM Contract"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/5357-crm-contract/
type: table
id: 5357
name: "CRM Contract"
app: "Base Application"
namespace: Microsoft.Integration.D365Sales
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/5357-crm-contract/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 5357 CRM Contract

Jonas Paprotka, https://jonas-paprotka.de/ref/table/5357-crm-contract/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Integration.D365Sales |
| Versions | 17-28 |
| Source file | Integration/D365Sales/CRMContract.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | ContractId | Guid | 17-28 | - | - |
| 2 | OwningBusinessUnit | Guid | 17-28 | - | - |
| 3 | ContractServiceLevelCode | Option | 17-28 | - | - |
| 4 | ServiceAddress | Guid | 17-28 | - | - |
| 5 | BillToAddress | Guid | 17-28 | - | - |
| 6 | OwningUser | Guid | 17-28 | - | - |
| 7 | ContactId | Guid | 17-28 | - | - |
| 8 | AccountId | Guid | 17-28 | - | - |
| 9 | BillingAccountId | Guid | 17-28 | - | - |
| 10 | ContractNumber | Text[100] | 17-28 | - | - |
| 11 | BillingContactId | Guid | 17-28 | - | - |
| 12 | ActiveOn | Date | 17-28 | - | - |
| 13 | ExpiresOn | Date | 17-28 | - | - |
| 14 | CancelOn | Date | 17-28 | - | - |
| 15 | Title | Text[100] | 17-28 | - | - |
| 16 | ContractLanguage | Blob | 17-28 | - | - |
| 17 | BillingStartOn | Date | 17-28 | - | - |
| 18 | EffectivityCalendar | Text[168] | 17-28 | - | - |
| 19 | BillingEndOn | Date | 17-28 | - | - |
| 20 | BillingFrequencyCode | Option | 17-28 | - | - |
| 21 | CreatedBy | Guid | 17-28 | - | - |
| 22 | CreatedOn | DateTime | 17-28 | - | - |
| 23 | ModifiedBy | Guid | 17-28 | - | - |
| 24 | AllotmentTypeCode | Option | 17-28 | - | - |
| 25 | UseDiscountAsPercentage | Boolean | 17-28 | - | - |
| 26 | ModifiedOn | DateTime | 17-28 | - | - |
| 27 | TotalPrice | Decimal | 17-28 | - | - |
| 28 | VersionNumber | BigInteger | 17-28 | - | - |
| 29 | TotalDiscount | Decimal | 17-28 | - | - |
| 30 | StateCode | Option | 17-28 | - | - |
| 31 | NetPrice | Decimal | 17-28 | - | - |
| 32 | StatusCode | Option | 17-28 | - | - |
| 33 | OriginatingContract | Guid | 17-28 | - | - |
| 34 | Duration | Integer | 17-28 | - | - |
| 35 | ContactIdName | Text[160] | 17-28 | - | - |
| 36 | AccountIdName | Text[160] | 17-28 | - | - |
| 37 | BillingContactIdName | Text[160] | 17-28 | - | - |
| 38 | BillingAccountIdName | Text[160] | 17-28 | - | - |
| 39 | OriginatingContractName | Text[100] | 17-28 | - | - |
| 40 | BillToAddressName | Text[200] | 17-28 | - | - |
| 41 | ServiceAddressName | Text[200] | 17-28 | - | - |
| 42 | ContractTemplateAbbreviation | Text[20] | 17-28 | - | - |
| 43 | CreatedByName | Text[200] | 17-28 | - | - |
| 44 | ModifiedByName | Text[200] | 17-28 | - | - |
| 45 | CustomerId | Guid | 17-28 | - | - |
| 46 | CustomerIdType | Option | 17-28 | - | - |
| 47 | BillingCustomerId | Guid | 17-28 | - | - |
| 48 | BillingCustomerIdType | Option | 17-28 | - | - |
| 49 | OwnerId | Guid | 17-28 | - | - |
| 50 | OwnerIdType | Option | 17-28 | - | - |
| 51 | TimeZoneRuleVersionNumber | Integer | 17-28 | - | - |
| 52 | OverriddenCreatedOn | Date | 17-28 | - | - |
| 53 | ImportSequenceNumber | Integer | 17-28 | - | - |
| 54 | UTCConversionTimeZoneCode | Integer | 17-28 | - | - |
| 55 | TransactionCurrencyId | Guid | 17-28 | - | - |
| 56 | ExchangeRate | Decimal | 17-28 | - | - |
| 57 | TotalDiscount_Base | Decimal | 17-28 | - | - |
| 58 | NetPrice_Base | Decimal | 17-28 | - | - |
| 59 | TransactionCurrencyIdName | Text[100] | 17-28 | - | - |
| 60 | TotalPrice_Base | Decimal | 17-28 | - | - |
| 61 | CreatedOnBehalfBy | Guid | 17-28 | - | - |
| 62 | CreatedOnBehalfByName | Text[200] | 17-28 | - | - |
| 63 | ModifiedOnBehalfBy | Guid | 17-28 | - | - |
| 64 | ModifiedOnBehalfByName | Text[200] | 17-28 | - | - |
| 65 | OwningTeam | Guid | 17-28 | - | - |
| 66 | EntityImageId | Guid | 17-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | ContractId | 17-28 |
| Key2 | Title | 17-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.
