---
id: object/table/4078
type: object
title: Table 4078 "GPSOPTrxHist"
summary: Table 4078 "GPSOPTrxHist" in HybridGP (Microsoft.DataMigration.GP). 179 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: 7a918312ba91379af4c45fcb673ed6fa5a39267adc91cf0c33fe618aa24b062d
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/HybridGP/app/src/Migration/History/GPSOPTrxHist.table.al
    title: src/Apps/W1/HybridGP/app/src/Migration/History/GPSOPTrxHist.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: 4078
name: GPSOPTrxHist
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: 179
  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 4078 "GPSOPTrxHist"

> Table 4078 "GPSOPTrxHist" in HybridGP (Microsoft.DataMigration.GP). 179 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/GPSOPTrxHist.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 | SOPTYPE | Option | SOP Type <small>caption</small> |  |
| 2 | SOPNUMBE | text[22] | SOP Number <small>caption</small> |  |
| 3 | ORIGTYPE | Option | Original Type <small>caption</small> |  |
| 4 | ORIGNUMB | text[22] | Original Number <small>caption</small> |  |
| 5 | DOCID | text[16] | Document ID <small>caption</small> |  |
| 6 | DOCDATE | Date | Document Date <small>caption</small> |  |
| 7 | GLPOSTDT | Date | GL Posting Date <small>caption</small> |  |
| 8 | QUOTEDAT | Date | Quote Date <small>caption</small> |  |
| 9 | QUOEXPDA | Date | Quote Expiration Date <small>caption</small> |  |
| 10 | ORDRDATE | Date | Order Date <small>caption</small> |  |
| 11 | INVODATE | Date | Invoice Date <small>caption</small> |  |
| 12 | BACKDATE | Date | Back Order Date <small>caption</small> |  |
| 13 | RETUDATE | Date | Return Date <small>caption</small> |  |
| 14 | ReqShipDate | Date | Requested Ship Date <small>caption</small> |  |
| 15 | FUFILDAT | Date | Fulfillment Date <small>caption</small> |  |
| 16 | ACTLSHIP | Date | Actual Ship Date <small>caption</small> |  |
| 17 | DISCDATE | Date | Discount Date <small>caption</small> |  |
| 18 | DUEDATE | Date | Due Date <small>caption</small> |  |
| 19 | REPTING | Boolean | Repeating <small>caption</small> |  |
| 20 | TRXFREQU | Option | TRX Frequency <small>caption</small> |  |
| 21 | TIMEREPD | Integer | Times Repeated <small>caption</small> |  |
| 22 | TIMETREP | Integer | Times To Repeat <small>caption</small> |  |
| 23 | DYSTINCR | Integer | Days to Increment <small>caption</small> |  |
| 24 | DTLSTREP | Date | Date Last Repeated <small>caption</small> |  |
| 25 | DSTBTCH1 | text[16] | Dest Batch 1 <small>caption</small> |  |
| 26 | DSTBTCH2 | text[16] | Dest Batch 2 <small>caption</small> |  |
| 27 | USDOCID1 | text[16] | Use Document ID 1 <small>caption</small> |  |
| 28 | USDOCID2 | text[16] | Use Document ID 2 <small>caption</small> |  |
| 29 | DISCFRGT | Decimal | Discount Available Freight <small>caption</small> |  |
| 30 | ORDAVFRT | Decimal | Originating Discount Available Freight <small>caption</small> |  |
| 31 | DISCMISC | Decimal | Discount Available Misc <small>caption</small> |  |
| 32 | ORDAVMSC | Decimal | Originating Discount Available Misc <small>caption</small> |  |
| 33 | DISAVAMT | Decimal | Discount Available Amount <small>caption</small> |  |
| 34 | ORDAVAMT | Decimal | Originating Discount Available Amount <small>caption</small> |  |
| 35 | DISCRTND | Decimal | Discount Returned <small>caption</small> |  |
| 36 | ORDISRTD | Decimal | Originating Discount Returned <small>caption</small> |  |
| 37 | DISTKNAM | Decimal | Discount Taken Amount <small>caption</small> |  |
| 38 | ORDISTKN | Decimal | Originating Discount Taken Amount <small>caption</small> |  |
| 39 | DSCPCTAM | Integer | Discount Percent Amount <small>caption</small> |  |
| 40 | DSCDLRAM | Decimal | Discount Dollar Amount <small>caption</small> |  |
| 41 | ORDDLRAT | Decimal | Originating Discount Dollar Amount <small>caption</small> |  |
| 42 | DISAVTKN | Decimal | Discount Available Taken <small>caption</small> |  |
| 43 | ORDATKN | Decimal | Originating Discount Available Taken <small>caption</small> |  |
| 44 | PYMTRMID | text[22] | Payment Terms ID <small>caption</small> |  |
| 45 | PRCLEVEL | text[12] | PriceLevel <small>caption</small> |  |
| 46 | LOCNCODE | text[12] | Location Code <small>caption</small> |  |
| 47 | BCHSOURC | text[16] | Batch Source <small>caption</small> |  |
| 48 | BACHNUMB | text[16] | Batch Number <small>caption</small> |  |
| 49 | CUSTNMBR | text[16] | Customer Number <small>caption</small> |  |
| 50 | CUSTNAME | text[66] | Customer Name <small>caption</small> |  |
| 51 | CSTPONBR | text[22] | Customer PO Number <small>caption</small> |  |
| 52 | PROSPECT | Integer | Prospect <small>caption</small> |  |
| 53 | MSTRNUMB | Integer | Master Number <small>caption</small> |  |
| 54 | PCKSLPNO | text[22] | Packing Slip Number <small>caption</small> |  |
| 55 | PICTICNU | text[22] | Picking Ticket Number <small>caption</small> |  |
| 56 | MRKDNAMT | Decimal | Markdown Amount <small>caption</small> |  |
| 57 | ORMRKDAM | Decimal | Originating Markdown Amount <small>caption</small> |  |
| 58 | PRBTADCD | text[16] | Primary Billto Address Code <small>caption</small> |  |
| 59 | PRSTADCD | text[16] | Primary Shipto Address Code <small>caption</small> |  |
| 60 | CNTCPRSN | text[62] | Contact Person <small>caption</small> |  |
| 61 | ShipToName | text[66] | — |  |
| 62 | ADDRESS1 | text[62] | Address 1 <small>caption</small> |  |
| 63 | ADDRESS2 | text[62] | Address 2 <small>caption</small> |  |
| 64 | ADDRESS3 | text[62] | Address 3 <small>caption</small> |  |
| 65 | CITY | text[36] | City <small>caption</small> |  |
| 66 | STATE | text[30] | State <small>caption</small> |  |
| 67 | ZIPCODE | text[12] | Zip Code <small>caption</small> |  |
| 68 | CCode | text[8] | Country Code <small>caption</small> |  |
| 69 | COUNTRY | text[62] | Country <small>caption</small> |  |
| 70 | PHNUMBR1 | text[22] | Phone Number 1 <small>caption</small> |  |
| 71 | PHNUMBR2 | text[22] | Phone Number 2 <small>caption</small> |  |
| 72 | PHONE3 | text[22] | Phone 3 <small>caption</small> |  |
| 73 | FAXNUMBR | text[22] | Fax Number <small>caption</small> |  |
| 74 | COMAPPTO | Option | Commission Applied To <small>caption</small> |  |
| 75 | COMMAMNT | Decimal | Commission Amount <small>caption</small> |  |
| 76 | OCOMMAMT | Decimal | Originating Commission Amount <small>caption</small> |  |
| 77 | CMMSLAMT | Decimal | Commission Sale Amount <small>caption</small> |  |
| 78 | ORCOSAMT | Decimal | Originating Commission Sales Amount <small>caption</small> |  |
| 79 | NCOMAMNT | Decimal | Non-Commissioned Amount <small>caption</small> |  |
| 80 | ORNCMAMT | Decimal | Originating Non-Commissioned Amount <small>caption</small> |  |
| 81 | SHIPMTHD | text[16] | Shipping Method <small>caption</small> |  |
| 82 | TRDISAMT | Decimal | Trade Discount Amount <small>caption</small> |  |
| 83 | ORTDISAM | Decimal | Originating Trade Discount Amount <small>caption</small> |  |
| 84 | TRDISPCT | Integer | Trade Discount Percent <small>caption</small> |  |
| 85 | SUBTOTAL | Decimal | Subtotal <small>caption</small> |  |
| 86 | ORSUBTOT | Decimal | Originating Subtotal <small>caption</small> |  |
| 87 | REMSUBTO | Decimal | Remaining Subtotal <small>caption</small> |  |
| 88 | OREMSUBT | Decimal | Originating Remaining Subtotal <small>caption</small> |  |
| 89 | EXTDCOST | Decimal | Extended Cost <small>caption</small> |  |
| 90 | OREXTCST | Decimal | Originating Extended Cost <small>caption</small> |  |
| 91 | FRTAMNT | Decimal | Freight Amount <small>caption</small> |  |
| 92 | ORFRTAMT | Decimal | Originating Freight Amount <small>caption</small> |  |
| 93 | MISCAMNT | Decimal | Misc Amount <small>caption</small> |  |
| 94 | ORMISCAMT | Decimal | Originating Misc Amount <small>caption</small> |  |
| 95 | TXENGCLD | Boolean | Tax Engine Called <small>caption</small> |  |
| 96 | TAXEXMT1 | text[26] | Tax Exempt 1 <small>caption</small> |  |
| 97 | TAXEXMT2 | text[26] | Tax Exempt 2 <small>caption</small> |  |
| 98 | TXRGNNUM | text[26] | Tax Registration Number <small>caption</small> |  |
| 99 | TAXSCHID | text[16] | Tax Schedule ID <small>caption</small> |  |
| 100 | TXSCHSRC | Option | Tax Schedule Source <small>caption</small> |  |
| 101 | BSIVCTTL | Boolean | Based On Invoice Total <small>caption</small> |  |
| 102 | FRTSCHID | text[16] | Freight Schedule ID <small>caption</small> |  |
| 103 | FRTTXAMT | Decimal | Freight Tax Amount <small>caption</small> |  |
| 104 | ORFRTTAX | Decimal | Originating Freight Tax Amount <small>caption</small> |  |
| 105 | FRGTTXBL | Option | Freight Taxable <small>caption</small> |  |
| 106 | MSCSCHID | text[16] | Misc Schedule ID <small>caption</small> |  |
| 107 | MSCTXAMT | Decimal | Misc Tax Amount <small>caption</small> |  |
| 108 | ORMSCTAX | Decimal | Originating Misc Tax Amount <small>caption</small> |  |
| 109 | MISCTXBL | Option | Misc Taxable <small>caption</small> |  |
| 110 | BKTFRTAM | Decimal | Backout Freight Amount <small>caption</small> |  |
| 111 | ORBKTFRT | Decimal | Originating Backout Freight Amount <small>caption</small> |  |
| 112 | BKTMSCAM | Decimal | Backout Misc Amount <small>caption</small> |  |
| 113 | ORBKTMSC | Decimal | Originating Backout Misc Amount <small>caption</small> |  |
| 114 | BCKTXAMT | Decimal | Backout Tax Amount <small>caption</small> |  |
| 115 | OBTAXAMT | Decimal | Originating Backout Tax Amount <small>caption</small> |  |
| 116 | TXBTXAMT | Decimal | Taxable Tax Amount <small>caption</small> |  |
| 117 | OTAXTAMT | Decimal | Originating Taxable Tax Amount <small>caption</small> |  |
| 118 | TAXAMNT | Decimal | Tax Amount <small>caption</small> |  |
| 119 | ORTAXAMT | Decimal | Originating Tax Amount <small>caption</small> |  |
| 120 | ECTRX | Boolean | EC Transaction <small>caption</small> |  |
| 121 | DOCAMNT | Decimal | Document Amount <small>caption</small> |  |
| 122 | ORDOCAMT | Decimal | Originating Document Amount <small>caption</small> |  |
| 123 | PYMTRCVD | Decimal | Payment Received <small>caption</small> |  |
| 124 | ORPMTRVD | Decimal | Originating Payment Received <small>caption</small> |  |
| 125 | DEPRECVD | Decimal | Deposit Received <small>caption</small> |  |
| 126 | ORDEPRVD | Decimal | Originating Deposit Received <small>caption</small> |  |
| 127 | CODAMNT | Decimal | COD Amount <small>caption</small> |  |
| 128 | ORCODAMT | Decimal | Originating COD Amount <small>caption</small> |  |
| 129 | ACCTAMNT | Decimal | Account Amount <small>caption</small> |  |
| 130 | ORACTAMT | Decimal | Originating Account Amount <small>caption</small> |  |
| 131 | SALSTERR | text[16] | Sales Territory <small>caption</small> |  |
| 132 | SLPRSNID | text[16] | Salesperson ID <small>caption</small> |  |
| 133 | UPSZONE | text[4] | UPS Zone <small>caption</small> |  |
| 134 | TIMESPRT | Integer | Times Printed <small>caption</small> |  |
| 135 | PSTGSTUS | Integer | Posting Status <small>caption</small> |  |
| 136 | VOIDSTTS | Option | Void Status <small>caption</small> |  |
| 137 | ALLOCABY | Option | Allocate By <small>caption</small> |  |
| 138 | NOTEINDX | Decimal | Note Index <small>caption</small> |  |
| 139 | CURNCYID | text[16] | Currency ID <small>caption</small> |  |
| 140 | CURRNIDX | Integer | Currency Index <small>caption</small> |  |
| 141 | RATETPID | text[16] | Rate Type ID <small>caption</small> |  |
| 142 | EXGTBLID | text[16] | Exchange Table ID <small>caption</small> |  |
| 143 | XCHGRATE | Decimal | Exchange Rate <small>caption</small> |  |
| 144 | DENXRATE | Decimal | Denomination Exchange Rate <small>caption</small> |  |
| 145 | EXCHDATE | Date | Exchange Date <small>caption</small> |  |
| 146 | TIME1 | DateTime | Time <small>caption</small> |  |
| 147 | RTCLCMTD | Option | Rate Calculation Method <small>caption</small> |  |
| 148 | MCTRXSTT | Option | MC Transaction State <small>caption</small> |  |
| 149 | TRXSORCE | text[14] | TRX Source <small>caption</small> |  |
| 150 | COMMNTID | text[16] | Comment ID <small>caption</small> |  |
| 151 | REFRENCE | text[32] | Reference <small>caption</small> |  |
| 152 | POSTEDDT | Date | Posted Date <small>caption</small> |  |
| 153 | PTDUSRID | text[16] | Posted User ID <small>caption</small> |  |
| 154 | USER2ENT | text[16] | User To Enter <small>caption</small> |  |
| 155 | CREATDDT | Date | Created Date <small>caption</small> |  |
| 156 | MODIFDT | Date | Modified Date <small>caption</small> |  |
| 157 | Tax_Date | Date | Tax Date <small>caption</small> |  |
| 158 | APLYWITH | Boolean | Apply Withholding <small>caption</small> |  |
| 159 | WITHHAMT | Decimal | Withholding Amount <small>caption</small> |  |
| 160 | SHPPGDOC | Boolean | Shipping Document <small>caption</small> |  |
| 161 | CORRCTN | Boolean | Correction <small>caption</small> |  |
| 162 | SIMPLIFD | Boolean | Simplified <small>caption</small> |  |
| 163 | DOCNCORR | text[22] | Document Number Corrected <small>caption</small> |  |
| 164 | SEQNCORR | Integer | Sequence Number Corrected <small>caption</small> |  |
| 165 | SALEDATE | Date | Sale Date <small>caption</small> |  |
| 166 | EXCEPTIONALDEMAND | Boolean | Exceptional Demand <small>caption</small> |  |
| 167 | Flags | Integer | — |  |
| 168 | SOPSTATUS | Option | SOP Status <small>caption</small> |  |
| 169 | SHIPCOMPLETE | Boolean | Ship Complete Document <small>caption</small> |  |
| 170 | DIRECTDEBIT | Boolean | Direct Debit <small>caption</small> |  |
| 171 | WorkflowApprStatCreditLm | Option | Workflow Approval Status Credit Limit <small>caption</small> |  |
| 172 | WorkflowPriorityCreditLm | Option | Workflow Priority Credit Limit <small>caption</small> |  |
| 173 | WorkflowApprStatusQuote | Option | Workflow Approval Status Quote <small>caption</small> |  |
| 174 | WorkflowPriorityQuote | Option | Workflow Priority Quote <small>caption</small> |  |
| 175 | Workflow_Status | Option | Workflow Status <small>caption</small> |  |
| 176 | ContractExchangeRateStat | Integer | Contract Exchange Rate Status <small>caption</small> |  |
| 177 | Print_Phone_NumberGB | Option | Print Phone Number GB <small>caption</small> |  |
| 178 | DEX_ROW_TS | DateTime | — |  |
| 179 | DEX_ROW_ID | Integer | — |  |

## Keys

- PK: SOPNUMBE, SOPTYPE
- DueDate: DUEDATE
- Key3: DEX_ROW_ID
- Key4: DEX_ROW_ID, DOCDATE
- Key5: PYMTRMID

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