---
id: object/table/5857
type: object
title: Table 5857 "Direct Trans. Line"
summary: Table 5857 "Direct Trans. Line" in Base Application (Microsoft.Inventory.Transfer). 29 fields, 3 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24, BC28.
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: 0b583c4601cb5db8a61ad903860d6c10fc181e8bf2a3d82ade176fc168404247
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Transfer/DirectTransLine.Table.al
    title: src/Layers/W1/BaseApp/Inventory/Transfer/DirectTransLine.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: 5857
name: Direct Trans. Line
caption: Direct Transfer Line
namespace: Microsoft.Inventory.Transfer
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 29
  procedures: 4
  events: 1
  subscribers: 0
relations:
  out: 14
  referenced_by: 0
  pages: 2
  extended_by: 1
  event_subscribers: 2
  calls: 2
  called_by: 0
  implements: 0
---

# Table 5857 "Direct Trans. Line"

> Table 5857 "Direct Trans. Line" in Base Application (Microsoft.Inventory.Transfer). 29 fields, 3 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24, BC28.

Base Application · Microsoft.Inventory.Transfer · captioned "Direct Transfer Line" · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Transfer/DirectTransLine.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Direct Transfer 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] | — |  |
| 2 | Line No. | Integer | — |  |
| 3 | Item No. | Code[20] | Specifies the number of the item. | TableRelation [Table 27 "Item"](../table/27.md) |
| 4 | Quantity | Decimal | Specifies how many units of the record are processed. |  |
| 5 | Unit of Measure | Text[50] | Specifies the name of the item or resource's unit of measure, such as piece or hour. |  |
| 7 | Description | Text[100] | Specifies the description associated with this line. |  |
| 8 | 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))) |
| 9 | 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))) |
| 10 | Gen. Prod. Posting Group | Code[20] | — | TableRelation [Table 251 "Gen. Product Posting Group"](../table/251.md) (Gen. Product Posting Group) |
| 11 | Inventory Posting Group | Code[20] | — | TableRelation [Table 94 "Inventory Posting Group"](../table/94.md) (Inventory Posting Group) |
| 12 | Quantity (Base) | Decimal | — |  |
| 14 | Qty. per Unit of Measure | Decimal | — |  |
| 15 | Unit of Measure Code | Code[10] | 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. | TableRelation [Table 5404 "Item Unit of Measure"](../table/5404.md) ("Item Unit of Measure".Code where("Item No." = field("Item No."))) |
| 16 | Gross Weight | Decimal | — |  |
| 17 | Net Weight | Decimal | — |  |
| 18 | Unit Volume | Decimal | — |  |
| 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 | Units per Parcel | Decimal | — |  |
| 23 | Description 2 | Text[50] | — |  |
| 24 | Transfer Order No. | Code[20] | — | TableRelation [Table 5740 "Transfer Header"](../table/5740.md) (Transfer Header) |
| 25 | Posting Date | Date | — |  |
| 29 | Transfer-from Code | Code[10] | — | TableRelation [Table 14 "Location"](../table/14.md) (Location where("Use As In-Transit" = const(false))); not editable |
| 30 | Transfer-to Code | Code[10] | — | TableRelation [Table 14 "Location"](../table/14.md) (Location where("Use As In-Transit" = const(false))); not editable |
| 31 | Item Shpt. Entry No. | Integer | — |  |
| 33 | Item Rcpt. Entry No. | Integer | — |  |
| 480 | Dimension Set ID | Integer | — | TableRelation [Table 480 "Dimension Set Entry"](../table/480.md) (Dimension Set Entry) |
| 5704 | Item Category Code | Code[20] | — | TableRelation [Table 5722 "Item Category"](../table/5722.md) (Item Category) |
| 7300 | Transfer-from Bin Code | Code[20] | Specifies the code for the bin that the items are transferred from. | TableRelation [Table 7354 "Bin"](../table/7354.md) (Bin.Code where("Location Code" = field("Transfer-from Code"), "Item Filter" = field("Item No."), "Variant Filter" = field("Variant Code"))) |
| 7301 | Transfer-To Bin Code | Code[20] | — | TableRelation [Table 7354 "Bin"](../table/7354.md) (Bin.Code where("Location Code" = field("Transfer-to Code"), "Item Filter" = field("Item No."), "Variant Filter" = field("Variant Code"))) |

## Keys

- Key1: Document No., Line No. (clustered)
- Key2: Transfer Order No., Item No., Posting Date

## Events published

- `OnAfterCopyFromTransferLine(var DirectTransLine: Record "Direct Trans. Line"; TransferLine: Record "Transfer Line")` (integration)
  - subscribers: [Codeunit 20541 "Subc. Transfer WIP Posting"](../codeunit/20541.md) HandleWipDirectTransLineOnAfterCopyFromTransferLine, [Codeunit 20548 "Subc. DirectTransferLine Ext."](../codeunit/20548.md) OnAfterCopyFromTransferLine_T5745

## Procedures

- `CopyFromTransferLine(TransferLine: Record "Transfer Line")`
- `ShowDimensions()`
- `ShowItemTrackingLines()`

## Relations

- Transfer-from Code: TableRelation [Table 14 "Location"](../table/14.md)
- Transfer-to Code: TableRelation [Table 14 "Location"](../table/14.md)
- Gen. Prod. Posting Group: TableRelation [Table 251 "Gen. Product Posting Group"](../table/251.md)
- Item No.: TableRelation [Table 27 "Item"](../table/27.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)
- Unit of Measure Code: TableRelation [Table 5404 "Item Unit of Measure"](../table/5404.md)
- Item Category Code: TableRelation [Table 5722 "Item Category"](../table/5722.md)
- Transfer Order No.: TableRelation [Table 5740 "Transfer Header"](../table/5740.md)
- Transfer-from Bin Code: TableRelation [Table 7354 "Bin"](../table/7354.md)
- Transfer-To Bin Code: TableRelation [Table 7354 "Bin"](../table/7354.md)
- Inventory Posting Group: TableRelation [Table 94 "Inventory Posting Group"](../table/94.md)

## Pages and codeunits on this table

- [Page 30211 "APIV2 - P. Dir. Trans. Lines"](../page/30211.md) (source table)
- [Page 6782 "Posted Direct Transfer Subform"](../page/6782.md) (source table)

## Extended by

- [Table extension 20523 "Subc. DirectTrans. Line Ext"](../tableextension/20523.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) (1 call: `ShowDimensions → ShowDimensionSet`)
- [Codeunit 6503 "Item Tracking Doc. Management"](../codeunit/6503.md) (1 call: `ShowItemTrackingLines → ShowItemTrackingForShptRcptLine`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, 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: "table", object_name: "Direct Trans. Line")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
