---
id: object/table/8004
type: object
title: Table 8004 "Sub. Contr. Price Update Line"
summary: Table 8004 "Sub. Contr. Price Update Line" in Subscription Billing (Microsoft.SubscriptionBilling). 27 fields, 10 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - subscription billing
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 7beb53c3bd9dbee568df41b17a4a38178b8d2f8b23334d00ffc6b3fd22fc75f1
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Subscription%20Billing/app/Contract%20Price%20Update/Tables/SubContrPriceUpdateLine.Table.al
    title: src/Apps/W1/Subscription Billing/app/Contract Price Update/Tables/SubContrPriceUpdateLine.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/SRB/working-with-contracts/price-update
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/sales/subscription-billing/contracts
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 8004
name: Sub. Contr. Price Update Line
caption: Subscription Contract Price Update Line
namespace: Microsoft.SubscriptionBilling
app: Subscription Billing
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 27
  procedures: 10
  events: 0
  subscribers: 0
relations:
  out: 2
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 8004 "Sub. Contr. Price Update Line"

> Table 8004 "Sub. Contr. Price Update Line" in Subscription Billing (Microsoft.SubscriptionBilling). 27 fields, 10 public procedures. Introduced in BC29, still in BC30.

Subscription Billing · Microsoft.SubscriptionBilling · captioned "Subscription Contract Price Update Line" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Subscription%20Billing/app/Contract%20Price%20Update/Tables/SubContrPriceUpdateLine.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 8025 "Contract Price Update"](../page/8025.md) (1 Learn page).

## Properties

| Property | Value |
|---|---|
| Caption | Subscription Contract Price Update Line |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Entry No. | Integer | — | AutoIncrement |
| 2 | Subscription Header No. | Code[20] | Specifies the number of the Subscription. <small>via [Page 8025 "Contract Price Update"](../page/8025.md)</small> | TableRelation [Table 8057 "Subscription Header"](../table/8057.md) (Subscription Header) |
| 3 | Subscription Line Entry No. | Integer | — |  |
| 4 | Partner | Enum "Service Partner" | — | enum [Enum 8053 "Service Partner"](../enum/8053.md) |
| 5 | Partner No. | Code[20] | — |  |
| 6 | Partner Name | Text[100] | Specifies the name of the partner who will receive the contract components and be billed by default. <small>via [Page 8025 "Contract Price Update"](../page/8025.md)</small> |  |
| 7 | Subscription Contract No. | Code[20] | Specifies the number of the Contract. <small>via [Page 8025 "Contract Price Update"](../page/8025.md)</small> |  |
| 8 | Sub. Contract Description | Text[100] | Specifies the description of the Contract. <small>via [Page 8025 "Contract Price Update"](../page/8025.md)</small> |  |
| 9 | Subscription Description | Text[100] | Specifies a description of the Subscription. <small>via [Page 8025 "Contract Price Update"](../page/8025.md)</small> |  |
| 10 | Subscription Line Description | Text[100] | Specifies a description of the Subscription Line. <small>via [Page 8025 "Contract Price Update"](../page/8025.md)</small> |  |
| 11 | Old Price | Decimal | Specifies the current Price of the contract line. <small>via [Page 8025 "Contract Price Update"](../page/8025.md)</small> |  |
| 12 | New Price | Decimal | Specifies the new price after the price update. <small>via [Page 8025 "Contract Price Update"](../page/8025.md)</small> |  |
| 13 | Additional Amount | Decimal | Specifies the additional amount, which will be charged after the price update. <small>via [Page 8025 "Contract Price Update"](../page/8025.md)</small> | not editable |
| 14 | Old Amount | Decimal | Specifies the current Amount of the contract line. <small>via [Page 8025 "Contract Price Update"](../page/8025.md)</small> |  |
| 15 | New Amount | Decimal | Specifies the new Amount after the price update. <small>via [Page 8025 "Contract Price Update"](../page/8025.md)</small> |  |
| 16 | Old Calculation Base | Decimal | Specifies the current base amount from which the price will be calculated. <small>via [Page 8025 "Contract Price Update"](../page/8025.md)</small> |  |
| 17 | New Calculation Base | Decimal | Specifies the new base amount from which the price will be calculated. <small>via [Page 8025 "Contract Price Update"](../page/8025.md)</small> | not editable |
| 18 | Old Calculation Base % | Decimal | Specifies the old percent at which the price of the Subscription Line will be calculated. 100% means that the price corresponds to the Base Price. <small>via [Page 8025 "Contract Price Update"](../page/8025.md)</small> |  |
| 19 | New Calculation Base % | Decimal | Specifies the old percent at which the price of the Subscription Line will be calculated. 100% means that the price corresponds to the Base Price. <small>via [Page 8025 "Contract Price Update"](../page/8025.md)</small> | not editable |
| 20 | Discount % | Decimal | Specifies the Discount % for the subscription line billing period. <small>via [Page 8025 "Contract Price Update"](../page/8025.md)</small> |  |
| 21 | Discount Amount | Decimal | Specifies the amount of the discount for the Subscription Line. <small>via [Page 8025 "Contract Price Update"](../page/8025.md)</small> |  |
| 22 | Quantity | Decimal | Specifies the quantity from the Subscription. <small>via [Page 8025 "Contract Price Update"](../page/8025.md)</small> |  |
| 23 | Next Price Update | Date | Specifies the date for the next possible price update. <small>via [Page 8025 "Contract Price Update"](../page/8025.md)</small> |  |
| 24 | Perform Update On | Date | Specifies the date, the price update will take affect. <small>via [Page 8025 "Contract Price Update"](../page/8025.md)</small> |  |
| 25 | Currency Code | Code[10] | — |  |
| 100 | Indent | Integer | — |  |
| 101 | Price Update Template Code | Code[20] | — | TableRelation [Table 8003 "Price Update Template"](../table/8003.md) (Price Update Template) |

## Keys

- PK: Entry No. (clustered)
- SK1: Partner, Subscription Contract No.

## Procedures

- `InitNewLine()` (internal)
- `UpdateFromServiceCommitment(ServiceCommitment: Record "Subscription Line")` (internal)
- `UpdateFromContract(ServicePartner: Enum "Service Partner"; ContractNo: Code[20])` (internal)
- `PriceUpdateLineExists(ServiceCommitment: Record "Subscription Line"): Boolean` (internal)
- `FilterOnServiceCommitment(ServiceCommitmentEntryNo: Integer)` (internal)
- `CalculateNewPrice()` (internal)
- `CalculateNewCalculationBaseAmount()` (internal)
- `ShouldContractPriceUpdateLineBeInserted(): Boolean` (internal)
- `ShowContractPriceUpdateLineNotInsertedNotification()` (internal)
- `UpdatePerformUpdateOn(ServiceCommitment: Record "Subscription Line"; PerformUpdateOnDate: Date)` (internal)

## Relations

- Price Update Template Code: TableRelation [Table 8003 "Price Update Template"](../table/8003.md)
- Subscription Header No.: TableRelation [Table 8057 "Subscription Header"](../table/8057.md)

## Pages and codeunits on this table

- [Page 8025 "Contract Price Update"](../page/8025.md) (source table)
- [Codeunit 8013 "Process Price Update"](../codeunit/8013.md) (codeunit runs on it)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "Sub. Contr. Price Update Line")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
