---
id: object/table/5880
type: object
title: Table 5880 "Pstd. Phys. Invt. Order Line"
summary: Table 5880 "Pstd. Phys. Invt. Order Line" in Base Application (Microsoft.Inventory.Counting.History). 38 fields, 5 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC27-28.
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: d6ee8425ba4b0a6710cdb8bba5a312d5727a4de2ac5b52cb9ddef5d727cb86e4
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Counting/History/PstdPhysInvtOrderLine.Table.al
    title: src/Layers/W1/BaseApp/Inventory/Counting/History/PstdPhysInvtOrderLine.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 5880
name: Pstd. Phys. Invt. Order Line
namespace: Microsoft.Inventory.Counting.History
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"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 38
  procedures: 5
  events: 0
  subscribers: 0
relations:
  out: 16
  referenced_by: 2
  pages: 3
  extended_by: 0
  event_subscribers: 0
  calls: 2
  called_by: 0
  implements: 0
---

# Table 5880 "Pstd. Phys. Invt. Order Line"

> Table 5880 "Pstd. Phys. Invt. Order Line" in Base Application (Microsoft.Inventory.Counting.History). 38 fields, 5 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC27-28.

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

## Properties

| Property | Value |
|---|---|
| Caption | Pstd. Phys. Invt. Order Line |
| 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 |
|---|---|---|---|---|
| 1 | Document No. | Code[20] | Specifies the physical inventory order that the line exists on. | TableRelation [Table 5879 "Pstd. Phys. Invt. Order Hdr"](../table/5879.md) (Pstd. Phys. Invt. Order Hdr) |
| 2 | Line No. | Integer | Specifies the line on the physical inventory order line. |  |
| 12 | On Recording Lines | Boolean | — | not editable |
| 20 | Item No. | Code[20] | Specifies the item on the physical inventory order line. | TableRelation [Table 27 "Item"](../table/27.md) |
| 21 | Variant Code | Code[10] | Specifies the variant of the item on the physical inventory order line. | TableRelation [Table 5401 "Item Variant"](../table/5401.md) ("Item Variant".Code where("Item No." = field("Item No."))) |
| 22 | Location Code | Code[10] | Specifies the location of the item on the physical inventory order line. | TableRelation [Table 14 "Location"](../table/14.md) |
| 23 | Bin Code | Code[20] | Specifies the Bin Code of the table physical inventory order line. | TableRelation [Table 7354 "Bin"](../table/7354.md) (Bin.Code where("Location Code" = field("Location Code"))) |
| 30 | Description | Text[100] | Specifies the description of the item on the physical inventory order line. |  |
| 31 | Description 2 | Text[50] | Specifies an additional part of the description of the item on the physical inventory order line. |  |
| 32 | Unit of Measure | Text[50] | Specifies the unit of measure, such as bottle or piece, that is used for the item on the physical inventory order line. |  |
| 40 | Base Unit of Measure Code | Code[10] | Specifies the base unit of measure that is set up for the item on the physical inventory order line. | TableRelation [Table 204 "Unit of Measure"](../table/204.md) (Unit of Measure); not editable |
| 50 | Qty. Expected (Base) | Decimal | Specifies the expected inventory quantity in the base unit of measure on the physical inventory order line. <small>via [Page 5886 "Posted Phys. Invt. Order Lines"](../page/5886.md)</small> | not editable |
| 51 | Qty. Exp. Calculated | Boolean | — | not editable |
| 53 | Use Item Tracking | Boolean | Specifies that the counting of the item is done by counting its serial, lot and package numbers. |  |
| 54 | Qty. Exp. Tracking (Base) | Decimal | Specifies the item's current expected inventory of serial, lot and package numbers in the base unit of measure. <small>via [Page 5885 "Posted Phys. Invt. Order Subf."](../page/5885.md)</small> | FlowField: sum("Pstd.Exp.Invt.Order.Tracking"."Quantity (Base)" where("Order No" = field("Document No."), "Order Line No." = field("Line No."))); not editable |
| 55 | Last Item Ledger Entry No. | Integer | — | TableRelation [Table 32 "Item Ledger Entry"](../table/32.md) (Item Ledger Entry); not editable |
| 60 | Unit Amount | Decimal | Specifies the sum of unit costs of the item quantity on the line. |  |
| 62 | Unit Cost | Decimal | Specifies the cost of one unit of the item on the line. |  |
| 70 | No. Finished Rec.-Lines | Integer | Specifies how many of the related physical inventory recordings are closed. | not editable |
| 71 | Qty. Recorded (Base) | Decimal | Specifies the Qty. Recorded (Base) of the physical inventory order line. <small>via [Page 5886 "Posted Phys. Invt. Order Lines"](../page/5886.md)</small> | not editable |
| 72 | Quantity (Base) | Decimal | Specifies the quantity in the base unit of measure on the physical inventory order line. <small>via [Page 5886 "Posted Phys. Invt. Order Lines"](../page/5886.md)</small> | not editable |
| 73 | Entry Type | Option | Specifies the Entry Type of the physical inventory order line. | OptionCaption: ,Positive Adjmt.,Negative Adjmt.; not editable |
| 74 | Pos. Qty. (Base) | Decimal | Specifies the positive difference between the Qty. Expected (Base) and the Qty. Recorded (Base) fields. <small>via [Page 5885 "Posted Phys. Invt. Order Subf."](../page/5885.md)</small> | not editable |
| 75 | Neg. Qty. (Base) | Decimal | Specifies the negative difference between the Qty. Expected (Base) and the Qty. Recorded (Base) fields. <small>via [Page 5885 "Posted Phys. Invt. Order Subf."](../page/5885.md)</small> | not editable |
| 76 | Without Difference | Boolean | — | not editable |
| 80 | Recorded Without Order | Boolean | Specifies that no physical inventory order lines existed for the recorded item, and that the line was generated based on the related recording. | not editable |
| 90 | Shortcut Dimension 1 Code | Code[20] | 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. |  |
| 91 | Shortcut Dimension 2 Code | Code[20] | 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. |  |
| 100 | Shelf No. | Code[10] | Specifies the shelf number where the item is placed. |  |
| 110 | Gen. Bus. Posting Group | Code[20] | — | TableRelation [Table 250 "Gen. Business Posting Group"](../table/250.md) (Gen. Business Posting Group) |
| 111 | Gen. Prod. Posting Group | Code[20] | — | TableRelation [Table 251 "Gen. Product Posting Group"](../table/251.md) (Gen. Product Posting Group) |
| 112 | Inventory Posting Group | Code[20] | — | TableRelation [Table 94 "Inventory Posting Group"](../table/94.md) (Inventory Posting Group) |
| 130 | Intern Item Track. Pos. Qut. | Integer | — | not editable |
| 131 | Intern Item Track. Neg. Qut. | Integer | — |  |
| 480 | Dimension Set ID | Integer | — | TableRelation [Table 480 "Dimension Set Entry"](../table/480.md) (Dimension Set Entry); not editable |
| 5704 | Item Category Code | Code[20] | — | TableRelation [Table 5722 "Item Category"](../table/5722.md) (Item Category) |
| 7380 | Phys Invt Counting Period Code | Code[10] | — | TableRelation [Table 7381 "Phys. Invt. Counting Period"](../table/7381.md) (Phys. Invt. Counting Period); not editable |
| 7381 | Phys Invt Counting Period Type | Option | — | OptionCaption: ,Item,SKU; not editable |

