---
id: object/table/1315
type: object
title: Table 1315 "Purch. Price Line Disc. Buff."
summary: Table 1315 "Purch. Price Line Disc. Buff." in Base Application (Microsoft.Purchases.Pricing). 11 fields, 2 public procedures. Present since at least BC23, still in BC30, changed in BC24-26, BC28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  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: ff0851b0540b3baee9cc536ff1866283763fd4021b30029274349cbf1e9035df
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Purchases/Pricing/PurchPriceLineDiscBuff.Table.al
    title: src/Layers/W1/BaseApp/Purchases/Pricing/PurchPriceLineDiscBuff.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/purchasing-how-record-purchase-price-discount-payment-agreements
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/set-up-business-central/set-up-purchase
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 1315
name: Purch. Price Line Disc. Buff.
namespace: Microsoft.Purchases.Pricing
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "25"
  - "26"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 11
  procedures: 4
  events: 0
  subscribers: 0
relations:
  out: 3
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 1315 "Purch. Price Line Disc. Buff."

> Table 1315 "Purch. Price Line Disc. Buff." in Base Application (Microsoft.Purchases.Pricing). 11 fields, 2 public procedures. Present since at least BC23, still in BC30, changed in BC24-26, BC28.

Base Application · Microsoft.Purchases.Pricing · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Purchases/Pricing/PurchPriceLineDiscBuff.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 1346 "Purchases Price and Line Disc."](../page/1346.md) (1 Learn page).

## Properties

| Property | Value |
|---|---|
| Caption | Purch. Price Line Disc. Buff. |
| 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 |
|---|---|---|---|---|
| 3 | Currency Code | Code[10] | Specifies the currency that must be used on the purchase document line to warrant the purchase price or discount. | TableRelation [Table 4 "Currency"](../table/4.md); DataClassification SystemMetadata |
| 4 | Starting Date | Date | Specifies the date from which the purchase line discount is valid. | DataClassification SystemMetadata |
| 5 | Line Discount % | Decimal | Specifies the discount percentage that is granted for the item on the line. | DataClassification SystemMetadata |
| 6 | Direct Unit Cost | Decimal | Specifies the unit price that is granted on purchase documents if certain criteria are met, such as purchase code, currency code, and date. | DataClassification SystemMetadata |
| 14 | Minimum Quantity | Decimal | Specifies the quantity that must be entered on the purchase document to warrant the purchase price or discount. | DataClassification SystemMetadata |
| 15 | Ending Date | Date | Specifies the date to which the purchase line discount is valid. | DataClassification SystemMetadata |
| 1300 | Line Type | Option | Specifies if the line is for a purchase price or a purchase line discount. | OptionCaption: ,Purchase Line Discount,Purchase Price; DataClassification SystemMetadata |
| 1301 | Item No. | Code[20] | — | not editable; DataClassification SystemMetadata |
| 1303 | Vendor No. | Code[20] | Specifies the number of the vendor who offers the line discount on the item. | not editable; DataClassification SystemMetadata |
| 5400 | Unit of Measure Code | Code[20] | Specifies how each unit of the item or resource is measured, such as in pieces or hours. By default, the value in the Base Unit of Measure field on the item or resource card is inserted. | TableRelation [Table 5404 "Item Unit of Measure"](../table/5404.md) (Item Unit of Measure); DataClassification SystemMetadata |
| 5700 | Variant Code | Code[20] | Specifies the variant that must be used on the purchase document line to warrant the purchase price or discount. | TableRelation [Table 5401 "Item Variant"](../table/5401.md) (Item Variant); DataClassification SystemMetadata |

## Keys

- Key1: Line Type, Starting Date, Currency Code, Variant Code, Unit of Measure Code, Minimum Quantity, Item No., Vendor No. (clustered)

## Procedures

- `LoadDataForItem(Item: Record Item)`
- `ItemHasLines(Item: Record Item): Boolean`

Plus 2 local procedures.

## Relations

- Currency Code: TableRelation [Table 4 "Currency"](../table/4.md)
- Variant Code: TableRelation [Table 5401 "Item Variant"](../table/5401.md)
- Unit of Measure Code: TableRelation [Table 5404 "Item Unit of Measure"](../table/5404.md)

## Pages and codeunits on this table

- [Page 1346 "Purchases Price and Line Disc."](../page/1346.md) (source table)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-26, BC28

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: "Purch. Price Line Disc. Buff.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
