---
id: object/page/30067
type: object
title: Page 30067 "APIV2 - Purchase Order Lines"
summary: Page 30067 "APIV2 - Purchase Order Lines" in APIV2 (Microsoft.API.V2). Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - apiv2
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: 2e10fe04faec6d2c9e3ee11028aa0d6e6af06ec028554c86caf69678fc68e814
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/APIV2/app/src/pages/APIV2PurchaseOrderLines.Page.al
    title: src/Apps/W1/APIV2/app/src/pages/APIV2PurchaseOrderLines.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_purchaseorderline_create
    title: Create purchaseOrderLine
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_purchaseorderline_delete
    title: Delete purchaseOrderLine
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_purchaseorderline_get
    title: Get purchaseOrderLines
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_purchaseorderline_update
    title: Update purchaseOrderLine
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_purchaseorderline
    title: purchaseOrderLine resource type
    date: null
    commit: null
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_purchaseorderline_create
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_purchaseorderline_delete
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_purchaseorderline_get
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_purchaseorderline_update
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_purchaseorderline
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 30067
name: APIV2 - Purchase Order Lines
namespace: Microsoft.API.V2
app: APIV2
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids:
  - docs/learn-devitpro/dev-itpro/api-reference/v2.0/api/dynamics_purchaseorderline_create.md
  - docs/learn-devitpro/dev-itpro/api-reference/v2.0/api/dynamics_purchaseorderline_delete.md
  - docs/learn-devitpro/dev-itpro/api-reference/v2.0/api/dynamics_purchaseorderline_get.md
  - docs/learn-devitpro/dev-itpro/api-reference/v2.0/api/dynamics_purchaseorderline_update.md
  - docs/learn-devitpro/dev-itpro/api-reference/v2.0/resources/dynamics_purchaseorderline.md
counts:
  fields: 0
  procedures: 2
  events: 0
  subscribers: 0
  controls: 34
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 2
  called_by: 0
  implements: 0
---

# Page 30067 "APIV2 - Purchase Order Lines"

> Page 30067 "APIV2 - Purchase Order Lines" in APIV2 (Microsoft.API.V2). Introduced in BC29, still in BC30.

APIV2 · Microsoft.API.V2 · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/APIV2/app/src/pages/APIV2PurchaseOrderLines.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Extensible | false |
| SourceTable | Purch. Inv. Line Aggregate |
| PageType | API |

## 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 |
|---|---|---|---|
| Group | Id | `Rec.SystemId` | — |
|  | Document Id | [Document Id](../table/5478.md#fields) | — |
|  | Sequence | [Line No.](../table/5478.md#fields) | — |
|  | Item Id | [Item Id](../table/5478.md#fields) | — |
|  | Account Id | [Account Id](../table/5478.md#fields) | — |
|  | Line Type | [API Type](../table/5478.md#fields) | — |
|  | Line Object No. | [No.](../table/5478.md#fields) | — |
|  | Description | [Description](../table/5478.md#fields) | — |
|  | Description 2 | [Description 2](../table/5478.md#fields) | — |
|  | Unit Of Measure Id | [Unit of Measure Id](../table/5478.md#fields) | — |
|  | Unit Of Measure Code | [Unit of Measure Code](../table/5478.md#fields) | — |
|  | Quantity | [Quantity](../table/5478.md#fields) | — |
|  | Direct Unit Cost | [Direct Unit Cost](../table/5478.md#fields) | — |
|  | Discount Amount | [Line Discount Amount](../table/5478.md#fields) | — |
|  | Discount Percent | [Line Discount %](../table/5478.md#fields) | — |
|  | Discount Applied Before Tax | [Discount Applied Before Tax](../table/5478.md#fields) | — |
|  | Amount Excluding Tax | [Line Amount Excluding Tax](../table/5478.md#fields) | — |
|  | Tax Code | [Tax Code](../table/5478.md#fields) | — |
|  | Tax Percent | [VAT %](../table/5478.md#fields) | — |
|  | Total Tax Amount | [Line Tax Amount](../table/5478.md#fields) | — |
|  | Amount Including Tax | [Line Amount Including Tax](../table/5478.md#fields) | — |
|  | Invoice Discount Allocation | [Inv. Discount Amount Excl. VAT](../table/5478.md#fields) | — |
|  | Net Amount | [Amount](../table/5478.md#fields) | — |
|  | Net Tax Amount | [Tax Amount](../table/5478.md#fields) | — |
|  | Net Amount Including Tax | [Amount Including VAT](../table/5478.md#fields) | — |
|  | Expected Receipt Date | [Expected Receipt Date](../table/5478.md#fields) | — |
|  | Received Quantity | [Quantity Received](../table/5478.md#fields) | — |
|  | Invoiced Quantity | [Quantity Invoiced](../table/5478.md#fields) | — |
|  | Invoice Quantity | [Qty. to Invoice](../table/5478.md#fields) | — |
|  | Ship Quantity | [Qty. to Receive](../table/5478.md#fields) | — |
|  | Item Variant Id | [Variant Id](../table/5478.md#fields) | — |
|  | Location Id | [Location Id](../table/5478.md#fields) | — |
|  | Dimension Set Lines | part [Page 30022 "APIV2 - Dimension Set Lines"](../page/30022.md) | — |
|  | Location | part [Page 30076 "APIV2 - Locations"](../page/30076.md) | — |

## Procedures

2 local procedures, no public ones.

## Triggers

OnDeleteRecord, OnFindRecord, OnInsertRecord, OnModifyRecord, OnNewRecord

## Relations

- source table [Table 5478 "Purch. Inv. Line Aggregate"](../table/5478.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 5497 "Graph Mgt - Purch Order Buffer"](../codeunit/5497.md) (4 calls: `OnDeleteRecord → PropagateDeleteLine`, `OnFindRecord → LoadLines`, `OnInsertRecord → PropagateInsertLine`, …)
- [Codeunit 5528 "Graph Mgt - Purch. Inv. Lines"](../codeunit/5528.md) (1 call: `OnFindRecord → GetPurchaseOrderDocumentIdFilterFromSystemId`)

## Across versions

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

## Documented on Microsoft Learn

- [Create purchaseOrderLine](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_purchaseorderline_create)
- [Delete purchaseOrderLine](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_purchaseorderline_delete)
- [Get purchaseOrderLines](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_purchaseorderline_get)
- [Update purchaseOrderLine](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_purchaseorderline_update)
- [purchaseOrderLine resource type](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_purchaseorderline)

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: "APIV2 - Purchase Order Lines")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
