GPPOPPOHist

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

Table Type: Company

Table Name: GPPOPPOHist
Database Table Name:

Table Number: 4057

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

Show/hide columns in GPPOPPOHist table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1PONUMBER SearchPO NumberNormalText18
2POSTATUS Primary Key SearchPO StatusNormalOption4
3STATGRP SearchStatus GroupNormalOption4
4POTYPE SearchPO TypeNormalOption4
5USER2ENT SearchUser To EnterNormalText16
6CONFIRM1 SearchConfirm WithNormalText22
7DOCDATE SearchDocument DateNormalDate4
8LSTEDTDT SearchLast Edit DateNormalDate4
9LSTPRTDT SearchLast Printed DateNormalDate4
10PRMDATE SearchPromised DateNormalDate4
11PRMSHPDTE SearchPromised Ship DateNormalDate4
12REQDATE SearchRequired DateNormalDate4
13REQTNDT SearchRequisition DateNormalDate4
14SHIPMTHD SearchShipping MethodNormalText16
15TXRGNNUM SearchTax Registration NumberNormalText26
16REMSUBTO SearchRemaining SubtotalNormalDecimal12
17SUBTOTAL SearchSubtotalNormalDecimal12
18TRDISAMT SearchTrade Discount AmountNormalDecimal12
20FRTAMNT SearchFreight AmountNormalDecimal12
21MSCCHAMT SearchMisc Charges AmountNormalDecimal12
22TAXAMNT SearchTax AmountNormalDecimal12
23VENDORID SearchVendor IDNormalText16
Key to join to the Vendor table.

Show/hide example query

