Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/4056
Table Type: Company
Table Name: GPPOPLandedCostHist
Database Table Name:
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 GPPOPLandedCostHist 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 [GPPOPLandedCostHist]
LEFT JOIN
[CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
ON
[GPPOPLandedCostHist].[VENDORID] = [Vendor].[No_]
LEFT JOIN
[User] AS [User]
ON
[GPPOPLandedCostHist].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[GPPOPLandedCostHist].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in GPPOPLandedCostHist table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | POPRCTNM | POP Receipt Number | Normal | Text | 18 | ||
2 | RCPTLNNM | Receipt Line Number | Normal | Integer | 4 | ||
3 | LCLINENUMBER | LC Line Number | Normal | Integer | 4 | ||
4 | LCHDRNUMBER | LC Header Number | Normal | Integer | 4 | ||
5 | Landed_Cost_ID | Landed Cost ID | Normal | Text | 16 | ||
6 | NOTEINDX | Note Index | Normal | Decimal | 12 | ||
7 | Long_Description | Long Description | Normal | Text | 52 | ||
8 | Landed_Cost_Type | Landed Cost Type | Normal | Option | 4 | ||
9 | VENDORID | Vendor ID | Normal | Text | 16 | ||
Key to join to the Vendor table.Show/hide example querySELECT [GPPOPLandedCostHist].[] ,[Vendor].[No_] FROM [] AS [GPPOPLandedCostHist] LEFT JOIN [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor] ON [GPPOPLandedCostHist].[] = [Vendor].[No_] | |||||||
10 | Vendor_Note_Index | Vendor Note Index | Normal | Decimal | 12 | ||
11 | CURNCYID | Currency ID | Normal | Text | 16 | ||
12 | Currency_Note_Index | Currency Note Index | Normal | Decimal | 12 | ||
13 | CURRNIDX | Currency Index | Normal | Integer | 4 | ||
14 | RATETPID | Rate Type ID | Normal | Text | 16 | ||
15 | EXGTBLID | Exchange Table ID | Normal | Text | 16 | ||
16 | XCHGRATE | Exchange Rate | Normal | Decimal | 12 | ||
17 | EXCHDATE | Exchange Date | Normal | Date | 4 | ||
18 | TIME1 | Time | Normal | DateTime | 8 | ||
19 | RATECALC | Rate Calc Method | Normal | Option | 4 | ||
20 | DENXRATE | Denomination Exchange Rate | Normal | Decimal | 12 | ||
21 | MCTRXSTT | MC Transaction State | Normal | Option | 4 | ||
22 | DECPLCUR | Decimal Places Currency | Normal | Option | 4 | ||
23 | ODECPLCU | Originating Decimal Places Currency | Normal | Option | 4 | ||
24 | ACPURIDX | Accrued Purchases Index | Normal | Integer | 4 | ||
25 | DistRef | Distribution Reference | Normal | Text | 32 | ||
26 | PURPVIDX | Purchase Price Variance Index | Normal | Integer | 4 | ||
27 | Invoice_Match | Invoice Match | Normal | Boolean | 4 | ||
28 | CALCMTHD | Calculation Method | Normal | Option | 4 | ||
29 | Orig_Landed_Cost_Amount | Originating Landed Cost Amount | Normal | Decimal | 12 | ||
30 | Calculation_Percentage | Calculation Percentage | Normal | Integer | 4 | ||
31 | Total_Landed_Cost_Amount | Total Landed Cost Amount | Normal | Decimal | 12 | ||
32 | Orig_TotalLandedCostAmt | Originating Total Landed Cost Amount | Normal | Decimal | 12 | ||
33 | Landed_Cost_Warnings | Landed Cost Warnings | Normal | Integer | 4 | ||
34 | Apportion_By | Apportion By | Normal | Option | 4 | ||
35 | Orig_UnapportionedAmount | Originating Unapportioned Amount | Normal | Decimal | 12 | ||
36 | INVINDX | Inventory Index | Normal | Integer | 4 | ||
37 | DEX_ROW_ID | DEX_ROW_ID | Normal | Integer | 4 | ||
2000000000 | $systemId | System ID | Normal | GUID | 16 | ||
2000000001 | SystemCreatedAt | Created At | Normal | DateTime | 8 | ||
2000000002 | SystemCreatedBy | Created By | Normal | GUID | 16 | ||
Key to join to the User table.Show/hide example querySELECT [GPPOPLandedCostHist].[] ,[User].[User Security ID] FROM [] AS [GPPOPLandedCostHist] LEFT JOIN [User] AS [User] ON [GPPOPLandedCostHist].[] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | ||
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 |