## Keys

- Key1: Document No., Line No. (clustered)
- Key2: Document No., Entry Type, Without Difference

## Procedures

- `EmptyLine(): Boolean`
- `ShowDimensions()`
- `ShowPostPhysInvtRecordingLines()`
- `ShowPostedItemTrackingLines()`
- `ShowPostExpPhysInvtTrackLines()`

## Triggers

OnDelete

## Relations

- drill-down page [Page 5886 "Posted Phys. Invt. Order Lines"](../page/5886.md)
- lookup page [Page 5886 "Posted Phys. Invt. Order Lines"](../page/5886.md)
- Location Code: TableRelation [Table 14 "Location"](../table/14.md)
- Base Unit of Measure Code: TableRelation [Table 204 "Unit of Measure"](../table/204.md)
- Gen. Bus. Posting Group: TableRelation [Table 250 "Gen. Business Posting Group"](../table/250.md)
- Gen. Prod. Posting Group: TableRelation [Table 251 "Gen. Product Posting Group"](../table/251.md)
- Item No.: TableRelation [Table 27 "Item"](../table/27.md)
- Last Item Ledger Entry No.: TableRelation [Table 32 "Item Ledger Entry"](../table/32.md)
- Dimension Set ID: TableRelation [Table 480 "Dimension Set Entry"](../table/480.md)
- Variant Code: TableRelation [Table 5401 "Item Variant"](../table/5401.md)
- Item Category Code: TableRelation [Table 5722 "Item Category"](../table/5722.md)
- Document No.: TableRelation [Table 5879 "Pstd. Phys. Invt. Order Hdr"](../table/5879.md)
- Qty. Exp. Tracking (Base): CalcFormula [Table 6027 "Pstd.Exp.Invt.Order.Tracking"](../table/6027.md)
- Bin Code: TableRelation [Table 7354 "Bin"](../table/7354.md)
- Phys Invt Counting Period Code: TableRelation [Table 7381 "Phys. Invt. Counting Period"](../table/7381.md)
- Inventory Posting Group: TableRelation [Table 94 "Inventory Posting Group"](../table/94.md)

## Referenced by

2 fields in 2 objects relate to this table (TableRelation or CalcFormula).

- [Table 5887 "Pstd. Exp. Phys. Invt. Track"](../table/5887.md): Order Line No.
- [Table 6027 "Pstd.Exp.Invt.Order.Tracking"](../table/6027.md): Order Line No.

## Pages and codeunits on this table

- [Page 30235 "APIV2 - P. Phys. Inv. O. Lines"](../page/30235.md) (source table)
- [Page 5885 "Posted Phys. Invt. Order Subf."](../page/5885.md) (source table)
- [Page 5886 "Posted Phys. Invt. Order Lines"](../page/5886.md) (source table)

## 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) (1 call: `ShowDimensions → ShowDimensionSet`)
- [Codeunit 6503 "Item Tracking Doc. Management"](../codeunit/6503.md) (1 call: `ShowPostedItemTrackingLines → ShowItemTrackingForShptRcptLine`)

## Across versions

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

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: "table", object_name: "Pstd. Phys. Invt. Order Line")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
