---
id: object/page/5708
type: object
title: Page 5708 "Get Shipment Lines"
summary: Page 5708 "Get Shipment Lines" in Base Application (Microsoft.Sales.History). 2 public procedures, 4 events. Present since at least BC23, still in BC30, changed in BC28.
tier: official
language: en
tags:
  - page
  - 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: 7df24be96e4233427e863916b971d391917f92bf422ddc78ee28f419dee140a2
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/History/GetShipmentLines.Page.al
    title: src/Layers/W1/BaseApp/Sales/History/GetShipmentLines.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 5708
name: Get Shipment Lines
namespace: Microsoft.Sales.History
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 8
  events: 4
  subscribers: 0
  controls: 23
  actions: 3
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Page 5708 "Get Shipment Lines"

> Page 5708 "Get Shipment Lines" in Base Application (Microsoft.Sales.History). 2 public procedures, 4 events. Present since at least BC23, still in BC30, changed in BC28.

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

## Properties

| Property | Value |
|---|---|
| Caption | Get Shipment Lines |
| SourceTable | Sales Shipment 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 | Document No. | [Document No.](../table/111.md#fields) | Specifies the number of the related document. |
|  | Bill-to Customer No. | [Bill-to Customer No.](../table/111.md#fields) | Specifies the number of the customer that you send or sent the invoice or credit memo to. <small>from the table field</small> |
|  | Sell-to Customer No. | [Sell-to Customer No.](../table/111.md#fields) | Specifies the number of the customer. <small>from the table field</small> |
|  | Type | [Type](../table/111.md#fields) | Specifies the line type. <small>from the table field</small> |
|  | No. | [No.](../table/111.md#fields) | Specifies the number of the involved entry or record, according to the specified number series. <small>from the table field</small> |
|  | Variant Code | [Variant Code](../table/111.md#fields) | Specifies the variant of the item on the line. <small>from the table field</small> |
|  | Description | [Description](../table/111.md#fields) | Specifies a description of posted sales shipments. |
|  | Description 2 | [Description 2](../table/111.md#fields) | Specifies information in addition to the description. <small>from the table field</small> |
|  | Currency Code | [Currency Code](../table/111.md#fields) | Specifies the currency that is used on the entry. <small>from the table field</small> |
|  | Shortcut Dimension 1 Code | [Shortcut Dimension 1 Code](../table/111.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/111.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> |
|  | Location Code | [Location Code](../table/111.md#fields) | Specifies the location from where inventory items to the customer on the sales document are to be shipped by default. |
|  | Unit of Measure Code | [Unit of Measure Code](../table/111.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> |
|  | Quantity | [Quantity](../table/111.md#fields) | Specifies the number of item units, resource hours, general ledger account payments, or cost that have been shipped to the customer. |
|  | Unit of Measure | [Unit of Measure](../table/111.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> |
|  | Appl.-to Item Entry | [Appl.-to Item Entry](../table/111.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> |
|  | Job No. | [Job No.](../table/111.md#fields) | Specifies the number of the related project. <small>from the table field</small> |
|  | Shipment Date | [Shipment Date](../table/111.md#fields) | Specifies when items on the document are shipped or were shipped. A shipment date is usually calculated from a requested delivery date plus lead time. <small>from the table field</small> |
|  | Quantity Invoiced | [Quantity Invoiced](../table/111.md#fields) | Specifies how many units of the item on the line have been posted as invoiced. <small>from the table field</small> |
|  | Qty. Shipped Not Invoiced | [Qty. Shipped Not Invoiced](../table/111.md#fields) | Specifies the quantity of the shipped item that has been posted as shipped but that has not yet been posted as invoiced. <small>from the table field</small> |
|  | Order No. | [Order No.](../table/111.md#fields) | Specifies the number of the sales order that this shipment was posted from. |
|  | External Document No. | [External Document No.](../table/111.md#fields) | Specifies the number that the customer uses in their own system to refer to this sales document. |
|  | Your Reference | [Your Reference](../table/111.md#fields) | Specifies the customer's reference. The content will be printed on sales documents. |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Line | Show Document | Open the document that the selected line exists on. |  |
|  | 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. |  |
|  | Item Tracking Entries | View serial, lot or package numbers that are assigned to items. |  |

## Events published

- `OnBeforeOnQueryClosePage(CloseAction: Action; var Result: Boolean; var IsHandled: Boolean; var SalesShipmentLine: Record "Sales Shipment Line")` (integration)
- `OnBeforeSetSalesHeader(var SalesHeader2: Record "Sales Header"; var IsHandled: Boolean; var SalesHeader: Record "Sales Header")` (integration)
- `OnCreateLinesOnAfterSalesGetShptSetSalesHeader(var SalesHeader: Record "Sales Header"; var SalesShipmentLine: Record "Sales Shipment Line")` (integration)
- `OnBeforeIsFirstDocLine(var SalesShipmentLine: Record "Sales Shipment Line"; var TempSalesShipmentLine: Record "Sales Shipment Line" temporary; var Result: Boolean; var IsHandled: Boolean)` (integration)

## Procedures

- `SetSalesHeader(var SalesHeader2: Record "Sales Header")`: Sets the sales header for filtering shipment lines.
- `CreateLines()`: Creates invoice lines from the selected shipment lines.

Plus 2 local procedures.

## Triggers

OnAfterGetRecord, OnQueryClosePage

## Relations

- source table [Table 111 "Sales Shipment Line"](../table/111.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 64 "Sales-Get Shipment"](../codeunit/64.md) (2 calls: `CreateLines → CreateInvLines`, `CreateLines → SetSalesHeader`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC28

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