Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/1702
Table Type: Company
Table Name: Deferral Line
Database Table Name: CRONUS UK Ltd_$Deferral 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 Deferral Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Deferral Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[timestamp]
,[Deferral Doc_ Type]
,[Gen_ Jnl_ Template Name]
,[Gen_ Jnl_ Batch Name]
,[Document Type]
,[Document No_]
,[Line No_]
,[Posting Date]
,[Description]
,[Amount]
,[Amount (LCY)]
,[Currency Code]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Deferral 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_$Deferral Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Deferral Line]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Deferral Line].[Currency Code] = [Currency].[Code]
Show/hide columns in Deferral Line table
Column ID | Column Name | Data Type | ||||
---|---|---|---|---|---|---|
1 | timestamp ![]() | timestamp | ||||
2 | Deferral Doc_ Type ![]() ![]() | int | ||||
3 | Gen_ Jnl_ Template Name ![]() ![]() | nvarchar(20) | ||||
4 | Gen_ Jnl_ Batch Name ![]() ![]() | nvarchar(20) | ||||
5 | Document Type ![]() ![]() | int | ||||
6 | Document No_ ![]() ![]() | nvarchar(40) | ||||
7 | Line No_ ![]() ![]() | int | ||||
8 | Posting Date ![]() ![]() | datetime | ||||
9 | Description ![]() | nvarchar(200) | ||||
10 | Amount ![]() | decimal(38,38) | ||||
11 | Amount (LCY) ![]() | decimal(38,38) | ||||
12 | Currency Code ![]() | nvarchar(20) | ||||
Key to join to the Currency table.Show/hide example querySELECT
[Deferral Line].[Currency Code]
,[Currency].[Code]
FROM
[CRONUS UK Ltd_$Deferral Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Deferral Line]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Deferral Line].[Currency Code] = [Currency].[Code] | ||||||
13 | $systemId ![]() | uniqueidentifier | ||||
14 | $systemCreatedAt ![]() | datetime | ||||
15 | $systemCreatedBy ![]() | uniqueidentifier | ||||
16 | $systemModifiedAt ![]() | datetime | ||||
17 | $systemModifiedBy ![]() | uniqueidentifier |