---
id: object/page/6873
type: object
title: Page 6873 "Available - Invt. Doc. Lines"
summary: Page 6873 "Available - Invt. Doc. Lines" in Base Application (Microsoft.Inventory.Document). 7 public procedures. Present since at least BC23, still in BC30, changed in BC27, BC30.
tier: official
language: en
tags:
  - page
  - base application
versions:
  introduced: null
  last_changed: "30"
  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: 04d1033117ef43fb135af7f7289f1a18b1c6e9bf4485aaa1016187194bc79a10
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Document/AvailableInvtDocLines.Page.al
    title: src/Layers/W1/BaseApp/Inventory/Document/AvailableInvtDocLines.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/12066
object_type: page
object_id: 6873
name: Available - Invt. Doc. Lines
namespace: Microsoft.Inventory.Document
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "27"
  - "30"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 9
  events: 0
  subscribers: 0
  controls: 7
  actions: 2
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Page 6873 "Available - Invt. Doc. Lines"

> Page 6873 "Available - Invt. Doc. Lines" in Base Application (Microsoft.Inventory.Document). 7 public procedures. Present since at least BC23, still in BC30, changed in BC27, BC30.

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

## Properties

| Property | Value |
|---|---|
| Caption | Available - Invt. Doc. Lines |
| SourceTable | Invt. Document Line |
| PageType | List |

## 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 | Location Code | [Location Code](../table/5851.md#fields) | Specifies the warehouse or other place where the involved items are handled or stored. <small>from the table field</small> |
|  | Document Date | [Document Date](../table/5851.md#fields) | Specifies the date when the related document was created. <small>from the table field</small> |
|  | Quantity (Base) | [Quantity (Base)](../table/5851.md#fields) | Specifies the quantity on the line expressed in base units of measure. |
|  | Reserved Qty. Inbnd. (Base) | [Reserved Qty. Inbnd. (Base)](../table/5851.md#fields) | Specifies the item base quantity that is reserved at the warehouse of the receiver. |
|  | Reserved Qty. Outbnd. (Base) | [Reserved Qty. Outbnd. (Base)](../table/5851.md#fields) | Specifies the item base quantity that is reserved at the warehouse of the receiver. |
|  | Available Quantity | `QtyToReserveBase` | Specifies the quantity of the item that is available. |
|  | Current Reserved Quantity | `GetReservedQtyInLine()` | Specifies the quantity of the item that is reserved for the document type. |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Functions | Reserve | Reserve the quantity that is required on the document line that you opened this window for. |  |
|  | Cancel Reservation | Cancel the reservation that exists for the document line that you opened this window for. |  |

## Procedures

- `SetSource(CurrentSourceRecRef: RecordRef; CurrentReservEntry: Record "Reservation Entry")`
- `SetSource(CurrentSourceRecRef: RecordRef; CurrentReservEntry: Record "Reservation Entry"; TransferDirection: Enum "Transfer Direction")`
- `CreateReservation(ReserveQuantity: Decimal; ReserveQuantityBase: Decimal)`
- `GetReservedQtyInLine(): Decimal` (protected)
- `SetInbound(DirectionIsInbound: Boolean)`
- `SetAssemblyLine(var CurrentAssemblyLine: Record Microsoft.Assembly.Document."Assembly Line"; CurrentReservEntry: Record "Reservation Entry")` (obsolete 27.0: Replaced by procedure SetSource)
- `SetAssemblyHeader(var CurrentAssemblyHeader: Record Microsoft.Assembly.Document."Assembly Header"; CurrentReservEntry: Record "Reservation Entry")` (obsolete 27.0: Replaced by procedure SetSource)

Plus 2 local procedures.

## Triggers

OnAfterGetRecord, OnOpenPage

## Relations

- source table [Table 5851 "Invt. Document Line"](../table/5851.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 99000845 "Reservation Management"](../codeunit/99000845.md) (4 calls: `CreateReservation → CreateReservation`, `GetReservedQtyInLine → MarkReservConnection`, `OnOpenPage → GetAvailabilityFilter`, …)

## Recent changes

- 2026-10-02 [#12066 Bugs/remove asm inv mfg clean27 tags for wave2 2026](../../changes/bcapps/12066.md) (main, BC30, obsoletion)

## Across versions

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

## Deprecations

- procedure SetAssemblyHeader: Pending 27.0 (#if not CLEAN27), "Replaced by procedure SetSource"
- procedure SetAssemblyLine: Pending 27.0 (#if not CLEAN27), "Replaced by procedure SetSource"

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: "Available - Invt. Doc. Lines")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
