---
id: object/table/5876
type: object
title: Table 5876 "Phys. Invt. Order Line"
summary: Table 5876 "Phys. Invt. Order Line" in Base Application (Microsoft.Inventory.Counting.Document). 40 fields, 31 public procedures, 37 events. 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: 8d7dcfbfe069d28167ee95b7c83e334247c9e525c3b8ed549a3b73522ff60de4
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Counting/Document/PhysInvtOrderLine.Table.al
    title: src/Layers/W1/BaseApp/Inventory/Counting/Document/PhysInvtOrderLine.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: 5876
name: Phys. Invt. Order Line
namespace: Microsoft.Inventory.Counting.Document
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: 40
  procedures: 77
  events: 37
  subscribers: 0
relations:
  out: 19
  referenced_by: 4
  pages: 3
  extended_by: 0
  event_subscribers: 0
  calls: 3
  called_by: 0
  implements: 0
---

# Table 5876 "Phys. Invt. Order Line"

> Table 5876 "Phys. Invt. Order Line" in Base Application (Microsoft.Inventory.Counting.Document). 40 fields, 31 public procedures, 37 events. Present since at least BC23, still in BC30, changed in BC24, BC27-28.

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

## Properties

| Property | Value |
|---|---|
| Caption | 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 document number. | TableRelation [Table 5875 "Phys. Invt. Order Header"](../table/5875.md) (Phys. Invt. Order Header) |
| 2 | Line No. | Integer | Specifies the number of the line. |  |
| 12 | On Recording Lines | Boolean | Specifies if the item exists on one or more physical inventory recording lines. | not editable |
| 20 | Item No. | Code[20] | Specifies the number of the item, which should be counted when taking the physical inventory. | TableRelation [Table 27 "Item"](../table/27.md) |
| 21 | Variant Code | Code[10] | Specifies the variant of the item on the 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 where the item must be counted. | TableRelation [Table 14 "Location"](../table/14.md) |
| 23 | Bin Code | Code[20] | Specifies the bin where the item must be counted. | 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. |  |
| 31 | Description 2 | Text[50] | Specifies an additional description of the item. |  |
| 32 | Unit of Measure | Text[50] | Specifies the unit of measure, such as bottle or piece, that is currently used for the item. |  |
| 40 | Base Unit of Measure Code | Code[10] | Specifies the unit of measure, such as bottle or piece, that is currently used for the item. | 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. <small>via [Page 5878 "Physical Inventory Order Lines"](../page/5878.md)</small> | not editable |
| 51 | Qty. Exp. Calculated | Boolean | Specifies if the Qty. Expected (Base) field has been updated with the Calculate Expected Qty. function. | 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 expected inventory of serial, lot and package numbers in the base unit of measure. <small>via [Page 5877 "Physical Inventory Order Subf."](../page/5877.md)</small> | FlowField: sum("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 unit price of the item. |  |
| 62 | Unit Cost | Decimal | Specifies the unit costs of the item, which will be used when posting the physical inventory. |  |
| 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 counted quantity in the base unit of measure on the physical inventory order line. <small>via [Page 5878 "Physical Inventory Order Lines"](../page/5878.md)</small> | not editable |
| 72 | Quantity (Base) | Decimal | Specifies the difference between the Qty. Expected (Base) and the Qty. Recorded (Base) fields. <small>via [Page 5878 "Physical Inventory Order Lines"](../page/5878.md)</small> | not editable |
| 73 | Entry Type | Option | Specifies if the difference in the Quantity (Base) field on the related closed recording is positive or negative. | 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 5877 "Physical Inventory Order Subf."](../page/5877.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 5877 "Physical Inventory Order Subf."](../page/5877.md)</small> | not editable |
| 76 | Without Difference | Boolean | — | not editable |
| 80 | Recorded Without Order | Boolean | Specifies whether the Inventory Order Line was automatically created by finishing a Phys. Inventory. | 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. | TableRelation [Table 349 "Dimension Value"](../table/349.md) ("Dimension Value".Code where("Global Dimension No." = const(1), Blocked = const(false))) |
| 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. | TableRelation [Table 349 "Dimension Value"](../table/349.md) ("Dimension Value".Code where("Global Dimension No." = const(2), Blocked = const(false))) |
| 100 | Shelf No. | Code[10] | Specifies the shelf number where the item can be found normally. |  |
| 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) |
| 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) |
| 5725 | Item Reference No. | Code[50] | Specifies a reference to the item number as defined by the item's barcode. |  |
| 5726 | Item Reference Unit of Measure | Code[10] | — | TableRelation [Table 5404 "Item Unit of Measure"](../table/5404.md) ("Item Unit of Measure".Code where("Item No." = field("Item No."))) |
| 5727 | Item Reference Type | Enum "Item Reference Type" | — | enum [Enum 5726 "Item Reference Type"](../enum/5726.md) |
| 5728 | Item Reference Type No. | Code[30] | — |  |
| 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., Item No., Variant Code, Location Code, Bin Code
- Key3: Document No., Entry Type, Without Difference

