---
id: object/table/6105
type: object
title: Table 6105 "E-Document Line Mapping"
summary: Table 6105 "E-Document Line Mapping" in EDocument (Microsoft.EServices.EDocument.Processing.Import). 12 fields, 1 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: 94b878c98bb74acbbad1005de6877181396d82d3a860093e9619566cca65be73
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/EDocument/app/src/Processing/Import/EDocumentLineMapping.Table.al
    title: src/Apps/W1/EDocument/app/src/Processing/Import/EDocumentLineMapping.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: 6105
name: E-Document Line Mapping
namespace: Microsoft.EServices.EDocument.Processing.Import
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: 12
  procedures: 1
  events: 0
  subscribers: 0
relations:
  out: 13
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 6105 "E-Document Line Mapping"

> Table 6105 "E-Document Line Mapping" in EDocument (Microsoft.EServices.EDocument.Processing.Import). 12 fields, 1 public procedures. Introduced in BC29, still in BC30.

EDocument · Microsoft.EServices.EDocument.Processing.Import · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/EDocument/app/src/Processing/Import/EDocumentLineMapping.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 | Specifies the entry number of the e-document. | TableRelation [Table 6121 "E-Document"](../table/6121.md) ("E-Document"."Entry No"); DataClassification SystemMetadata |
| 2 | Line No. | Integer | Specifies the line number. | DataClassification SystemMetadata |
| 3 | Purchase Line Type | Enum "Purchase Line Type" | Specifies the type of entity that will be posted for this purchase line, such as Item, Resource, or G/L Account. | enum [Enum 39 "Purchase Line Type"](../enum/39.md) |
| 4 | Purchase Type No. | Code[20] | Specifies what you're selling. The options vary, depending on what you choose in the Type field. | TableRelation [Table 15 "G/L Account"](../table/15.md), [Table 5600 "Fixed Asset"](../table/5600.md), [Table 5800 "Item Charge"](../table/5800.md) (if ("Purchase Line Type" = const(" ")) "Standard Text" else if ("Purchase Line Type" = const("G/L Account")) "G/L Account" else if ("Purchase Line Type" = const("Fixed Asset")) "Fixed Asset" else if ("Purchase Line Type" = const("Charge (Item)")) "Item Charge" else if ("Purchase Line Type" = const(I...) |
| 5 | Unit of Measure | Code[20] | Specifies the unit of measure code. | TableRelation [Table 204 "Unit of Measure"](../table/204.md) (Unit of Measure) |
| 6 | Deferral Code | Code[10] | Specifies the deferral code. | TableRelation [Table 1700 "Deferral Template"](../table/1700.md) (Deferral Template) |
| 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), Blocked = const(false))) |
| 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), Blocked = const(false))) |
| 10 | 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("Unit of Measure"), "Variant Code" = field("Variant Code"))) |
| 11 | Variant Code | Code[10] | Specifies the variant code. | TableRelation [Table 5401 "Item Variant"](../table/5401.md) ("Item Variant".Code where("Item No." = field("Purchase Type No."))) |
| 12 | Dimension Set ID | Integer | — | TableRelation [Table 480 "Dimension Set Entry"](../table/480.md) (Dimension Set Entry); not editable |
| 50 | E-Doc. Purch. Line History Id | Integer | Specifies the ID of the e-document purchase line history. | TableRelation [Table 6140 "E-Doc. Purchase Line History"](../table/6140.md) ("E-Doc. Purchase Line History"."Entry No."); DataClassification SystemMetadata |

## Keys

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

## Procedures

- `InsertForEDocumentLine(EDocument: Record "E-Document"; LineNo: Integer)`

## Relations

- Purchase Type No.: TableRelation [Table 15 "G/L Account"](../table/15.md) (conditional)
- Deferral Code: TableRelation [Table 1700 "Deferral Template"](../table/1700.md)
- Unit of Measure: TableRelation [Table 204 "Unit of Measure"](../table/204.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)
- Purchase Type No.: TableRelation [Table 5600 "Fixed Asset"](../table/5600.md) (conditional)
- Item Reference No.: TableRelation [Table 5777 "Item Reference"](../table/5777.md)
- Purchase Type No.: TableRelation [Table 5800 "Item Charge"](../table/5800.md) (conditional)
- E-Document Entry No.: TableRelation [Table 6121 "E-Document"](../table/6121.md)
- E-Doc. Purch. Line History Id: TableRelation [Table 6140 "E-Doc. Purchase Line History"](../table/6140.md)
- Purchase Type No.: TableRelation [Table 7 "Standard Text"](../table/7.md) (conditional)

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