GPSOPTrxHist

Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/4078

Table Type: Company

Table Name: GPSOPTrxHist
Database Table Name:

Table Number: 4078

Due to how Dynamics BC tables and columns are named, square brackets need to be wrapped around the table name and column names. Below are example queries showing how GPSOPTrxHist can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   []

Show/hide an example select of all columns by name

SELECT

FROM
   []

Show/hide an example select of all columns including those from all joined tables

SELECT
   *
FROM
   [] AS [GPSOPTrxHist]
LEFT JOIN
   [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
      ON
         [GPSOPTrxHist].[CUSTNMBR] = [Customer].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
      ON
         [GPSOPTrxHist].[City] = [Post Code].[City]
LEFT JOIN
   [User] AS [User]
      ON
         [GPSOPTrxHist].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [GPSOPTrxHist].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in GPSOPTrxHist table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1SOPTYPE SearchSOP TypeNormalOption4
2SOPNUMBE Primary Key SearchSOP NumberNormalText22
3ORIGTYPE Primary Key SearchOriginal TypeNormalOption4
4ORIGNUMB SearchOriginal NumberNormalText22
5DOCID SearchDocument IDNormalText16
6DOCDATE SearchDocument DateNormalDate4
7GLPOSTDT SearchGL Posting DateNormalDate4
8QUOTEDAT SearchQuote DateNormalDate4
9QUOEXPDA SearchQuote Expiration DateNormalDate4
10ORDRDATE SearchOrder DateNormalDate4
11INVODATE SearchInvoice DateNormalDate4
12BACKDATE SearchBack Order DateNormalDate4
13RETUDATE SearchReturn DateNormalDate4
14ReqShipDate SearchRequested Ship DateNormalDate4
15FUFILDAT SearchFulfillment DateNormalDate4
16ACTLSHIP SearchActual Ship DateNormalDate4
17DISCDATE SearchDiscount DateNormalDate4
18DUEDATE SearchDue DateNormalDate4
19REPTING SearchRepeatingNormalBoolean4
20TRXFREQU SearchTRX FrequencyNormalOption4
21TIMEREPD SearchTimes RepeatedNormalInteger4
22TIMETREP SearchTimes To RepeatNormalInteger4
23DYSTINCR SearchDays to IncrementNormalInteger4
24DTLSTREP SearchDate Last RepeatedNormalDate4
25DSTBTCH1 SearchDest Batch 1NormalText16
26DSTBTCH2 SearchDest Batch 2NormalText16
27USDOCID1 SearchUse Document ID 1NormalText16
28USDOCID2 SearchUse Document ID 2NormalText16
29DISCFRGT SearchDiscount Available FreightNormalDecimal12
30ORDAVFRT SearchOriginating Discount Available FreightNormalDecimal12
31DISCMISC SearchDiscount Available MiscNormalDecimal12
32ORDAVMSC SearchOriginating Discount Available MiscNormalDecimal12
33DISAVAMT SearchDiscount Available AmountNormalDecimal12
34ORDAVAMT SearchOriginating Discount Available AmountNormalDecimal12
35DISCRTND SearchDiscount ReturnedNormalDecimal12
36ORDISRTD SearchOriginating Discount ReturnedNormalDecimal12
37DISTKNAM SearchDiscount Taken AmountNormalDecimal12
38ORDISTKN SearchOriginating Discount Taken AmountNormalDecimal12
39DSCPCTAM SearchDiscount Percent AmountNormalInteger4
40DSCDLRAM SearchDiscount Dollar AmountNormalDecimal12
41ORDDLRAT SearchOriginating Discount Dollar AmountNormalDecimal12
42DISAVTKN SearchDiscount Available TakenNormalDecimal12
43ORDATKN SearchOriginating Discount Available TakenNormalDecimal12
44PYMTRMID SearchPayment Terms IDNormalText22
45PRCLEVEL SearchPriceLevelNormalText12
46LOCNCODE SearchLocation CodeNormalText12
47BCHSOURC SearchBatch SourceNormalText16
48BACHNUMB SearchBatch NumberNormalText16
49CUSTNMBR SearchCustomer NumberNormalText16
Key to join to the Customer table.

Show/hide example query

SELECT
	       [GPSOPTrxHist].[]
	       ,[Customer].[No_]
	FROM
	       [] AS [GPSOPTrxHist]
	LEFT JOIN
	       [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
	              ON
	                     [GPSOPTrxHist].[] = [Customer].[No_]
50CUSTNAME SearchCustomer NameNormalText66
51CSTPONBR SearchCustomer PO NumberNormalText22
52PROSPECT SearchProspectNormalInteger4
53MSTRNUMB SearchMaster NumberNormalInteger4
54PCKSLPNO SearchPacking Slip NumberNormalText22
55PICTICNU SearchPicking Ticket NumberNormalText22
56MRKDNAMT SearchMarkdown AmountNormalDecimal12
57ORMRKDAM SearchOriginating Markdown AmountNormalDecimal12
58PRBTADCD SearchPrimary Billto Address CodeNormalText16
59PRSTADCD SearchPrimary Shipto Address CodeNormalText16
60CNTCPRSN SearchContact PersonNormalText62
61ShipToName SearchShipToNameNormalText66
62ADDRESS1 SearchAddress 1NormalText62
63ADDRESS2 SearchAddress 2NormalText62
64ADDRESS3 SearchAddress 3NormalText62
65CITY SearchCityNormalText36
Key to join to the Post Code table.

Show/hide example query

SELECT
	       [GPSOPTrxHist].[]
	       ,[Post Code].[City]
	FROM
	       [] AS [GPSOPTrxHist]
	LEFT JOIN
	       [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
	              ON
	                     [GPSOPTrxHist].[] = [Post Code].[City]
66STATE SearchStateNormalText30
67ZIPCODE SearchZip CodeNormalText12
68CCode SearchCountry CodeNormalText8
69COUNTRY SearchCountryNormalText62
70PHNUMBR1 SearchPhone Number 1NormalText22
71PHNUMBR2 SearchPhone Number 2NormalText22
72PHONE3 SearchPhone 3NormalText22
73FAXNUMBR SearchFax NumberNormalText22
74COMAPPTO SearchCommission Applied ToNormalOption4
75COMMAMNT SearchCommission AmountNormalDecimal12
76OCOMMAMT SearchOriginating Commission AmountNormalDecimal12
77CMMSLAMT SearchCommission Sale AmountNormalDecimal12
78ORCOSAMT SearchOriginating Commission Sales AmountNormalDecimal12
79NCOMAMNT SearchNon-Commissioned AmountNormalDecimal12
80ORNCMAMT SearchOriginating Non-Commissioned AmountNormalDecimal12
81SHIPMTHD SearchShipping MethodNormalText16
82TRDISAMT SearchTrade Discount AmountNormalDecimal12
83ORTDISAM SearchOriginating Trade Discount AmountNormalDecimal12
84TRDISPCT SearchTrade Discount PercentNormalInteger4
85SUBTOTAL SearchSubtotalNormalDecimal12
86ORSUBTOT SearchOriginating SubtotalNormalDecimal12
87REMSUBTO SearchRemaining SubtotalNormalDecimal12
88OREMSUBT SearchOriginating Remaining SubtotalNormalDecimal12
89EXTDCOST SearchExtended CostNormalDecimal12
90OREXTCST SearchOriginating Extended CostNormalDecimal12
91FRTAMNT SearchFreight AmountNormalDecimal12
92ORFRTAMT SearchOriginating Freight AmountNormalDecimal12
93MISCAMNT SearchMisc AmountNormalDecimal12
94ORMISCAMT SearchOriginating Misc AmountNormalDecimal12
95TXENGCLD SearchTax Engine CalledNormalBoolean4
96TAXEXMT1 SearchTax Exempt 1NormalText26
97TAXEXMT2 SearchTax Exempt 2NormalText26
98TXRGNNUM SearchTax Registration NumberNormalText26
99TAXSCHID SearchTax Schedule IDNormalText16
100TXSCHSRC SearchTax Schedule SourceNormalOption4
101BSIVCTTL SearchBased On Invoice TotalNormalBoolean4
102FRTSCHID SearchFreight Schedule IDNormalText16
103FRTTXAMT SearchFreight Tax AmountNormalDecimal12
104ORFRTTAX SearchOriginating Freight Tax AmountNormalDecimal12
105FRGTTXBL SearchFreight TaxableNormalOption4
106MSCSCHID SearchMisc Schedule IDNormalText16
107MSCTXAMT SearchMisc Tax AmountNormalDecimal12
108ORMSCTAX SearchOriginating Misc Tax AmountNormalDecimal12
109MISCTXBL SearchMisc TaxableNormalOption4
110BKTFRTAM SearchBackout Freight AmountNormalDecimal12
111ORBKTFRT SearchOriginating Backout Freight AmountNormalDecimal12
112BKTMSCAM SearchBackout Misc AmountNormalDecimal12
113ORBKTMSC SearchOriginating Backout Misc AmountNormalDecimal12
114BCKTXAMT SearchBackout Tax AmountNormalDecimal12
115OBTAXAMT SearchOriginating Backout Tax AmountNormalDecimal12
116TXBTXAMT SearchTaxable Tax AmountNormalDecimal12
117OTAXTAMT SearchOriginating Taxable Tax AmountNormalDecimal12
118TAXAMNT SearchTax AmountNormalDecimal12
119ORTAXAMT SearchOriginating Tax AmountNormalDecimal12
120ECTRX SearchEC TransactionNormalBoolean4
121DOCAMNT SearchDocument AmountNormalDecimal12
122ORDOCAMT SearchOriginating Document AmountNormalDecimal12
123PYMTRCVD SearchPayment ReceivedNormalDecimal12
124ORPMTRVD SearchOriginating Payment ReceivedNormalDecimal12
125DEPRECVD SearchDeposit ReceivedNormalDecimal12
126ORDEPRVD SearchOriginating Deposit ReceivedNormalDecimal12
127CODAMNT SearchCOD AmountNormalDecimal12
128ORCODAMT SearchOriginating COD AmountNormalDecimal12
129ACCTAMNT SearchAccount AmountNormalDecimal12
130ORACTAMT SearchOriginating Account AmountNormalDecimal12
131SALSTERR SearchSales TerritoryNormalText16
132SLPRSNID SearchSalesperson IDNormalText16
133UPSZONE SearchUPS ZoneNormalText4
134TIMESPRT SearchTimes PrintedNormalInteger4
135PSTGSTUS SearchPosting StatusNormalInteger4
136VOIDSTTS SearchVoid StatusNormalOption4
137ALLOCABY SearchAllocate ByNormalOption4
138NOTEINDX SearchNote IndexNormalDecimal12
139CURNCYID SearchCurrency IDNormalText16
140CURRNIDX SearchCurrency IndexNormalInteger4
141RATETPID SearchRate Type IDNormalText16
142EXGTBLID SearchExchange Table IDNormalText16
143XCHGRATE SearchExchange RateNormalDecimal12
144DENXRATE SearchDenomination Exchange RateNormalDecimal12
145EXCHDATE SearchExchange DateNormalDate4
146TIME1 SearchTimeNormalDateTime8
147RTCLCMTD SearchRate Calculation MethodNormalOption4
148MCTRXSTT SearchMC Transaction StateNormalOption4
149TRXSORCE SearchTRX SourceNormalText14
150COMMNTID SearchComment IDNormalText16
151REFRENCE SearchReferenceNormalText32
152POSTEDDT SearchPosted DateNormalDate4
153PTDUSRID SearchPosted User IDNormalText16
154USER2ENT SearchUser To EnterNormalText16
155CREATDDT SearchCreated DateNormalDate4
156MODIFDT SearchModified DateNormalDate4
157Tax_Date SearchTax DateNormalDate4
158APLYWITH SearchApply WithholdingNormalBoolean4
159WITHHAMT SearchWithholding AmountNormalDecimal12
160SHPPGDOC SearchShipping DocumentNormalBoolean4
161CORRCTN SearchCorrectionNormalBoolean4
162SIMPLIFD SearchSimplifiedNormalBoolean4
163DOCNCORR SearchDocument Number CorrectedNormalText22
164SEQNCORR SearchSequence Number CorrectedNormalInteger4
165SALEDATE SearchSale DateNormalDate4
166EXCEPTIONALDEMAND SearchExceptional DemandNormalBoolean4
167Flags SearchFlagsNormalInteger4
168SOPSTATUS SearchSOP StatusNormalOption4
169SHIPCOMPLETE SearchShip Complete DocumentNormalBoolean4
170DIRECTDEBIT SearchDirect DebitNormalBoolean4
171WorkflowApprStatCreditLm SearchWorkflow Approval Status Credit LimitNormalOption4
172WorkflowPriorityCreditLm SearchWorkflow Priority Credit LimitNormalOption4
173WorkflowApprStatusQuote SearchWorkflow Approval Status QuoteNormalOption4
174WorkflowPriorityQuote SearchWorkflow Priority QuoteNormalOption4
175Workflow_Status SearchWorkflow StatusNormalOption4
176ContractExchangeRateStat SearchContract Exchange Rate StatusNormalInteger4
177Print_Phone_NumberGB SearchPrint Phone Number GBNormalOption4
178DEX_ROW_TS SearchDEX_ROW_TSNormalDateTime8
179DEX_ROW_ID SearchDEX_ROW_IDNormalInteger4
2000000000$systemId SearchSystem IDNormalGUID16
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8
2000000002SystemCreatedBy SearchCreated ByNormalGUID16
Key to join to the User table.

Show/hide example query

SELECT
	       [GPSOPTrxHist].[]
	       ,[User].[User Security ID]
	FROM
	       [] AS [GPSOPTrxHist]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [GPSOPTrxHist].[] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8
2000000004SystemModifiedBy SearchModified ByNormalGUID16

Leave a Reply

Your email address will not be published. Required fields are marked *