Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/442
Table Type: Company
Table Name: IC Document Dimension
Database Table Name: CRONUS UK Ltd_$IC Document Dimension$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 IC Document Dimension can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$IC Document Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[timestamp]
,[Table ID]
,[Transaction No_]
,[IC Partner Code]
,[Transaction Source]
,[Line No_]
,[Dimension Code]
,[Dimension Value Code]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$IC Document Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$IC Document Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Document Dimension]
LEFT JOIN
[CRONUS UK Ltd_$IC Partner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Partner]
ON
[IC Document Dimension].[IC Partner Code] = [IC Partner].[Code]
Show/hide columns in IC Document Dimension table
Column ID | Column Name | Data Type | ||||
---|---|---|---|---|---|---|
1 | timestamp ![]() | timestamp | ||||
2 | Table ID ![]() ![]() | int | ||||
3 | Transaction No_ ![]() ![]() | int | ||||
4 | IC Partner Code ![]() ![]() | nvarchar(40) | ||||
Key to join to the IC Partner table.Show/hide example querySELECT
[IC Document Dimension].[IC Partner Code]
,[IC Partner].[Code]
FROM
[CRONUS UK Ltd_$IC Document Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Document Dimension]
LEFT JOIN
[CRONUS UK Ltd_$IC Partner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Partner]
ON
[IC Document Dimension].[IC Partner Code] = [IC Partner].[Code] | ||||||
5 | Transaction Source ![]() ![]() | int | ||||
6 | Line No_ ![]() ![]() | int | ||||
7 | Dimension Code ![]() ![]() | nvarchar(40) | ||||
8 | Dimension Value Code ![]() | nvarchar(40) | ||||
9 | $systemId ![]() | uniqueidentifier | ||||
10 | $systemCreatedAt ![]() | datetime | ||||
11 | $systemCreatedBy ![]() | uniqueidentifier | ||||
12 | $systemModifiedAt ![]() | datetime | ||||
13 | $systemModifiedBy ![]() | uniqueidentifier |