## Events published

- `OnAfterInitDefaultDimensionSources(var PhysInvtOrderLine: Record "Phys. Invt. Order Line"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])` (integration)
- `OnAfterGetFieldsFromSKU(var PhysInvtOrderLine: Record "Phys. Invt. Order Line")` (integration)
- `OnAfterCreateDim(var PhysInvtOrderLine: Record "Phys. Invt. Order Line"; DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])` (integration)
- `OnAfterResetQtyExpected(var PhysInvtOrderLine: Record "Phys. Invt. Order Line")` (integration)
- `OnAfterValidateShortcutDimCode(var PhysInvtOrderLine: Record "Phys. Invt. Order Line"; var xPhysInvtOrderLine: Record "Phys. Invt. Order Line"; FieldNumber: Integer; var ShortcutDimCode: Code[20])` (integration)
- `OnAfterValidateItemNo(var PhysInvtRecordLine: Record "Phys. Invt. Order Line"; PhysInvtRecordHeader: Record "Phys. Invt. Order Header"; Item: Record Item)` (integration)
- `OnBeforeValidateShortcutDimCode(var PhysInvtOrderLine: Record "Phys. Invt. Order Line"; var xPhysInvtOrderLine: Record "Phys. Invt. Order Line"; FieldNumber: Integer; var ShortcutDimCode: Code[20])` (integration)
- `OnBeforeShowItemLedgerEntries(var ItemLedgerEntry: Record "Item Ledger Entry"; var PhysInvtOrderLine: Record "Phys. Invt. Order Line")` (integration)
- `OnBeforeShowPhysInvtLedgerEntries(var PhysInventoryLedgerEntry: Record "Phys. Inventory Ledger Entry"; var PhysInvtOrderLine: Record "Phys. Invt. Order Line")` (integration)
- `OnBeforeTestItemNotBlocked(var PhysInvtOrderLine: Record "Phys. Invt. Order Line"; var Item: Record Item; var IsHandled: Boolean)` (integration)
- `OnBeforeTestItemVariantNotBlocked(var PhysInvtOrderLine: Record "Phys. Invt. Order Line"; var ItemVariant: Record "Item Variant"; var IsHandled: Boolean)` (integration)
- `OnBeforeValidateBinCode(var PhysInvtOrderLine: Record "Phys. Invt. Order Line"; var IsHandled: Boolean)` (integration)
- `OnCalcCostsOnAfterInitItemJnlLine(var PhysInvtOrderLine: Record "Phys. Invt. Order Line"; var ItemJnlLine: Record "Item Journal Line")` (integration)
- `OnCalcQtyAndLastItemLedgExpectedSetItemLedgEntryFilters(var ItemLedgerEntry: Record "Item Ledger Entry"; var PhysInvtOrderLine: Record "Phys. Invt. Order Line")` (integration)
- `OnCalcQtyAndLastItemLedgExpectedSetWhseEntryFilters(var WarehouseEntry: Record "Warehouse Entry"; var PhysInvtOrderLine: Record "Phys. Invt. Order Line")` (integration)
- `OnCalcQtyAndTrackLinesExpectedSetItemLedgEntryFilters(var ItemLedgerEntry: Record "Item Ledger Entry"; var PhysInvtOrderLine: Record "Phys. Invt. Order Line")` (integration)
- `OnCalcQtyAndTrackLinesExpectedOnAfterExpPhysInvtTrackingInsertLine2(var ExpInvtOrderTracking: Record "Exp. Invt. Order Tracking"; var ItemLedgerEntry: Record "Item Ledger Entry")` (integration)
- `OnCalcQtyAndTrackLinesExpectedOnAfterExpPhysInvtTrackingInsertLineFromWhseEntry2(var ExpInvtOrderTracking: Record "Exp. Invt. Order Tracking"; WarehouseEntry: Record "Warehouse Entry")` (integration)
- `OnCalcQtyAndTrackLinesExpectedOnAfterSetWhseEntryFilters(var WarehouseEntry: Record "Warehouse Entry"; PhysInvtOrderLine: Record "Phys. Invt. Order Line")` (integration)
- `OnCalcQtyAndTrackLinesExpectedOnAfterHandleItemLedgerEntryTracking2(var ExpInvtOrderTracking: Record "Exp. Invt. Order Tracking"; ItemLedgerEntry: Record "Item Ledger Entry")` (integration)
- `OnCalcQtyAndTrackLinesExpectedOnAfterHandleWarehouseEntryTracking2(var ExpInvtOrderTracking: Record "Exp. Invt. Order Tracking"; WarehouseEntry: Record "Warehouse Entry")` (integration)
- `OnCalcQtyAndTrackLinesExpectedOnBeforeModifyFromItemLedgEntry2(var ExpInvtOrderTracking: Record "Exp. Invt. Order Tracking"; var ItemLedgerEntry: Record "Item Ledger Entry")` (integration)
- `OnCalcQtyAndTrackLinesExpectedOnBeforeInsertFromWhseEntry2(var ExpInvtOrderTracking: Record "Exp. Invt. Order Tracking"; var WarehouseEntry: Record "Warehouse Entry")` (integration)
- `OnCalcQtyAndTrackLinesExpectedOnPhysInvtTrackingNotGet(var PhysInvtOrderLine: Record "Phys. Invt. Order Line")` (integration)
- `OnCalcQtyAndTrackLinesExpectedOnBeforeCalcQtyAndLastItemLedgExpected(var PhysInvtOrderLine: Record "Phys. Invt. Order Line"; PhysInvtOrderHeader: Record "Phys. Invt. Order Header")` (integration)
- `OnCalcQtyAndLastItemLedgExpectedOnAfterCalcItemLedgEntryQtyExpected(var ItemLedgEntry: Record "Item Ledger Entry"; var QtyExpected: Decimal)` (integration)
- `OnCalcQtyAndLastItemLedgExpectedOnAfterCalcWhseEntryQtyExpected(var WhseEntry: Record "Warehouse Entry"; var QtyExpected: Decimal)` (integration)
- `OnTestQtyRecordedOnAfterPhysInvtRecordLineSetFilters(var PhysInvtOrderLine: Record "Phys. Invt. Order Line"; var PhysInvtRecordLine: Record "Phys. Invt. Record Line")` (integration)
- `OnTestQtyRecordedOnBeforeValidateRecordLine(var PhysInvtOrderLine: Record "Phys. Invt. Order Line"; var PhysInvtRecordLine: Record "Phys. Invt. Record Line"; var SkipTestFieldBinCode: Boolean)` (integration)
- `OnValidateItemNoOnAfterInitFromItem(var PhysInvtOrderLine: Record "Phys. Invt. Order Line"; xPhysInvtOrderLine: Record "Phys. Invt. Order Line"; Item: Record Item; PhysInvtOrderHeader: Record "Phys. Invt. Order Header")` (integration)
- `OnAfterPrepareLine(var PhysInvtOrderLine: Record "Phys. Invt. Order Line"; PhysInvtOrderLineArgs: Record "Phys. Invt. Order Line")` (integration)
- `OnAfterPrepareLineArgs(var PhysInvtOrderLine: Record "Phys. Invt. Order Line"; ItemLedgEntry: Record "Item Ledger Entry"; WhseEntry: Record "Warehouse Entry")` (integration)
- `OnAfterCalcQtyAndLastItemLedgExpected(var QtyExpected: Decimal; var LastItemLedgEntryNo: Integer; var PhysInvtOrderLine: Record "Phys. Invt. Order Line")` (integration)
- `OnBeforeCheckLine(var PhysInvtOrderLine: Record "Phys. Invt. Order Line"; var IsHandled: Boolean)` (integration)
- `OnCalcQtyAndTrackLinesExpectedOnAfterDeleteLineWhseEntry2(var ExpInvtOrderTracking: Record "Exp. Invt. Order Tracking"; var PhysInvtOrderLine: Record "Phys. Invt. Order Line")` (integration)
- `OnCalcQtyAndTrackLinesExpectedOnAfterDeleteLineItemLedgEntry2(var ExpPhysInvtTracking: Record "Exp. Invt. Order Tracking"; var PhysInvtOrderLine: Record "Phys. Invt. Order Line")` (integration)
- `OnAfterInitTableValuePair(var PhysInvtOrderLine: Record "Phys. Invt. Order Line"; var TableValuePair: Dictionary of [Integer, Code[20]]; FieldNo: Integer)` (integration)

