---
id: object/page/5168
type: object
title: Page 5168 "Purchase Order Archive Subform"
summary: Page 5168 "Purchase Order Archive Subform" in Base Application (Microsoft.Purchases.Archive). 1 public procedures. Present since at least BC23, still in BC30.
tier: official
language: en
tags:
  - page
  - base application
versions:
  introduced: null
  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: 5c586d7ac6d1cd2476e7604b428c30e0b16ca36148bbf80d7affd25a1bf0832b
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Purchases/Archive/PurchaseOrderArchiveSubform.Page.al
    title: src/Layers/W1/BaseApp/Purchases/Archive/PurchaseOrderArchiveSubform.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/8959
object_type: page
object_id: 5168
name: Purchase Order Archive Subform
caption: Lines
namespace: Microsoft.Purchases.Archive
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 2
  events: 0
  subscribers: 0
  controls: 74
  actions: 4
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 1
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Page 5168 "Purchase Order Archive Subform"

> Page 5168 "Purchase Order Archive Subform" in Base Application (Microsoft.Purchases.Archive). 1 public procedures. Present since at least BC23, still in BC30.

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

## Properties

| Property | Value |
|---|---|
| Caption | Lines |
| SourceTable | Purchase Line Archive |
| 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 | Type | [Type](../table/5110.md#fields) | Specifies the line type. <small>from the table field</small> |
|  | No. | [No.](../table/5110.md#fields) | Specifies the number of the involved entry or record, according to the specified number series. <small>from the table field</small> |
|  | Item Reference No. | [Item Reference No.](../table/5110.md#fields) | Specifies the referenced item number. <small>from the table field</small> |
|  | Variant Code | [Variant Code](../table/5110.md#fields) | Specifies the variant of the item on the line. <small>from the table field</small> |
|  | Nonstock | [Nonstock](../table/5110.md#fields) | Specifies that this item is a catalog item. <small>from the table field</small> |
|  | Gen. Bus. Posting Group | [Gen. Bus. Posting Group](../table/5110.md#fields) | Specifies the vendor's or customer's trade type to link transactions made for this business partner with the appropriate general ledger account according to the general posting setup. <small>from the table field</small> |
|  | Gen. Prod. Posting Group | [Gen. Prod. Posting Group](../table/5110.md#fields) | Specifies the item's product type to link transactions made for this item with the appropriate general ledger account according to the general posting setup. <small>from the table field</small> |
|  | VAT Bus. Posting Group | [VAT Bus. Posting Group](../table/5110.md#fields) | Specifies the VAT specification of the involved customer or vendor to link transactions made for this record with the appropriate general ledger account according to the VAT posting setup. <small>from the table field</small> |
|  | VAT Prod. Posting Group | [VAT Prod. Posting Group](../table/5110.md#fields) | Specifies the VAT specification of the involved item or resource to link transactions made for this record with the appropriate general ledger account according to the VAT posting setup. <small>from the table field</small> |
|  | Description | [Description](../table/5110.md#fields) | Specifies a description of the purchase order archive. |
|  | Description 2 | [Description 2](../table/5110.md#fields) | Specifies information in addition to the description. <small>from the table field</small> |
|  | Drop Shipment | [Drop Shipment](../table/5110.md#fields) | Specifies if your vendor ships the items directly to your customer. <small>from the table field</small> |
|  | Return Reason Code | [Return Reason Code](../table/5110.md#fields) | Specifies the code explaining why the item was returned. <small>from the table field</small> |
|  | Location Code | [Location Code](../table/5110.md#fields) | Specifies a code for the location where you want the items to be placed when they are received. <small>from the table field</small> |
|  | Quantity | [Quantity](../table/5110.md#fields) | Specifies the number of units of the item specified on the line. |
|  | Unit of Measure Code | [Unit of Measure Code](../table/5110.md#fields) | 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. <small>from the table field</small> |
|  | Unit of Measure | [Unit of Measure](../table/5110.md#fields) | Specifies the name of the item or resource's unit of measure, such as piece or hour. <small>from the table field</small> |
|  | Direct Unit Cost | [Direct Unit Cost](../table/5110.md#fields) | Specifies the cost of one unit of the selected item or resource. <small>from the table field</small> |
|  | Indirect Cost % | [Indirect Cost %](../table/5110.md#fields) | Specifies the percentage of the item's last purchase cost that includes indirect costs, such as freight that is associated with the purchase of the item. <small>from the table field</small> |
|  | Unit Cost (LCY) | [Unit Cost (LCY)](../table/5110.md#fields) | Specifies the cost, in LCY, of one unit of the item or resource on the line. |
|  | Unit Price (LCY) | [Unit Price (LCY)](../table/5110.md#fields) | Specifies the price, in LCY, of one unit of the item or resource. You can enter a price manually or have it entered according to the Price/Profit Calculation field on the related card. |
|  | Tax Liable | [Tax Liable](../table/5110.md#fields) | Specifies if this vendor charges you sales tax for purchases. <small>from the table field</small> |
|  | Tax Area Code | [Tax Area Code](../table/5110.md#fields) | Specifies the tax area that is used to calculate and post sales tax. <small>from the table field</small> |
|  | Tax Group Code | [Tax Group Code](../table/5110.md#fields) | Specifies the tax group that is used to calculate and post sales tax. <small>from the table field</small> |
|  | Use Tax | [Use Tax](../table/5110.md#fields) | Specifies a U.S. sales tax that is paid on items purchased by a company that are used by the company, instead of being sold to a customer. <small>from the table field</small> |
|  | Line Amount | [Line Amount](../table/5110.md#fields) | Specifies the net amount, excluding any invoice discount amount, that must be paid for products on the line. <small>from the table field</small> |
|  | Line Discount % | [Line Discount %](../table/5110.md#fields) | Specifies the discount percentage that is granted for the item on the line. <small>from the table field</small> |
|  | Line Discount Amount | [Line Discount Amount](../table/5110.md#fields) | Specifies the discount amount that is granted for the item on the line. <small>from the table field</small> |
|  | Allow Invoice Disc. | [Allow Invoice Disc.](../table/5110.md#fields) | Specifies if the invoice line is included when the invoice discount is calculated. <small>from the table field</small> |
|  | Inv. Discount Amount | [Inv. Discount Amount](../table/5110.md#fields) | Specifies the total calculated invoice discount amount for the line. <small>from the table field</small> |
|  | Qty. to Receive | [Qty. to Receive](../table/5110.md#fields) | Specifies the quantity of items that remains to be received. <small>from the table field</small> |
|  | Quantity Received | [Quantity Received](../table/5110.md#fields) | Specifies how many units of the item on the line have been posted as received. <small>from the table field</small> |
|  | Qty. to Invoice | [Qty. to Invoice](../table/5110.md#fields) | Specifies the quantity that remains to be invoiced. It is calculated as Quantity - Qty. Invoiced. <small>from the table field</small> |
|  | Quantity Invoiced | [Quantity Invoiced](../table/5110.md#fields) | Specifies how many units of the item on the line have been posted as invoiced. <small>from the table field</small> |
|  | Allow Item Charge Assignment | [Allow Item Charge Assignment](../table/5110.md#fields) | Specifies that you can assign item charges to this line. <small>from the table field</small> |
|  | Requested Receipt Date | [Requested Receipt Date](../table/5110.md#fields) | Specifies the date you want the vendor to deliver your order. |
|  | Promised Receipt Date | [Promised Receipt Date](../table/5110.md#fields) | Specifies the date that the vendor has promised to deliver the order. <small>from the table field</small> |
|  | Planned Receipt Date | [Planned Receipt Date](../table/5110.md#fields) | Specifies the date when the item is planned to arrive in inventory. Forward calculation: planned receipt date = order date + vendor lead time (per the vendor calendar and rounded to the next working day in first the vendor calendar and then the location calendar). If no vendor calendar exists, then:... <small>from the table field</small> |
|  | Expected Receipt Date | [Expected Receipt Date](../table/5110.md#fields) | Specifies the date on which the invoiced items were expected. |
|  | Order Date | [Order Date](../table/5110.md#fields) | Specifies the date when the order was created. <small>from the table field</small> |
|  | Lead Time Calculation | [Lead Time Calculation](../table/5110.md#fields) | Specifies a date formula for the amount of time it takes to replenish the item. <small>from the table field</small> |
|  | Job No. | [Job No.](../table/5110.md#fields) | Specifies the project number that the archived document was linked to. <small>from the table field</small> |
|  | Job Task No. | [Job Task No.](../table/5110.md#fields) | Specifies the number of the related project task. <small>from the table field</small> |
|  | Job Planning Line No. | [Job Planning Line No.](../table/5110.md#fields) | Specifies the project planning line number to which the usage should be linked when the Project Journal is posted. You can only link to Project Planning Lines that have the Apply Usage Link option enabled. <small>from the table field</small> |
|  | Job Line Type | [Job Line Type](../table/5110.md#fields) | Specifies the type of planning line that was created when the project ledger entry is posted from the purchase line. If the field is empty, no planning lines were created for this entry. <small>from the table field</small> |
|  | Job Unit Price | [Job Unit Price](../table/5110.md#fields) | Specifies the sales price per unit that applies to the item or general ledger expense that will be posted. <small>from the table field</small> |
|  | Job Line Amount | [Job Line Amount](../table/5110.md#fields) | Specifies the line amount of the project ledger entry that is related to the purchase line. <small>from the table field</small> |
|  | Job Line Discount Amount | [Job Line Discount Amount](../table/5110.md#fields) | Specifies the line discount amount of the project ledger entry that is related to the purchase line. <small>from the table field</small> |
|  | Job Line Discount % | [Job Line Discount %](../table/5110.md#fields) | Specifies the line discount percentage of the project ledger entry that is related to the purchase line. <small>from the table field</small> |
|  | Job Total Price | [Job Total Price](../table/5110.md#fields) | Specifies the gross amount of the line that the purchase line applies to. <small>from the table field</small> |
|  | Job Unit Price (LCY) | [Job Unit Price (LCY)](../table/5110.md#fields) | Specifies the sales price per unit that applies to the item or general ledger expense that will be posted. |
|  | Job Total Price (LCY) | [Job Total Price (LCY)](../table/5110.md#fields) | Specifies the gross amount of the line, in the local currency. |
|  | Job Line Amount (LCY) | [Job Line Amount (LCY)](../table/5110.md#fields) | Specifies the line amount of the project ledger entry that is related to the purchase line. |
|  | Job Line Disc. Amount (LCY) | [Job Line Disc. Amount (LCY)](../table/5110.md#fields) | Specifies the line discount amount of the project ledger entry that is related to the purchase line. |
|  | Planning Flexibility | [Planning Flexibility](../table/5110.md#fields) | Specifies whether the supply represented by this line is considered by the planning system when calculating action messages. <small>from the table field</small> |
|  | Inbound Whse. Handling Time | [Inbound Whse. Handling Time](../table/5110.md#fields) | Specifies the time it takes to make items part of available inventory, after the items have been posted as received. <small>from the table field</small> |
|  | Blanket Order No. | [Blanket Order No.](../table/5110.md#fields) | Specifies the number of the blanket order that the record originates from. <small>from the table field</small> |
|  | Blanket Order Line No. | [Blanket Order Line No.](../table/5110.md#fields) | Specifies the number of the blanket order line that the record originates from. <small>from the table field</small> |
|  | Appl.-to Item Entry | [Appl.-to Item Entry](../table/5110.md#fields) | Specifies the number of the item ledger entry that the document or journal line is applied to. <small>from the table field</small> |
|  | Deferral Code | [Deferral Code](../table/5110.md#fields) | Specifies the deferral template that governs how expenses paid with this purchase document are deferred to the different accounting periods when the expenses were incurred. <small>from the table field</small> |
|  | No. of Fixed Asset Cards | [No. of Fixed Asset Cards](../table/5110.md#fields) | Specifies the number of fixed assets that is being purchased. <small>from the table field</small> |
|  | Shortcut Dimension 1 Code | [Shortcut Dimension 1 Code](../table/5110.md#fields) | Specifies the code for Shortcut Dimension 1, which is one of two global dimension codes that you set up in the General Ledger Setup window. <small>from the table field</small> |
|  | Shortcut Dimension 2 Code | [Shortcut Dimension 2 Code](../table/5110.md#fields) | Specifies the code for Shortcut Dimension 2, which is one of two global dimension codes that you set up in the General Ledger Setup window. <small>from the table field</small> |
|  | ShortcutDimCode3 | `ShortcutDimCode[3]` | — |
|  | ShortcutDimCode4 | `ShortcutDimCode[4]` | — |
|  | ShortcutDimCode5 | `ShortcutDimCode[5]` | — |
|  | ShortcutDimCode6 | `ShortcutDimCode[6]` | — |
|  | ShortcutDimCode7 | `ShortcutDimCode[7]` | — |
|  | ShortcutDimCode8 | `ShortcutDimCode[8]` | — |
|  | Unit Gross Weight | [Gross Weight](../table/5110.md#fields) | Specifies the gross weight of one unit of the item. In the purchase statistics window, the gross weight on the line is included in the total gross weight of all the lines for the particular purchase document. <small>from the table field</small> |
|  | Unit Net Weight | [Net Weight](../table/5110.md#fields) | Specifies the net weight of one unit of the item. In the purchase statistics window, the net weight on the line is included in the total net weight of all the lines for the particular purchase document. <small>from the table field</small> |
|  | Unit Volume | [Unit Volume](../table/5110.md#fields) | Specifies the volume of one unit of the item. In the purchase statistics window, the volume of one unit of the item on the line is included in the total volume of all the lines for the particular purchase document. <small>from the table field</small> |
|  | Units per Parcel | [Units per Parcel](../table/5110.md#fields) | Specifies the number of units per parcel of the item. In the purchase statistics window, the number of units per parcel on the line helps to determine the total number of units for all the lines for the particular purchase document. <small>from the table field</small> |
|  | Spend Request No. | [Spend Request No.](../table/5110.md#fields) | Specifies the spend request that this purchase document relates to. <small>from the table field</small> |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Line | Dimensions | View or edit dimensions, such as area, project, or department, that you can assign to sales and purchase documents to distribute costs and analyze transaction history. |  |
|  | Comments | View or add comments for the record. |  |
|  | Document Line Tracking | View related open, posted, or archived documents or document lines. |  |
|  | Deferral Schedule | View the deferral schedule that governs how expenses paid with this purchase document were deferred to different accounting periods when the document was posted. |  |

## Procedures

- `ShowDocumentLineTracking()`

Plus 1 local procedures.

## Triggers

OnOpenPage, OnAfterGetRecord

## Relations

- source table [Table 5110 "Purchase Line Archive"](../table/5110.md)

## Extended by

- [Page extension 99000763 "Mfg. PurchOrderArchiveSubf"](../pageextension/99000763.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 408 "DimensionManagement"](../codeunit/408.md) (2 calls: `OnAfterGetRecord → GetShortcutDimensions`, `SetDimensionsVisibility → UseShortcutDims`)

## Recent changes

- 2026-07-31 [#8959 Deliverable 638799: Spend Requests in Base App](../../changes/bcapps/8959.md) (main, BC30, feature)

## Across versions

- Present in: BC23-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). 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 Order Archive Subform")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
