---
title: "Table 5969 Contract Gain/Loss Entry"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/5969-contract-gain-loss-entry/
type: table
id: 5969
name: "Contract Gain/Loss Entry"
app: "Base Application"
namespace: Microsoft.Service.Contract
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/5969-contract-gain-loss-entry/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 5969 Contract Gain/Loss Entry

Jonas Paprotka, https://jonas-paprotka.de/ref/table/5969-contract-gain-loss-entry/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Service.Contract |
| Versions | 17-28 |
| Source file | Service/Contract/ContractGainLossEntry.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Entry No. | Integer | 17-28 | - | - |
| 2 | Contract No. | Code[20] | 17-28 | - | - |
| 3 | Contract Group Code | Code[10] | 17-28 | - | - |
| 4 | Change Date | Date | 17-28 | - | - |
| 5 | Reason Code | Code[10] | 17-28 | - | - |
| 6 | Type of Change | Enum Service Contract Change Type | 17-28 | - | - |
| 8 | Responsibility Center | Code[10] | 17-28 | - | - |
| 9 | Customer No. | Code[20] | 17-28 | - | - |
| 10 | Ship-to Code | Code[10] | 17-28 | - | - |
| 11 | User ID | Code[50] | 17-28 | - | - |
| 12 | Amount | Decimal | 17-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Entry No. | 17-28 |
| Key2 | Contract No., Change Date, Reason Code | 17-28 |
| Key3 | Contract Group Code, Change Date | 17-28 |
| Key4 | Customer No., Ship-to Code, Change Date | 17-28 |
| Key5 | Reason Code, Change Date | 17-28 |
| Key6 | Responsibility Center, Change Date | 17-28 |
| Key7 | Responsibility Center, Type of Change, Reason Code | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| AddEntry | (Integer, Integer, Code[20], Decimal, Code[10]) | - | public | 17-21 | Pending 19.0 | Replaced by CreateEntry() |
| CreateEntry | (Enum Service Contract Change Type, Enum Service Contract Type, Code[20], Decimal, Code[10]) | - | public | 19-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.
