---
id: object/table/6154
type: object
title: Table 6154 "E-Document Sales Line"
summary: Table 6154 "E-Document Sales Line" in EDocument (Microsoft.eServices.EDocument.Processing.Import.Sales). 23 fields, 3 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - edocument
versions:
  introduced: "29"
  last_changed: null
  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: c054ad942cb7b978fdfc56672b4872fc134896b0417905b759b5fbd47ad605a3
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/EDocument/app/src/Processing/Import/Sales/EDocumentSalesLine.Table.al
    title: src/Apps/W1/EDocument/app/src/Processing/Import/Sales/EDocumentSalesLine.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: 6154
name: E-Document Sales Line
namespace: Microsoft.eServices.EDocument.Processing.Import.Sales
app: EDocument
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 23
  procedures: 3
  events: 0
  subscribers: 0
relations:
  out: 10
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 6154 "E-Document Sales Line"

> Table 6154 "E-Document Sales Line" in EDocument (Microsoft.eServices.EDocument.Processing.Import.Sales). 23 fields, 3 public procedures. Introduced in BC29, still in BC30.

EDocument · Microsoft.eServices.EDocument.Processing.Import.Sales · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/EDocument/app/src/Processing/Import/Sales/EDocumentSalesLine.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Access | Internal |
| 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 | E-Document Entry No. | Integer | — | TableRelation [Table 6121 "E-Document"](../table/6121.md) ("E-Document"."Entry No"); not editable; DataClassification SystemMetadata |
| 2 | Line No. | Integer | — | not editable; DataClassification SystemMetadata |
| 3 | External Line Id | Text[100] | — | not editable |
| 4 | Description | Text[100] | Specifies the description. | not editable |
| 5 | Quantity | Decimal | Specifies the quantity. | not editable |
| 6 | Unit of Measure | Text[50] | — | not editable |
| 7 | Unit Price | Decimal | Specifies the unit price. | not editable |
| 8 | Line Extension Amount | Decimal | Specifies the line extension amount. | not editable |
| 9 | Line Discount Amount | Decimal | Specifies the line discount amount. | not editable |
| 10 | VAT Rate | Decimal | Specifies the VAT rate of this line. <small>via [Page 6154 "E-Doc. Sales Draft Subform"](../page/6154.md)</small> | not editable |
| 11 | Currency Code | Code[10] | — | not editable |
| 12 | Buyer Item Id | Text[100] | — | not editable |
| 13 | Seller Item Id | Text[100] | — | not editable |
| 14 | Standard Item Id | Text[100] | — | not editable |
| 15 | Requested Delivery Date | Date | — | not editable |
| 101 | [BC] Sales Line Type | Enum "Sales Line Type" | Specifies the type of entity that will be posted for this sales line, such as Item or Resource. | enum [Enum 37 "Sales Line Type"](../enum/37.md) |
| 102 | [BC] Sales Line No. | Code[20] | Specifies the item or resource number. | TableRelation [Table 15 "G/L Account"](../table/15.md), [Table 5600 "Fixed Asset"](../table/5600.md), [Table 7 "Standard Text"](../table/7.md) (if ("[BC] Sales Line Type" = const(" ")) "Standard Text" else if ("[BC] Sales Line Type" = const("G/L Account")) "G/L Account" where("Direct Posting" = const(true)) else if ("[BC] Sales Line Type" = const("Fixed Asset")) "Fixed Asset" else if ("[BC] Sales Line Type" = const("Charge (Item)")) "Item C...) |
| 103 | [BC] Unit of Measure | Code[10] | Specifies the unit of measure code. | TableRelation [Table 204 "Unit of Measure"](../table/204.md) ("Unit of Measure".Code) |
| 104 | [BC] Item Reference No. | Code[50] | Specifies the item reference number. | TableRelation [Table 5777 "Item Reference"](../table/5777.md) ("Item Reference"."Reference No." where("Unit of Measure" = field("[BC] Unit of Measure"), "Variant Code" = field("[BC] Variant Code"))) |
| 105 | [BC] Variant Code | Code[10] | Specifies the variant code. | TableRelation [Table 5401 "Item Variant"](../table/5401.md) ("Item Variant".Code where("Item No." = field("[BC] Sales Line No."))) |
| 106 | [BC] Shortcut Dimension 1 Code | Code[20] | Specifies the code for Shortcut Dimension 1. | TableRelation [Table 349 "Dimension Value"](../table/349.md) ("Dimension Value".Code where("Global Dimension No." = const(1), Blocked = const(false))) |
| 107 | [BC] Shortcut Dimension 2 Code | Code[20] | Specifies the code for Shortcut Dimension 2. | TableRelation [Table 349 "Dimension Value"](../table/349.md) ("Dimension Value".Code where("Global Dimension No." = const(2), Blocked = const(false))) |
| 108 | [BC] Dimension Set ID | Integer | Dimension Set ID <small>caption</small> | TableRelation [Table 480 "Dimension Set Entry"](../table/480.md) (Dimension Set Entry); not editable |

## Keys

- PK: E-Document Entry No., Line No. (clustered)

## Procedures

- `GetNextLineNo(EDocumentEntryNo: Integer): Integer` (internal)
- `InsertForEDocument(EDocumentEntryNo: Integer)`
- `GetFromEDocument(EDocument: Record "E-Document")`

## Relations

- [BC] Sales Line No.: TableRelation [Table 15 "G/L Account"](../table/15.md) (conditional)
- [BC] Unit of Measure: TableRelation [Table 204 "Unit of Measure"](../table/204.md)
- [BC] Shortcut Dimension 1 Code: TableRelation [Table 349 "Dimension Value"](../table/349.md)
- [BC] Shortcut Dimension 2 Code: TableRelation [Table 349 "Dimension Value"](../table/349.md)
- [BC] Dimension Set ID: TableRelation [Table 480 "Dimension Set Entry"](../table/480.md)
- [BC] Variant Code: TableRelation [Table 5401 "Item Variant"](../table/5401.md)
- [BC] Sales Line No.: TableRelation [Table 5600 "Fixed Asset"](../table/5600.md) (conditional)
- [BC] Item Reference No.: TableRelation [Table 5777 "Item Reference"](../table/5777.md)
- E-Document Entry No.: TableRelation [Table 6121 "E-Document"](../table/6121.md)
- [BC] Sales Line No.: TableRelation [Table 7 "Standard Text"](../table/7.md) (conditional)

## Pages and codeunits on this table

- [Page 6154 "E-Doc. Sales Draft Subform"](../page/6154.md) (source table)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

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). 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: "E-Document Sales Line")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
