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