---
id: object/table/4038
type: object
title: Table 4038 "GPIVSerialLotNumberHist"
summary: Table 4038 "GPIVSerialLotNumberHist" in HybridGP (Microsoft.DataMigration.GP). 13 fields. Introduced in BC29, still in BC30, changed in BC30.
tier: official
language: en
tags:
  - table
  - hybridgp
versions:
  introduced: "29"
  last_changed: "30"
  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: 1f09db8c19babfc07d0c147e90f16f12bb4972e54432fab5267b5bc139350a7e
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/HybridGP/app/src/Migration/History/GPIVSerialLotNumberHist.table.al
    title: src/Apps/W1/HybridGP/app/src/Migration/History/GPIVSerialLotNumberHist.table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/11822
object_type: table
object_id: 4038
name: GPIVSerialLotNumberHist
namespace: Microsoft.DataMigration.GP
app: HybridGP
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in:
  - "30"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 13
  procedures: 0
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 4038 "GPIVSerialLotNumberHist"

> Table 4038 "GPIVSerialLotNumberHist" in HybridGP (Microsoft.DataMigration.GP). 13 fields. Introduced in BC29, still in BC30, changed in BC30.

HybridGP · Microsoft.DataMigration.GP · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/HybridGP/app/src/Migration/History/GPIVSerialLotNumberHist.table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Extensible | false |
| 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 | TRXSORCE | text[14] | TRX Source <small>caption</small> |  |
| 2 | IVDOCTYP | Option | IV Document Type <small>caption</small> |  |
| 3 | DOCNUMBR | text[22] | Document Number <small>caption</small> |  |
| 4 | LNSEQNBR | Decimal | Line SEQ Number <small>caption</small> |  |
| 5 | SLTSQNUM | Integer | Serial/Lot SEQ Number <small>caption</small> |  |
| 6 | SERLTNUM | text[22] | Serial/Lot Number <small>caption</small> |  |
| 7 | SERLTQTY | Decimal | Serial/Lot QTY <small>caption</small> |  |
| 8 | FROMBIN | text[16] | From Bin <small>caption</small> |  |
| 9 | TOBIN | text[16] | To Bin <small>caption</small> |  |
| 10 | ITEMNMBR | text[32] | Item Number <small>caption</small> |  |
| 11 | MFGDATE | Date | Manufacture Date <small>caption</small> |  |
| 12 | EXPNDATE | Date | Expiration Date <small>caption</small> |  |
| 13 | DEX_ROW_ID | Integer | — |  |

## Keys

- PK: TRXSORCE, IVDOCTYP, DOCNUMBR, LNSEQNBR, SLTSQNUM

## Recent changes

- 2026-09-30 [#11822 Added missing indexes for GP historical snapshot](../../changes/bcapps/11822.md) (main, BC30, performance)

## Across versions

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

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