---
title: "Table 8004 Sub. Contr. Price Update Line"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/table/8004-sub-contr-price-update-line/
type: table
id: 8004
name: "Sub. Contr. Price Update Line"
app: "Subscription Billing"
namespace: Microsoft.SubscriptionBilling
versions: "26-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/table/8004-sub-contr-price-update-line/source/?v=28 https://jonas-paprotka.de/ref/table/8004-sub-contr-price-update-line/source/"
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Table 8004 Sub. Contr. Price Update Line

JOP-AL, https://jonas-paprotka.de/ref/table/8004-sub-contr-price-update-line/

| | |
| --- | --- |
| App | Subscription Billing |
| Namespace | Microsoft.SubscriptionBilling |
| Versions | 26-29 |
| Minors | W1 26.0-29.0; DE 26.0-29.0; US 26.0-29.0, [every minor](https://jonas-paprotka.de/ref/table/8004-sub-contr-price-update-line/editions.json) |
| Source file | Contract Price Update/Tables/SubContrPriceUpdateLine.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Entry No. | Integer | 26-29 | - | - |
| 2 | Subscription Header No. | Code[20] | 26-29 | - | - |
| 3 | Subscription Line Entry No. | Integer | 26-29 | - | - |
| 4 | Partner | Enum Service Partner | 26-29 | - | - |
| 5 | Partner No. | Code[20] | 26-29 | - | - |
| 6 | Partner Name | Text[100] | 26-29 | - | - |
| 7 | Subscription Contract No. | Code[20] | 26-29 | - | - |
| 8 | Sub. Contract Description | Text[100] | 26-29 | - | - |
| 9 | Subscription Description | Text[100] | 26-29 | - | - |
| 10 | Subscription Line Description | Text[100] | 26-29 | - | - |
| 11 | Old Price | Decimal | 26-29 | - | - |
| 12 | New Price | Decimal | 26-29 | - | - |
| 13 | Additional Amount | Decimal | 26-29 | - | - |
| 14 | Old Amount | Decimal | 26-29 | - | - |
| 15 | New Amount | Decimal | 26-29 | - | - |
| 16 | Old Calculation Base | Decimal | 26-29 | - | - |
| 17 | New Calculation Base | Decimal | 26-29 | - | - |
| 18 | Old Calculation Base % | Decimal | 26-29 | - | - |
| 19 | New Calculation Base % | Decimal | 26-29 | - | - |
| 20 | Discount % | Decimal | 26-29 | - | - |
| 21 | Discount Amount | Decimal | 26-29 | - | - |
| 22 | Quantity | Decimal | 26-29 | - | - |
| 23 | Next Price Update | Date | 26-29 | - | - |
| 24 | Perform Update On | Date | 26-29 | - | - |
| 25 | Currency Code | Code[10] | 27-29 | - | - |
| 100 | Indent | Integer | 26-29 | - | - |
| 101 | Price Update Template Code | Code[20] | 26-29 | - | - |

## Keys

| Name | Fields | Sum fields | Versions |
| --- | --- | --- | --- |
| PK, clustered | Entry No. | - | 26-29 |
| SK1 | Partner, Subscription Contract No. | - | 26-29 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| InitNewLine | () | - | internal | 26-29 | - | - |
| UpdateFromServiceCommitment | (ServiceCommitment: Record "Subscription Line") | - | internal | 26-29 | - | - |
| UpdateFromContract | (ServicePartner: Enum "Service Partner"; ContractNo: Code[20]) | - | internal | 26-29 | - | - |
| PriceUpdateLineExists | (ServiceCommitment: Record "Subscription Line") | Boolean | internal | 26-29 | - | - |
| FilterOnServiceCommitment | (ServiceCommitmentEntryNo: Integer) | - | internal | 26-29 | - | - |
| CalculateNewPrice | () | - | internal | 26-29 | - | - |
| CalculateNewCalculationBaseAmount | () | - | internal | 26-29 | - | - |
| ShouldContractPriceUpdateLineBeInserted | () | Boolean | internal | 26-29 | - | - |
| ShowContractPriceUpdateLineNotInsertedNotification | () | - | internal | 26-29 | - | - |
| UpdatePerformUpdateOn | (ServiceCommitment: Record "Subscription Line"; PerformUpdateOnDate: Date) | - | internal | 26-29 | - | - |

## Trigger events

| Name | Parameters | ElementName | Docs |
| --- | --- | --- | --- |
| OnBeforeInsertEvent | (var Rec: Record "Sub. Contr. Price Update Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforeinsertevent-table-trigger/ |
| OnAfterInsertEvent | (var Rec: Record "Sub. Contr. Price Update Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterinsertevent-table-trigger/ |
| OnBeforeModifyEvent | (var Rec: Record "Sub. Contr. Price Update Line"; var xRec: Record "Sub. Contr. Price Update Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforemodifyevent-table-trigger/ |
| OnAfterModifyEvent | (var Rec: Record "Sub. Contr. Price Update Line"; var xRec: Record "Sub. Contr. Price Update Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onaftermodifyevent-table-trigger/ |
| OnBeforeDeleteEvent | (var Rec: Record "Sub. Contr. Price Update Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforedeleteevent-table-trigger/ |
| OnAfterDeleteEvent | (var Rec: Record "Sub. Contr. Price Update Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterdeleteevent-table-trigger/ |
| OnBeforeRenameEvent | (var Rec: Record "Sub. Contr. Price Update Line"; var xRec: Record "Sub. Contr. Price Update Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforerenameevent-table-trigger/ |
| OnAfterRenameEvent | (var Rec: Record "Sub. Contr. Price Update Line"; var xRec: Record "Sub. Contr. Price Update Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterrenameevent-table-trigger/ |
| OnBeforeValidateEvent | (var Rec: Record "Sub. Contr. Price Update Line"; var xRec: Record "Sub. Contr. Price Update Line"; CurrFieldNo: Integer) | per field, ElementName: field name | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforevalidateevent-table-trigger/ |
| OnAfterValidateEvent | (var Rec: Record "Sub. Contr. Price Update Line"; var xRec: Record "Sub. Contr. Price Update Line"; CurrFieldNo: Integer) | per field, ElementName: field name | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onaftervalidateevent-table-trigger/ |

## Source

Symbols: Microsoft.SubscriptionBilling.symbols.3099ffc7-4cf7-4df6-9b96-7e4bc2bb587c, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.
AL source 28: https://github.com/microsoft/BCApps, MIT, releases/28.x at 408a4cc8d3a4c54b60464cc14c964479facb9ba0.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