SELECT
	       [GPPOPPOHist].[]
	       ,[Vendor].[No_]
	FROM
	       [] AS [GPPOPPOHist]
	LEFT JOIN
	       [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
	              ON
	                     [GPPOPPOHist].[] = [Vendor].[No_]
24VENDNAME SearchVendor NameNormalText66
25MINORDER SearchMinimum OrderNormalDecimal12
26VADCDPAD SearchVendor Address Code – Purchase AddressNormalText16
27CMPANYID SearchCompany IDNormalInteger4
28PRBTADCD SearchPrimary Billto Address CodeNormalText16
29PRSTADCD SearchPrimary Shipto Address CodeNormalText16
30CMPNYNAM SearchCompany NameNormalText66
31CONTACT SearchContactNormalText62
32ADDRESS1 SearchAddress 1NormalText62
33ADDRESS2 SearchAddress 2NormalText62
34ADDRESS3 SearchAddress 3NormalText62
35CITY SearchCityNormalText36
Key to join to the Post Code table.

Show/hide example query

SELECT
	       [GPPOPPOHist].[]
	       ,[Post Code].[City]
	FROM
	       [] AS [GPPOPPOHist]
	LEFT JOIN
	       [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
	              ON
	                     [GPPOPPOHist].[] = [Post Code].[City]
36STATE SearchStateNormalText30
37ZIPCODE SearchZip CodeNormalText12
38CCode SearchCountry CodeNormalText8
39COUNTRY SearchCountryNormalText62
40PHONE1 SearchPhone 1NormalText22
41PHONE2 SearchPhone 2NormalText22
42PHONE3 SearchPhone 3NormalText22
43FAX SearchFaxNormalText22
44PYMTRMID SearchPayment Terms IDNormalText22
45DSCDLRAM SearchDiscount Dollar AmountNormalDecimal12
46DSCPCTAM SearchDiscount Percent AmountNormalInteger4
47DISAMTAV SearchDiscount Amount AvailableNormalDecimal12
48DISCDATE SearchDiscount DateNormalDate4
49DUEDATE SearchDue DateNormalDate4
50CUSTNMBR SearchCustomer NumberNormalText16
Key to join to the Customer table.

Show/hide example query

SELECT
	       [GPPOPPOHist].[]
	       ,[Customer].[No_]
	FROM
	       [] AS [GPPOPPOHist]
	LEFT JOIN
	       [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
	              ON
	                     [GPPOPPOHist].[] = [Customer].[No_]
51TIMESPRT SearchTimes PrintedNormalInteger4
52CREATDDT SearchCreated DateNormalDate4
53MODIFDT SearchModified DateNormalDate4
54PONOTIDS_1 SearchPO Note ID ArrayNormalDecimal12
55PONOTIDS_2 SearchPO Note ID ArrayNormalDecimal12
56PONOTIDS_3 SearchPO Note ID ArrayNormalDecimal12
57PONOTIDS_4 SearchPO Note ID ArrayNormalDecimal12
58PONOTIDS_5 SearchPO Note ID ArrayNormalDecimal12
59PONOTIDS_6 SearchPO Note ID ArrayNormalDecimal12
60PONOTIDS_7 SearchPO Note ID ArrayNormalDecimal12
61PONOTIDS_8 SearchPO Note ID ArrayNormalDecimal12
62PONOTIDS_9 SearchPO Note ID ArrayNormalDecimal12
63PONOTIDS_10 SearchPO Note ID ArrayNormalDecimal12
64PONOTIDS_11 SearchPO Note ID ArrayNormalDecimal12
65PONOTIDS_12 SearchPO Note ID ArrayNormalDecimal12
66PONOTIDS_13 SearchPO Note ID ArrayNormalDecimal12
67PONOTIDS_14 SearchPO Note ID ArrayNormalDecimal12
68PONOTIDS_15 SearchPO Note ID ArrayNormalDecimal12
69TRXSORCE SearchTRX SourceNormalText14
70COMMNTID SearchComment IDNormalText16
71CANCSUB SearchCanceled SubtotalNormalDecimal12
72CURNCYID SearchCurrency IDNormalText16
73CURRNIDX SearchCurrency IndexNormalInteger4
74RATETPID SearchRate Type IDNormalText16
75EXGTBLID SearchExchange Table IDNormalText16
76XCHGRATE SearchExchange RateNormalDecimal12
77EXCHDATE SearchExchange DateNormalDate4
78TIME1 SearchTimeNormalDateTime8
79RATECALC SearchRate Calc MethodNormalOption4
80DENXRATE SearchDenomination Exchange RateNormalDecimal12
81MCTRXSTT SearchMC Transaction StateNormalOption4
82OREMSUBT SearchOriginating Remaining SubtotalNormalDecimal12
83ORSUBTOT SearchOriginating SubtotalNormalDecimal12
84Originating_Canceled_Sub SearchOriginating Canceled SubtotalNormalDecimal12
85ORTDISAM SearchOriginating Trade Discount AmountNormalDecimal12
86ORFRTAMT SearchOriginating Freight AmountNormalDecimal12
87OMISCAMT SearchOriginating Misc Charges AmountNormalDecimal12
88ORTAXAMT SearchOriginating Tax AmountNormalDecimal12
89ORDDLRAT SearchOriginating Discount Dollar AmountNormalDecimal12
90ODISAMTAV SearchOriginating Discount Amount AvailableNormalDecimal12
91BUYERID SearchBuyer IDNormalText16
92ALLOWSOCMTS SearchAllow SO CommitmentsNormalBoolean4
93DISGRPER SearchDiscount Grace PeriodNormalInteger4
94DUEGRPER SearchDue Date Grace PeriodNormalInteger4
95Revision_Number SearchRevision NumberNormalInteger4
96TAXSCHID SearchTax Schedule IDNormalText16
97TXSCHSRC SearchTax Schedule SourceNormalOption4
98BSIVCTTL SearchBased On Invoice TotalNormalBoolean4
99Purchase_Freight_Taxable SearchPurchase Freight TaxableNormalOption4
100Purchase_Misc_Taxable SearchPurchase Misc TaxableNormalOption4
101FRTSCHID SearchFreight Schedule IDNormalText16
102MSCSCHID SearchMisc Schedule IDNormalText16
103FRTTXAMT SearchFreight Tax AmountNormalDecimal12
104ORFRTTAX SearchOriginating Freight Tax AmountNormalDecimal12
105MSCTXAMT SearchMisc Tax AmountNormalDecimal12
106ORMSCTAX SearchOriginating Misc Tax AmountNormalDecimal12
107BCKTXAMT SearchBackout Tax AmountNormalDecimal12
108OBTAXAMT SearchOriginating Backout Tax AmountNormalDecimal12
109BackoutFreightTaxAmt SearchBackout Freight Tax AmountNormalDecimal12
110OrigBackoutFreightTaxAmt SearchOriginating Backout Freight Tax AmountNormalDecimal12
111BackoutMiscTaxAmt SearchBackout Misc Tax AmountNormalDecimal12
112OrigBackoutMiscTaxAmt SearchOriginating Backout Misc Tax AmountNormalDecimal12
113Flags SearchFlagsNormalInteger4
114POPCONTNUM SearchPOP Contract NumberNormalText22
115CONTENDDTE SearchContract End DateNormalDate4
116CNTRLBLKTBY SearchControl Blanket ByNormalOption4
117PURCHCMPNYNAM SearchPurchase Company NameNormalText66
118PURCHCONTACT SearchPurchase ContactNormalText62
119PURCHADDRESS1 SearchPurchase Address 1NormalText62
120PURCHADDRESS2 SearchPurchase Address 2NormalText62
121PURCHADDRESS3 SearchPurchase Address 3NormalText62
122PURCHCITY SearchPurchase CityNormalText36
123PURCHSTATE SearchPurchase StateNormalText30
124PURCHZIPCODE SearchPurchase Zip CodeNormalText12
125PURCHCCode SearchPurchase Country CodeNormalText8
126PURCHCOUNTRY SearchPurchase CountryNormalText62
127PURCHPHONE1 SearchPurchase Phone 1NormalText22
128PURCHPHONE2 SearchPurchase Phone 2NormalText22
129PURCHPHONE3 SearchPurchase Phone 3NormalText22
130PURCHFAX SearchPurchase FaxNormalText22
131BLNKTLINEEXTQTYSUM SearchTotal Blanket Line Ext QtyNormalDecimal12
132Workflow_Approval_Status SearchWorkflow Approval StatusNormalOption4
133Workflow_Priority SearchWorkflow PriorityNormalOption4
134Workflow_Status SearchWorkflow StatusNormalOption4
135Print_Phone_NumberGB SearchPrint Phone Number GBNormalOption4
136PrepaymentAmount SearchPrepayment AmountNormalDecimal12
137OriginatingPrepaymentAmt SearchOriginating Prepayment AmountNormalDecimal12
138DEX_ROW_TS SearchDEX_ROW_TSNormalDateTime8
139DEX_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
	       [GPPOPPOHist].[]
	       ,[User].[User Security ID]
	FROM
	       [] AS [GPPOPPOHist]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [GPPOPPOHist].[] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8
2000000004SystemModifiedBy SearchModified ByNormalGUID16

Leave a Reply

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