---
id: object/tableextension/8065
type: object
title: Table extension 8065 "Purchase Line"
summary: Table extension 8065 "Purchase Line" in Subscription Billing (Microsoft.SubscriptionBilling), extends "Purchase Line". 4 fields, 6 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - tableextension
  - 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: 850f055165faaad33c89e0f372e88539895b640b63b0bb916e8781fe63348cde
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Subscription%20Billing/app/Sales%20Service%20Commitments/Table%20Extensions/PurchaseLine.TableExt.al
    title: src/Apps/W1/Subscription Billing/app/Sales Service Commitments/Table Extensions/PurchaseLine.TableExt.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/table/39
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9217
object_type: tableextension
object_id: 8065
name: Purchase Line
namespace: Microsoft.SubscriptionBilling
app: Subscription Billing
extends: Purchase Line
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 4
  procedures: 6
  events: 0
  subscribers: 0
relations:
  out: 2
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table extension 8065 "Purchase Line"

> Table extension 8065 "Purchase Line" in Subscription Billing (Microsoft.SubscriptionBilling), extends "Purchase Line". 4 fields, 6 public procedures. Introduced in BC29, still in BC30.

Subscription Billing · Microsoft.SubscriptionBilling · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Subscription%20Billing/app/Sales%20Service%20Commitments/Table%20Extensions/PurchaseLine.TableExt.al) · facts from BC29

Extends [Purchase Line](../table/39.md).

## 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 |
|---|---|---|---|---|
| 8053 | Recurring Billing from | Date | — | DataClassification CustomerContent |
| 8054 | Recurring Billing to | Date | — | DataClassification CustomerContent |
| 8055 | Discount | Boolean | — | not editable; DataClassification CustomerContent |
| 8056 | Attached to Sub. Contract line | Boolean | Specifies that the invoice line is linked to a contract line. <small>via [Page extension 8071 "Purch Invoice Subform"](../pageextension/8071.md)</small> | FlowField: exist("Billing Line" where("Document Type" = filter(Invoice), "Document No." = field("Document No."), "Document Line No." = field("Line No."))); not editable |

## Procedures

- `GetCombinedDimensionSetID(DimSetID1: Integer; DimSetID2: Integer)` (internal)
- `GetPurchaseDocumentSign(): Integer` (internal)
- `IsLineAttachedToBillingLine(): Boolean`: Checks whether this purchase line is linked to a Subscription Billing Line.
- `CreateContractDeferrals(): Boolean` (internal)
- `IsContractLineAssignable(): Boolean` (internal)
- `AssignVendorContractLine()` (internal)

## Relations

- extends [Table 39 "Purchase Line"](../table/39.md)
- Attached to Sub. Contract line: CalcFormula [Table 8061 "Billing Line"](../table/8061.md)

## Recent changes

- 2026-09-25 [#9217 [Extensibility][SubscriptionBilling]: Make IsLineAttachedToBillingLine accessible from external apps in Sales Line and Purchase Line](../../changes/bcapps/9217.md) (main, BC30, feature)

## 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: "tableextension", object_name: "Purchase Line")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