## Procedures

- `GetPhysInvtOrderHeader()`
- `TestStatusOpen()`
- `CalcQtyAndTrackLinesExpected()`
- `CalcQtyAndLastItemLedgExpected(var QtyExpected: Decimal; var LastItemLedgEntryNo: Integer)`
- `ResetQtyExpected()`
- `TestQtyExpected()`
- `TestQtyRecorded()`
- `CalcCosts()`
- `CheckLine()`
- `EmptyLine(): Boolean`
- `PrepareLineArgs(WhseEntry: Record "Warehouse Entry")`
- `PrepareLineArgs(ItemLedgEntry: Record "Item Ledger Entry")`
- `PrepareLineArgs(WhseEntry: Record "Warehouse Entry"; ItemLedgEntry: Record "Item Ledger Entry")`
- `PrepareLine(DocNo: Code[20]; LineNo: Integer; ItemNo: Code[20]; VariantCode: Code[10]; LocationCode: Code[10]; BinCode: Code[20]; PeriodCode: Code[10]; PeriodType: Option)`
- `PrepareLine(DocNo: Code[20]; LineNo: Integer; PhysInvtOrderLineArgs: Record "Phys. Invt. Order Line"; PeriodCode: Code[10]; PeriodType: Option)`
- `ShowDimensions()`
- `CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])`
- `ValidateShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])`
- `LookupShortcutDimCode(FieldNo: Integer; var ShortcutDimCode: Code[20])`
- `ShowShortcutDimCode(var ShortcutDimCode: array[8] of Code[20])`
- `ShowPhysInvtRecordingLines()`
- `ShowExpectPhysInvtTrackLines()`
- `ShowItemTrackingLines(Which: Option All,Positive,Negative)`
- `ShowItemLedgerEntries()`
- `ShowPhysInvtLedgerEntries()`
- `GetFieldsFromSKU()`
- `ShowBinContentItem()`
- `ShowBinContentBin()`
- `CreateDimFromDefaultDim()`
- `CreateDimFromDefaultDim(FieldNo: Integer)`
- `GetDateForCalculations(): Date`

