GPPOPPOLineHist

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

Table Type: Company

Table Name: GPPOPPOLineHist
Database Table Name:

Table Number: 4058

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

Show/hide columns in GPPOPPOLineHist table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1PONUMBER SearchPO NumberNormalText18
2ORD Primary Key SearchOrdNormalInteger4
3POLNESTA Primary Key SearchPO Line StatusNormalOption4
4POTYPE SearchPO TypeNormalOption4
5ITEMNMBR SearchItem NumberNormalText32
6ITEMDESC SearchItem DescriptionNormalText102
7VENDORID SearchVendor IDNormalText16
Key to join to the Vendor table.

Show/hide example query

SELECT
	       [GPPOPPOLineHist].[]
	       ,[Vendor].[No_]
	FROM
	       [] AS [GPPOPPOLineHist]
	LEFT JOIN
	       [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
	              ON
	                     [GPPOPPOLineHist].[] = [Vendor].[No_]
8VNDITNUM SearchVendor Item NumberNormalText32
9VNDITDSC SearchVendor Item DescriptionNormalText102
10NONINVEN SearchNon-Inventory ItemNormalOption4
11LOCNCODE SearchLocation CodeNormalText12
12UOFM SearchU Of MNormalText10
13UMQTYINB SearchU Of M QTY In BaseNormalDecimal12
14QTYORDER SearchQTY OrderedNormalDecimal12
15QTYCANCE SearchQTY CanceledNormalDecimal12
16UNITCOST SearchUnit CostNormalDecimal12
17EXTDCOST SearchExtended CostNormalDecimal12
18INVINDX SearchInventory IndexNormalInteger4
19REQDATE SearchRequired DateNormalDate4
20PRMDATE SearchPromised DateNormalDate4
21PRMSHPDTE SearchPromised Ship DateNormalDate4
22REQSTDBY SearchRequested ByNormalText22
23COMMNTID SearchComment IDNormalText16
24DOCTYPE SearchDocument TypeNormalOption4
25POLNEARY_1 SearchPO Line Note ID ArrayNormalDecimal12
26POLNEARY_2 SearchPO Line Note ID ArrayNormalDecimal12
27POLNEARY_3 SearchPO Line Note ID ArrayNormalDecimal12
28POLNEARY_4 SearchPO Line Note ID ArrayNormalDecimal12
29POLNEARY_5 SearchPO Line Note ID ArrayNormalDecimal12
30POLNEARY_6 SearchPO Line Note ID ArrayNormalDecimal12
31POLNEARY_7 SearchPO Line Note ID ArrayNormalDecimal12
32POLNEARY_8 SearchPO Line Note ID ArrayNormalDecimal12
33POLNEARY_9 SearchPO Line Note ID ArrayNormalDecimal12
34DECPLCUR SearchDecimal Places CurrencyNormalOption4
35DECPLQTY SearchDecimal Places QTYSNormalOption4
36BRKFLD1 SearchBreak Field 1NormalInteger4
37JOBNUMBR Primary Key SearchJob NumberNormalText18
38COSTCODE SearchCost CodeNormalText28
39COSTTYPE SearchCost Code TypeNormalInteger4
40CURRNIDX SearchCurrency IndexNormalInteger4
41ORUNTCST SearchOriginating Unit CostNormalDecimal12
42OREXTCST SearchOriginating Extended CostNormalDecimal12
43LINEORIGIN SearchLine OriginNormalOption4
44FREEONBOARD SearchFree On BoardNormalOption4
45ODECPLCU SearchOriginating Decimal Places CurrencyNormalOption4
46Product_Indicator SearchProduct IndicatorNormalInteger4
47Source_Document_Number SearchSource Document NumberNormalText12
48Source_Document_Line_Num SearchSource Document Line NumberNormalInteger4
49RELEASEBYDATE SearchRelease By DateNormalDate4
50Released_Date SearchReleased DateNormalDate4
51Purchase_IV_Item_Taxable SearchPurchase IV Item TaxableNormalOption4
52Purchase_Item_Tax_Schedu SearchPurchase Item Tax Schedule IDNormalText16
53Purchase_Site_Tax_Schedu SearchPurchase Site Tax Schedule IDNormalText16
54PURCHSITETXSCHSRC SearchPurchase Site Tax Schedule SourceNormalInteger4
55BSIVCTTL SearchBased On Invoice TotalNormalBoolean4
56TAXAMNT SearchTax AmountNormalDecimal12
57ORTAXAMT SearchOriginating Tax AmountNormalDecimal12
58BCKTXAMT SearchBackout Tax AmountNormalDecimal12
59OBTAXAMT SearchOriginating Backout Tax AmountNormalDecimal12
60Landed_Cost_Group_ID SearchLanded Cost Group IDNormalText16
61SHIPMTHD SearchShipping MethodNormalText16
62LineNumber SearchLineNumberNormalInteger4
63ORIGPRMDATE SearchOriginal Promised DateNormalDate4
64FSTRCPTDT SearchFirst Receipt DateNormalDate4
65LSTRCPTDT SearchLast Receipt DateNormalDate4
66RELEASE SearchReleaseNormalInteger4
67ADRSCODE SearchAddress CodeNormalText16
68CMPNYNAM SearchCompany NameNormalText66
69CONTACT SearchContactNormalText62
70ADDRESS1 SearchAddress 1NormalText62
71ADDRESS2 SearchAddress 2NormalText62
72ADDRESS3 SearchAddress 3NormalText62
73CITY SearchCityNormalText36
Key to join to the Post Code table.

Show/hide example query

SELECT
	       [GPPOPPOLineHist].[]
	       ,[Post Code].[City]
	FROM
	       [] AS [GPPOPPOLineHist]
	LEFT JOIN
	       [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
	              ON
	                     [GPPOPPOLineHist].[] = [Post Code].[City]
74STATE SearchStateNormalText30
75ZIPCODE SearchZip CodeNormalText12
76CCode SearchCountry CodeNormalText8
77COUNTRY SearchCountryNormalText62
78PHONE1 SearchPhone 1NormalText22
79PHONE2 SearchPhone 2NormalText22
80PHONE3 SearchPhone 3NormalText22
81FAX SearchFaxNormalText22
82ADDRSOURCE SearchAddress SourceNormalInteger4
83Flags SearchFlagsNormalInteger4
84ProjNum SearchProject NumberNormalText16
85CostCatID SearchCost Category IDNormalText16
86ITMTRKOP SearchItem Tracking OptionNormalOption4
87VCTNMTHD SearchValuation MethodNormalOption4
88Print_Phone_NumberGB SearchPrint Phone Number GBNormalOption4
89DEX_ROW_TS SearchDEX_ROW_TSNormalDateTime8
90DEX_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
	       [GPPOPPOLineHist].[]
	       ,[User].[User Security ID]
	FROM
	       [] AS [GPPOPPOLineHist]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [GPPOPPOLineHist].[] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8
2000000004SystemModifiedBy SearchModified ByNormalGUID16

Leave a Reply

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