---
id: object/table/4065
type: object
title: Table 4065 "GPRMHist"
summary: Table 4065 "GPRMHist" in HybridGP (Microsoft.DataMigration.GP). 69 fields. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - hybridgp
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: e59b450bd9fc7429c661eccfacc6908d9a3994c26e10a844f44aaef1281ff878
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/HybridGP/app/src/Migration/History/GPRMHist.table.al
    title: src/Apps/W1/HybridGP/app/src/Migration/History/GPRMHist.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: 4065
name: GPRMHist
namespace: Microsoft.DataMigration.GP
app: HybridGP
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: 69
  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 4065 "GPRMHist"

> Table 4065 "GPRMHist" in HybridGP (Microsoft.DataMigration.GP). 69 fields. Introduced in BC29, still 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/GPRMHist.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 | CUSTNMBR | text[16] | Customer Number <small>caption</small> |  |
| 2 | CPRCSTNM | text[16] | Corporate Customer Number <small>caption</small> |  |
| 3 | DOCNUMBR | text[22] | Document Number <small>caption</small> |  |
| 4 | CHEKNMBR | text[22] | Check Number <small>caption</small> |  |
| 5 | BACHNUMB | text[16] | Batch Number <small>caption</small> |  |
| 6 | BCHSOURC | text[16] | Batch Source <small>caption</small> |  |
| 7 | TRXSORCE | text[14] | TRX Source <small>caption</small> |  |
| 8 | RMDTYPAL | Option | RM Document Type-All <small>caption</small> |  |
| 9 | DUEDATE | Date | Due Date <small>caption</small> |  |
| 10 | DOCDATE | Date | Document Date <small>caption</small> |  |
| 11 | POSTDATE | Date | Post Date <small>caption</small> |  |
| 12 | PSTUSRID | text[16] | Post User ID <small>caption</small> |  |
| 13 | GLPOSTDT | Date | GL Posting Date <small>caption</small> |  |
| 14 | LSTEDTDT | Date | Last Edit Date <small>caption</small> |  |
| 15 | LSTUSRED | text[16] | Last User to Edit <small>caption</small> |  |
| 16 | ORTRXAMT | Decimal | Original Trx Amount <small>caption</small> |  |
| 17 | CURTRXAM | Decimal | Current Trx Amount <small>caption</small> |  |
| 18 | SLSAMNT | Decimal | Sales Amount <small>caption</small> |  |
| 19 | COSTAMNT | Decimal | Cost Amount <small>caption</small> |  |
| 20 | FRTAMNT | Decimal | Freight Amount <small>caption</small> |  |
| 21 | MISCAMNT | Decimal | Misc Amount <small>caption</small> |  |
| 22 | TAXAMNT | Decimal | Tax Amount <small>caption</small> |  |
| 23 | COMDLRAM | Decimal | Commission Dollar Amount <small>caption</small> |  |
| 24 | CASHAMNT | Decimal | Cash Amount <small>caption</small> |  |
| 25 | DISTKNAM | Decimal | Discount Taken Amount <small>caption</small> |  |
| 26 | DISAVAMT | Decimal | Discount Available Amount <small>caption</small> |  |
| 27 | DISCRTND | Decimal | Discount Returned <small>caption</small> |  |
| 28 | DISCDATE | Date | Discount Date <small>caption</small> |  |
| 29 | DSCDLRAM | Decimal | Discount Dollar Amount <small>caption</small> |  |
| 30 | DSCPCTAM | Integer | Discount Percent Amount <small>caption</small> |  |
| 31 | WROFAMNT | Decimal | Write Off Amount <small>caption</small> |  |
| 32 | TRXDSCRN | text[32] | Transaction Description <small>caption</small> |  |
| 33 | CSPORNBR | text[22] | Customer Purchase Order Number <small>caption</small> |  |
| 34 | SLPRSNID | text[16] | Salesperson ID <small>caption</small> |  |
| 35 | SLSTERCD | text[16] | Sales Territory Code <small>caption</small> |  |
| 36 | DINVPDOF | Date | Date Invoice Paid Off <small>caption</small> |  |
| 37 | PPSAMDED | Decimal | PPS Amount Deducted <small>caption</small> |  |
| 38 | GSTDSAMT | Decimal | GST Discount Amount <small>caption</small> |  |
| 39 | DELETE1 | Boolean | Delete <small>caption</small> |  |
| 40 | TAXSCHID | text[16] | Tax Schedule ID <small>caption</small> |  |
| 41 | SLSCHDID | text[16] | Sales Schedule ID <small>caption</small> |  |
| 42 | FRTSCHID | text[16] | Freight Schedule ID <small>caption</small> |  |
| 43 | MSCSCHID | text[16] | Misc Schedule ID <small>caption</small> |  |
| 44 | CURNCYID | text[16] | Currency ID <small>caption</small> |  |
| 45 | SHIPMTHD | text[16] | Shipping Method <small>caption</small> |  |
| 46 | PYMTRMID | text[22] | Payment Terms ID <small>caption</small> |  |
| 47 | TRDISAMT | Decimal | Trade Discount Amount <small>caption</small> |  |
| 48 | NOTEINDX | Decimal | Note Index <small>caption</small> |  |
| 49 | VOIDSTTS | Option | Void Status <small>caption</small> |  |
| 50 | VOIDDATE | Date | Void Date <small>caption</small> |  |
| 51 | BALFWDNM | text[22] | Balance Forward Number <small>caption</small> |  |
| 52 | CSHRCTYP | Option | Cash Receipt Type <small>caption</small> |  |
| 53 | Tax_Date | Date | Tax Date <small>caption</small> |  |
| 54 | APLYWITH | Boolean | Apply Withholding <small>caption</small> |  |
| 55 | SALEDATE | Date | Sale Date <small>caption</small> |  |
| 56 | CORRCTN | Boolean | Correction <small>caption</small> |  |
| 57 | SIMPLIFD | Boolean | Simplified <small>caption</small> |  |
| 58 | Electronic | Boolean | — |  |
| 59 | ECTRX | Boolean | EC Transaction <small>caption</small> |  |
| 60 | BKTSLSAM | Decimal | Backout Sales Amount <small>caption</small> |  |
| 61 | BackoutTradeDisc | Decimal | Backout Trade Discount Amount <small>caption</small> |  |
| 62 | BKTFRTAM | Decimal | Backout Freight Amount <small>caption</small> |  |
| 63 | BKTMSCAM | Decimal | Backout Misc Amount <small>caption</small> |  |
| 64 | Factoring | Boolean | — |  |
| 65 | DIRECTDEBIT | Boolean | Direct Debit <small>caption</small> |  |
| 66 | ADRSCODE | text[16] | Address Code <small>caption</small> |  |
| 67 | EFTFLAG | Boolean | EFT Flag <small>caption</small> |  |
| 68 | DEX_ROW_TS | DateTime | — |  |
| 69 | DEX_ROW_ID | Integer | — |  |

## Keys

- PK: CUSTNMBR, RMDTYPAL, DOCNUMBR
- DueDate: DUEDATE
- Key3: DEX_ROW_ID

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