Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5820
Table Type: Company
Table Name: Cost Element Buffer
Database Table Name: CRONUS UK Ltd_$Cost Element Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972
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 Cost Element Buffer can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Cost Element Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Type]
,[Variance Type]
,[Actual Cost]
,[Actual Cost (ACY)]
,[Rounding Residual]
,[Rounding Residual (ACY)]
,[Expected Cost]
,[Expected Cost (ACY)]
,[Invoiced Quantity]
,[Remaining Quantity]
,[Inbound Completely Invoiced]
,[Last Valid Value Entry No]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Cost Element Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Cost Element Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cost Element Buffer]
LEFT JOIN
[User] AS [User]
ON
[Cost Element Buffer].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Cost Element Buffer].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Cost Element Buffer table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Type | Type | Normal | Option | 4 | Type | int |
Available options are:
| |||||||
2 | Variance Type | Variance Type | Normal | Option | 4 | Variance Type | int |
Available options are:
| |||||||
3 | Actual Cost | Actual Cost | Normal | Decimal | 12 | Actual Cost | decimal(38,38) |
4 | Actual Cost (ACY) | Actual Cost (ACY) | Normal | Decimal | 12 | Actual Cost (ACY) | decimal(38,38) |
5 | Rounding Residual | Rounding Residual | Normal | Decimal | 12 | Rounding Residual | decimal(38,38) |
6 | Rounding Residual (ACY) | Rounding Residual (ACY) | Normal | Decimal | 12 | Rounding Residual (ACY) | decimal(38,38) |
7 | Expected Cost | Expected Cost | Normal | Decimal | 12 | Expected Cost | decimal(38,38) |
8 | Expected Cost (ACY) | Expected Cost (ACY) | Normal | Decimal | 12 | Expected Cost (ACY) | decimal(38,38) |
9 | Invoiced Quantity | Invoiced Quantity | Normal | Decimal | 12 | Invoiced Quantity | decimal(38,38) |
10 | Remaining Quantity | Remaining Quantity | Normal | Decimal | 12 | Remaining Quantity | decimal(38,38) |
11 | Inbound Completely Invoiced | Inbound Completely Invoiced | Normal | Boolean | 4 | Inbound Completely Invoiced | tinyint |
12 | Last Valid Value Entry No | Last Valid Value Entry No | Normal | Integer | 4 | Last Valid Value Entry No | int |
2000000000 | $systemId | System ID | Normal | GUID | 16 | $systemId | uniqueidentifier |
2000000001 | SystemCreatedAt | Created At | Normal | DateTime | 8 | $systemCreatedAt | datetime |
2000000002 | SystemCreatedBy | Created By | Normal | GUID | 16 | $systemCreatedBy | uniqueidentifier |
Key to join to the User table.Show/hide example querySELECT [Cost Element Buffer].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Cost Element Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cost Element Buffer] LEFT JOIN [User] AS [User] ON [Cost Element Buffer].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |