Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/1114
Table Type: Company
Table Name: Cost Budget Buffer
Database Table Name: CRONUS UK Ltd_$Cost Budget 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 Budget Buffer can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Cost Budget Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[timestamp]
,[Cost Type No_]
,[Cost Center Code]
,[Cost Object Code]
,[Date]
,[Budget Name]
,[Amount]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Cost Budget 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 Budget Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cost Budget Buffer]
LEFT JOIN
[CRONUS UK Ltd_$G_L Budget Name$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G_L Budget Name]
ON
[Cost Budget Buffer].[Budget Name] = [G_L Budget Name].[Budget Name]
Show/hide columns in Cost Budget Buffer table
Column ID | Column Name | Data Type | ||||
---|---|---|---|---|---|---|
1 | timestamp ![]() | timestamp | ||||
2 | Cost Type No_ ![]() ![]() | nvarchar(40) | ||||
3 | Cost Center Code ![]() ![]() | nvarchar(40) | ||||
4 | Cost Object Code ![]() ![]() | nvarchar(40) | ||||
5 | Date ![]() ![]() | datetime | ||||
6 | Budget Name ![]() | nvarchar(20) | ||||
Key to join to the G_L Budget Name table.Show/hide example querySELECT
[Cost Budget Buffer].[Budget Name]
,[G_L Budget Name].[Budget Name]
FROM
[CRONUS UK Ltd_$Cost Budget Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cost Budget Buffer]
LEFT JOIN
[CRONUS UK Ltd_$G_L Budget Name$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G_L Budget Name]
ON
[Cost Budget Buffer].[Budget Name] = [G_L Budget Name].[Budget Name] | ||||||
7 | Amount ![]() | decimal(38,38) | ||||
8 | $systemId ![]() | uniqueidentifier | ||||
9 | $systemCreatedAt ![]() | datetime | ||||
10 | $systemCreatedBy ![]() | uniqueidentifier | ||||
11 | $systemModifiedAt ![]() | datetime | ||||
12 | $systemModifiedBy ![]() | uniqueidentifier |