Plus 9 local procedures.

## Triggers

OnDelete, OnInsert, OnRename

## Relations

- drill-down page [Page 5878 "Physical Inventory Order Lines"](../page/5878.md)
- lookup page [Page 5878 "Physical Inventory Order Lines"](../page/5878.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)
- Shortcut Dimension 1 Code: TableRelation [Table 349 "Dimension Value"](../table/349.md)
- Shortcut Dimension 2 Code: TableRelation [Table 349 "Dimension Value"](../table/349.md)
- Dimension Set ID: TableRelation [Table 480 "Dimension Set Entry"](../table/480.md)
- Variant Code: TableRelation [Table 5401 "Item Variant"](../table/5401.md)
- Item Reference Unit of Measure: TableRelation [Table 5404 "Item Unit of Measure"](../table/5404.md)
- Item Category Code: TableRelation [Table 5722 "Item Category"](../table/5722.md)
- Document No.: TableRelation [Table 5875 "Phys. Invt. Order Header"](../table/5875.md)
- Qty. Exp. Tracking (Base): CalcFormula [Table 6026 "Exp. Invt. Order Tracking"](../table/6026.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

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

- [Table 5878 "Phys. Invt. Record Line"](../table/5878.md): Order Line No.
- [Table 5882 "Pstd. Phys. Invt. Record Line"](../table/5882.md): Order Line No.
- [Table 5886 "Exp. Phys. Invt. Tracking"](../table/5886.md): Order Line No.
- [Table 6026 "Exp. Invt. Order Tracking"](../table/6026.md): Order Line No.

## Pages and codeunits on this table

- [Page 30233 "APIV2 - Phys. Inv. Ord. Lines"](../page/30233.md) (source table)
- [Page 5877 "Physical Inventory Order Subf."](../page/5877.md) (source table)
- [Page 5878 "Physical Inventory Order Lines"](../page/5878.md) (source table)
- [Codeunit 5888 "Phys. Invt.-Calc. Qty. One"](../codeunit/5888.md) (codeunit runs on it)

## 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) (8 calls: `CreateDim → GetDefaultDimID`, `CreateDim → UpdateGlobalDimFromDimSetID`, `InitDefaultDimensionSources → AddDimSource`, …)
- [Codeunit 5889 "Phys. Invt. Tracking Mgt."](../codeunit/5889.md) (5 calls: `CalcQtyAndLastItemLedgExpected → LocationIsBinMandatory`, `CalcQtyAndTrackLinesExpected → GetTrackingNosFromWhse`, `CalcQtyAndTrackLinesExpected → LocationIsBinMandatory`, …)
- [Page 5893 "Phys. Invt. Item Track. List"](../page/5893.md) (1 call: `ShowItemTrackingLines → (object)`)

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