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