GPSOPTrxAmountsHist

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

Table Type: Company

Table Name: GPSOPTrxAmountsHist
Database Table Name:

Table Number: 4077

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 GPSOPTrxAmountsHist 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 [GPSOPTrxAmountsHist]
LEFT JOIN
   [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
      ON
         [GPSOPTrxAmountsHist].[City] = [Post Code].[City]
LEFT JOIN
   [User] AS [User]
      ON
         [GPSOPTrxAmountsHist].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [GPSOPTrxAmountsHist].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in GPSOPTrxAmountsHist table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1SOPTYPE SearchSOP TypeNormalOption4
2SOPNUMBE Primary Key SearchSOP NumberNormalText22
3LNITMSEQ Primary Key SearchLine Item SequenceNormalInteger4
4CMPNTSEQ Primary Key SearchComponent SequenceNormalInteger4
5ITEMNMBR Primary Key SearchItem NumberNormalText32
6ITEMDESC SearchItem DescriptionNormalText102
7NONINVEN SearchNon-Inventory ItemNormalOption4
8DROPSHIP SearchDrop ShipNormalInteger4
9UOFM SearchU Of MNormalText10
10LOCNCODE SearchLocation CodeNormalText12
11UNITCOST SearchUnit CostNormalDecimal12
12ORUNTCST SearchOriginating Unit CostNormalDecimal12
13UNITPRCE SearchUnit PriceNormalDecimal12
14ORUNTPRC SearchOriginating Unit PriceNormalDecimal12
15XTNDPRCE SearchExtended PriceNormalDecimal12
16OXTNDPRC SearchOriginating Extended PriceNormalDecimal12
17REMPRICE SearchRemaining PriceNormalDecimal12
18OREPRICE SearchOriginating Remaining PriceNormalDecimal12
19EXTDCOST SearchExtended CostNormalDecimal12
20OREXTCST SearchOriginating Extended CostNormalDecimal12
21MRKDNAMT SearchMarkdown AmountNormalDecimal12
22ORMRKDAM SearchOriginating Markdown AmountNormalDecimal12
23MRKDNPCT SearchMarkdown PercentNormalInteger4
24MRKDNTYP SearchMarkdown TypeNormalOption4
25INVINDX SearchInventory IndexNormalInteger4
26CSLSINDX SearchCost Of Sales IndexNormalInteger4
27SLSINDX SearchSales IndexNormalInteger4
28MKDNINDX SearchMarkdown IndexNormalInteger4
29RTNSINDX SearchReturns IndexNormalInteger4
30INUSINDX SearchIn Use IndexNormalInteger4
31INSRINDX SearchIn Service IndexNormalInteger4
32DMGDINDX SearchDamaged IndexNormalInteger4
33ITMTSHID SearchItem Tax Schedule IDNormalText16
34IVITMTXB SearchIV Item TaxableNormalOption4
35BKTSLSAM SearchBackout Sales AmountNormalDecimal12
36ORBKTSLS SearchOriginating Backout Sales AmountNormalDecimal12
37TAXAMNT SearchTax AmountNormalDecimal12
38ORTAXAMT SearchOriginating Tax AmountNormalDecimal12
39TXBTXAMT SearchTaxable Tax AmountNormalDecimal12
40OTAXTAMT SearchOriginating Taxable Tax AmountNormalDecimal12
41BSIVCTTL SearchBased On Invoice TotalNormalBoolean4
42TRDISAMT SearchTrade Discount AmountNormalDecimal12
43ORTDISAM SearchOriginating Trade Discount AmountNormalDecimal12
44DISCSALE SearchDiscount Available SalesNormalDecimal12
45ORDAVSLS SearchOriginating Discount Available SalesNormalDecimal12
46QUANTITY SearchQTYNormalDecimal12
47ATYALLOC SearchQTY AllocatedNormalDecimal12
48QTYINSVC SearchQTY In ServiceNormalDecimal12
49QTYINUSE SearchQTY In UseNormalDecimal12
50QTYDMGED SearchQTY DamagedNormalDecimal12
51QTYRTRND SearchQTY ReturnedNormalDecimal12
52QTYONHND SearchQTY On HandNormalDecimal12
53QTYCANCE SearchQTY CanceledNormalDecimal12
54QTYCANOT SearchQTY Canceled OtherNormalDecimal12
55QTYORDER SearchQTY OrderedNormalDecimal12
56QTYPRBAC SearchQTY Prev Back OrderedNormalDecimal12
57QTYPRBOO SearchQTY Prev BO On OrderNormalDecimal12
58QTYPRINV SearchQTY Prev InvoicedNormalDecimal12
59QTYPRORD SearchQTY Prev OrderedNormalDecimal12
60QTYPRVRECVD SearchQTY Prev ReceivedNormalDecimal12
61QTYRECVD SearchQTY ReceivedNormalDecimal12
62QTYREMAI SearchQTY RemainingNormalDecimal12
63QTYREMBO SearchQTY Remaining On BONormalDecimal12
64QTYTBAOR SearchQTY To Back OrderNormalDecimal12
65QTYTOINV SearchQTY To InvoiceNormalDecimal12
66QTYTORDR SearchQTY To OrderNormalDecimal12
67QTYFULFI SearchQTY FulfilledNormalDecimal12
68QTYSLCTD SearchQTY SelectedNormalDecimal12
69QTYBSUOM SearchQTY In Base U Of MNormalDecimal12
70EXTQTYAL SearchExisting Qty AvailableNormalDecimal12
71EXTQTYSEL SearchExisting Qty SelectedNormalDecimal12
72ReqShipDate SearchRequested Ship DateNormalDate4
73FUFILDAT SearchFulfillment DateNormalDate4
74ACTLSHIP SearchActual Ship DateNormalDate4
75SHIPMTHD SearchShipping MethodNormalText16
76SALSTERR SearchSales TerritoryNormalText16
77SLPRSNID SearchSalesperson IDNormalText16
78PRCLEVEL SearchPriceLevelNormalText12
79COMMNTID SearchComment IDNormalText16
80BRKFLD1 SearchBreak Field 1NormalInteger4
81BRKFLD2 SearchBreak Field 2NormalInteger4
82BRKFLD3 SearchBreak Field 3NormalInteger4
83CURRNIDX SearchCurrency IndexNormalInteger4
84TRXSORCE SearchTRX SourceNormalText14
85DOCNCORR SearchDocument Number CorrectedNormalText22
86ORGSEQNM SearchOriginal Sequence Number CorrectedNormalInteger4
87ITEMCODE SearchItem CodeNormalText16
88PURCHSTAT SearchPurchasing StatusNormalOption4
89DECPLQTY SearchDecimal Places QTYSNormalOption4
90DECPLCUR SearchDecimal Places CurrencyNormalOption4
91ODECPLCU SearchOriginating Decimal Places CurrencyNormalOption4
92EXCEPTIONALDEMAND SearchExceptional DemandNormalBoolean4
93TAXSCHID SearchTax Schedule IDNormalText16
94TXSCHSRC SearchTax Schedule SourceNormalOption4
95PRSTADCD SearchPrimary Shipto Address CodeNormalText16
96ShipToName SearchShipToNameNormalText66
97CNTCPRSN SearchContact PersonNormalText62
98ADDRESS1 SearchAddress 1NormalText62
99ADDRESS2 SearchAddress 2NormalText62
100ADDRESS3 SearchAddress 3NormalText62
101CITY SearchCityNormalText36
Key to join to the Post Code table.

Show/hide example query

SELECT
	       [GPSOPTrxAmountsHist].[]
	       ,[Post Code].[City]
	FROM
	       [] AS [GPSOPTrxAmountsHist]
	LEFT JOIN
	       [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
	              ON
	                     [GPSOPTrxAmountsHist].[] = [Post Code].[City]
102STATE SearchStateNormalText30
103ZIPCODE SearchZip CodeNormalText12
104CCode SearchCountry CodeNormalText8
105COUNTRY SearchCountryNormalText62
106PHONE1 SearchPhone 1NormalText22
107PHONE2 SearchPhone 2NormalText22
108PHONE3 SearchPhone 3NormalText22
109FAXNUMBR SearchFax NumberNormalText22
110Flags SearchFlagsNormalInteger4
111CONTNBR SearchContract NumberNormalText12
112CONTLNSEQNBR SearchContract Line SEQ NumberNormalDecimal12
113CONTSTARTDTE SearchContract Start DateNormalDate4
114CONTENDDTE SearchContract End DateNormalDate4
115CONTITEMNBR SearchContract Item NumberNormalText32
116CONTSERIALNBR SearchContract Serial NumberNormalText22
117ISLINEINTRA SearchIsLineIntrastatNormalBoolean4
118Print_Phone_NumberGB SearchPrint Phone Number GBNormalOption4
119DEX_ROW_TS SearchDEX_ROW_TSNormalDateTime8
120DEX_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
	       [GPSOPTrxAmountsHist].[]
	       ,[User].[User Security ID]
	FROM
	       [] AS [GPSOPTrxAmountsHist]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [GPSOPTrxAmountsHist].[] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8
2000000004SystemModifiedBy SearchModified ByNormalGUID16

Leave a Reply

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