---
id: object/table/40903
type: object
title: Table 40903 "Hist. Sales Trx. Line"
summary: Table 40903 "Hist. Sales Trx. Line" in DynamicsGPHistoricalData (Microsoft.DataMigration.GP.HistoricalData). 16 fields. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - dynamicsgphistoricaldata
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: 95bc39089cdc0896a9b025d5679f3e39bea4a04200401f91dbc4453799344c38
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/DynamicsGPHistoricalData/app/src/Tables/HistSalesTrxLine.Table.al
    title: src/Apps/W1/DynamicsGPHistoricalData/app/src/Tables/HistSalesTrxLine.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: 40903
name: Hist. Sales Trx. Line
namespace: Microsoft.DataMigration.GP.HistoricalData
app: DynamicsGPHistoricalData
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: 16
  procedures: 0
  events: 0
  subscribers: 0
relations:
  out: 1
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 40903 "Hist. Sales Trx. Line"

> Table 40903 "Hist. Sales Trx. Line" in DynamicsGPHistoricalData (Microsoft.DataMigration.GP.HistoricalData). 16 fields. Introduced in BC29, still in BC30.

DynamicsGPHistoricalData · Microsoft.DataMigration.GP.HistoricalData · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/DynamicsGPHistoricalData/app/src/Tables/HistSalesTrxLine.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| 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 | Primary Key | Integer | — | AutoIncrement |
| 2 | Sales Trx. Type | enum "Hist. Sales Trx. Type" | Sales Type <small>caption</small> | enum [Enum 40900 "Hist. Sales Trx. Type"](../enum/40900.md); NotBlank |
| 3 | Sales Header No. | Code[35] | — | TableRelation [Table 40902 "Hist. Sales Trx. Header"](../table/40902.md) ("Hist. Sales Trx. Header"."No."); NotBlank |
| 4 | Line Item Sequence No. | Integer | — | NotBlank |
| 5 | Component Sequence | Integer | — | NotBlank |
| 6 | Item No. | Code[35] | Specifies the value of the Item No. field. <small>via [Page 41003 "Hist. Sales Trx. Lines"](../page/41003.md)</small> |  |
| 7 | Item Description | Text[100] | Specifies the value of the Item Description field. <small>via [Page 41003 "Hist. Sales Trx. Lines"](../page/41003.md)</small> |  |
| 8 | Unit of Measure | Code[35] | Specifies the value of the Unit of Measure field. <small>via [Page 41003 "Hist. Sales Trx. Lines"](../page/41003.md)</small> |  |
| 9 | Unit Cost | Decimal | Specifies the value of the Unit Cost field. <small>via [Page 41003 "Hist. Sales Trx. Lines"](../page/41003.md)</small> |  |
| 10 | Unit Price | Decimal | Specifies the value of the Unit Price field. <small>via [Page 41003 "Hist. Sales Trx. Lines"](../page/41003.md)</small> |  |
| 11 | Quantity | Decimal | Specifies the value of the Quantity field. <small>via [Page 41003 "Hist. Sales Trx. Lines"](../page/41003.md)</small> |  |
| 12 | Ext. Cost | Decimal | Specifies the value of the Ext. Cost field. <small>via [Page 41003 "Hist. Sales Trx. Lines"](../page/41003.md)</small> |  |
| 13 | Ext. Price | Decimal | Specifies the value of the Ext. Price field. <small>via [Page 41003 "Hist. Sales Trx. Lines"](../page/41003.md)</small> |  |
| 14 | Tax Amount | Decimal | Specifies the value of the Tax Amount field. <small>via [Page 41003 "Hist. Sales Trx. Lines"](../page/41003.md)</small> |  |
| 15 | Location Code | Code[35] | Specifies the value of the Location Code field. <small>via [Page 41003 "Hist. Sales Trx. Lines"](../page/41003.md)</small> |  |
| 16 | Ship-to Name | Text[65] | Specifies the value of the Ship-to Name field. <small>via [Page 41003 "Hist. Sales Trx. Lines"](../page/41003.md)</small> |  |

## Keys

- PK: Primary Key (clustered)
- Key2: Sales Trx. Type, Sales Header No.

## Relations

- Sales Header No.: TableRelation [Table 40902 "Hist. Sales Trx. Header"](../table/40902.md)

## Pages and codeunits on this table

- [Page 41003 "Hist. Sales Trx. Lines"](../page/41003.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: "Hist. Sales Trx. Line")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
