---
id: object/page/7011
type: object
title: Page 7011 "Purchase Price List Lines"
summary: Page 7011 "Purchase Price List Lines" in Base Application (Microsoft.Purchases.Pricing). 6 public procedures, 2 events. Present since at least BC23, still in BC30, changed in BC24, BC27.
tier: official
language: en
tags:
  - page
  - base application
versions:
  introduced: null
  last_changed: "27"
  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: 44442900c690badc30ad8476ca1525604cc8068180b9c70341c4ef7f782b5e54
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Purchases/Pricing/PurchasePriceListLines.Page.al
    title: src/Layers/W1/BaseApp/Purchases/Pricing/PurchasePriceListLines.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/across-prices-and-discounts
    title: Set up prices and discounts
    date: null
    commit: null
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/across-prices-and-discounts
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/set-up-business-central/set-up-purchase
    - topic/business-central/business-functionality/set-up-business-central/set-up-sales
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 7011
name: Purchase Price List Lines
caption: Lines
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"
  - "27"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids:
  - docs/learn-smb-docs/business-central/across-prices-and-discounts.md
counts:
  fields: 0
  procedures: 14
  events: 2
  subscribers: 0
  controls: 27
  actions: 1
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 2
  called_by: 0
  implements: 0
---

# Page 7011 "Purchase Price List Lines"

> Page 7011 "Purchase Price List Lines" in Base Application (Microsoft.Purchases.Pricing). 6 public procedures, 2 events. Present since at least BC23, still in BC30, changed in BC24, BC27.

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

## Properties

| Property | Value |
|---|---|
| Caption | Lines |
| SourceTable | Price List Line |
| PageType | ListPart |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| Control1 | Assign-to Type | `SourceType` | Specifies the type of entity to which the price list is assigned. The options are relevant to the entity you are currently viewing. |
|  | Assign-to Type | `JobSourceType` | Specifies the type of entity to which the price list is assigned. The options are relevant to the entity you are currently viewing. |
|  | Assign-to Project No. | [Parent Source No.](../table/7001.md#fields) | Specifies the project to which the prices are assigned. If you choose an entity, the price list will be used only for that entity. |
|  | Assign-to Project No. | [Assign-to Parent No.](../table/7001.md#fields) | Specifies the project to which the prices are assigned. If you choose an entity, the price list will be used only for that entity. |
|  | SourceNo | [Source No.](../table/7001.md#fields) | Specifies the entity to which the prices are assigned. The options depend on the selection in the Assign-to Type field. If you choose an entity, the price list will be used only for that entity. |
|  | AssignToNo | [Assign-to No.](../table/7001.md#fields) | Specifies the entity to which the prices are assigned. The options depend on the selection in the Assign-to Type field. If you choose an entity, the price list will be used only for that entity. |
|  | CurrencyCode | [Currency Code](../table/7001.md#fields) | Specifies the currency that is used for the prices on the price list. The currency can be the same for all prices on the price list, or you can specify a currency for individual lines. |
|  | StartingDate | [Starting Date](../table/7001.md#fields) | Specifies the date from which the price is valid. |
|  | EndingDate | [Ending Date](../table/7001.md#fields) | Specifies the last date that the price is valid. |
|  | Asset Type | [Asset Type](../table/7001.md#fields) | Specifies the type of the product. |
|  | Asset No. | [Asset No.](../table/7001.md#fields) | Specifies the identifier of the product. If no product is selected, the price and discount values will apply to all products of the selected product type for which those values are not specified. For example, if you choose Item as the product type but do not specify a specific item, the price will a... |
|  | Product No. | [Product No.](../table/7001.md#fields) | Specifies the identifier of the product. If no product is selected, the price and discount values will apply to all products of the selected product type for which those values are not specified. For example, if you choose Item as the product type but do not specify a specific item, the price will a... |
|  | Description | [Description](../table/7001.md#fields) | Specifies the description of the product. |
|  | Variant Code | [Variant Code](../table/7001.md#fields) | Specifies the item variant. |
|  | Variant Code Lookup | [Variant Code Lookup](../table/7001.md#fields) | Specifies the item variant. |
|  | Work Type Code | [Work Type Code](../table/7001.md#fields) | Specifies the work type code for the resource. |
|  | Unit of Measure Code | [Unit of Measure Code](../table/7001.md#fields) | Specifies the unit of measure for the product. |
|  | Unit of Measure Code Lookup | [Unit of Measure Code Lookup](../table/7001.md#fields) | Specifies the unit of measure for the product. |
|  | Minimum Quantity | [Minimum Quantity](../table/7001.md#fields) | Specifies the minimum quantity of the product. |
|  | Amount Type | [Amount Type](../table/7001.md#fields) | Specifies whether the price list line defines prices, discounts, or both. |
|  | Direct Unit Cost | [Direct Unit Cost](../table/7001.md#fields) | Specifies the direct unit cost of the product. |
|  | Unit Cost | [Unit Cost](../table/7001.md#fields) | Specifies the unit cost of the resource. |
|  | Allow Line Disc. | [Allow Line Disc.](../table/7001.md#fields) | Specifies if a line discount will be calculated when the price is offered. |
|  | Line Discount % | [Line Discount %](../table/7001.md#fields) | Specifies the line discount percentage for the product. |
|  | Allow Invoice Disc. | [Allow Invoice Disc.](../table/7001.md#fields) | Specifies if an invoice discount will be calculated when the price is offered. |
|  | PriceIncludesVAT | [Price Includes VAT](../table/7001.md#fields) | Specifies if prices include VAT. <small>from the table field</small> |
|  | VATBusPostingGrPrice | [VAT Bus. Posting Gr. (Price)](../table/7001.md#fields) | Specifies the default VAT business posting group code. |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Processing | Edit in Excel | Send the data in the worksheet to an Excel file for analysis or editing. |  |

## Events published

- `OnAfterUpdateColumnVisibility(PriceListHeader: Record "Price List Header"; var SourceTypeVisible: Boolean; var JobSourceTypeVisible: Boolean)` (integration)
- `OnUpdateSourceTypeOnCaseElse(PriceListHeader: Record "Price List Header"; var SourceType: Enum "Purchase Price Source Type"; var IsJobGroup: Boolean)` (integration)

## Procedures

- `SetEditable()` (protected)
- `SetHeader(NewPriceListHeader: Record "Price List Header")`
- `SetPriceType(NewPriceType: Enum "Price Type")`
- `SetSubFormLinkFilter(NewViewAmountType: Enum "Price Amount Type")`
- `SetSourceNoEnabled()` (protected)
- `ValidateSourceType(SourceType: Integer)` (protected)

Plus 6 local procedures.

## Triggers

OnOpenPage, OnAfterGetRecord, OnAfterGetCurrRecord, OnNewRecord

## Relations

- source table [Table 7001 "Price List Line"](../table/7001.md)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 4030 "Client Type Management"](../codeunit/4030.md) (1 call: `SetFieldEditableForClientTypeOdata → GetCurrentClientType`)
- [Codeunit 6723 "Server Setting"](../codeunit/6723.md) (1 call: `OnOpenPage → GetIsSaasExcelAddinEnabled`)

## Across versions

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

## Documented on Microsoft Learn

- [Set up prices and discounts](https://learn.microsoft.com/dynamics365/business-central/across-prices-and-discounts)

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). The call sections above are our own, per object, from the BC29 call graph. 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: "page", object_name: "Purchase Price List Lines")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
