Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5605
Table Type: Company
Table Name: FA Journal Setup
Database Table Name: CRONUS UK Ltd_$FA Journal Setup$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 FA Journal Setup can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$FA Journal Setup$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Depreciation Book Code]
,[User ID]
,[FA Jnl_ Template Name]
,[FA Jnl_ Batch Name]
,[Gen_ Jnl_ Template Name]
,[Gen_ Jnl_ Batch Name]
,[Insurance Jnl_ Template Name]
,[Insurance Jnl_ Batch Name]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$FA Journal Setup$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$FA Journal Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Journal Setup]
LEFT JOIN
[CRONUS UK Ltd_$Depreciation Book$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Depreciation Book]
ON
[FA Journal Setup].[Depreciation Book Code] = [Depreciation Book].[Code]
LEFT JOIN
[User] AS [User]
ON
[FA Journal Setup].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[FA Journal Setup].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in FA Journal Setup table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Depreciation Book Code | Depreciation Book Code | Normal | Code | 10 | Depreciation Book Code | nvarchar(20) |
Key to join to the Depreciation Book table.Show/hide example querySELECT [FA Journal Setup].[Depreciation Book Code] ,[Depreciation Book].[Code] FROM [CRONUS UK Ltd_$FA Journal Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Journal Setup] LEFT JOIN [CRONUS UK Ltd_$Depreciation Book$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Depreciation Book] ON [FA Journal Setup].[Depreciation Book Code] = [Depreciation Book].[Code] | |||||||
2 | User ID | User ID | Normal | Code | 50 | User ID | nvarchar(100) |
3 | FA Jnl. Template Name | FA Jnl. Template Name | Normal | Code | 10 | FA Jnl_ Template Name | nvarchar(20) |
Key to join to the FA Journal Template table.Show/hide example querySELECT [FA Journal Setup].[FA Jnl_ Template Name] ,[FA Journal Template].[Name] FROM [CRONUS UK Ltd_$FA Journal Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Journal Setup] LEFT JOIN [CRONUS UK Ltd_$FA Journal Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Journal Template] ON [FA Journal Setup].[FA Jnl_ Template Name] = [FA Journal Template].[Name] | |||||||
4 | FA Jnl. Batch Name | FA Jnl. Batch Name | Normal | Code | 10 | FA Jnl_ Batch Name | nvarchar(20) |
5 | Gen. Jnl. Template Name | Gen. Jnl. Template Name | Normal | Code | 10 | Gen_ Jnl_ Template Name | nvarchar(20) |
6 | Gen. Jnl. Batch Name | Gen. Jnl. Batch Name | Normal | Code | 10 | Gen_ Jnl_ Batch Name | nvarchar(20) |
Key to join to the Deferral Header table.Show/hide example querySELECT [FA Journal Setup].[Gen_ Jnl_ Batch Name] ,[Deferral Header].[Gen_ Jnl_ Batch Name] FROM [CRONUS UK Ltd_$FA Journal Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Journal Setup] LEFT JOIN [CRONUS UK Ltd_$Deferral Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Deferral Header] ON [FA Journal Setup].[Gen_ Jnl_ Batch Name] = [Deferral Header].[Gen_ Jnl_ Batch Name] | |||||||
7 | Insurance Jnl. Template Name | Insurance Jnl. Template Name | Normal | Code | 10 | Insurance Jnl_ Template Name | nvarchar(20) |
Key to join to the Insurance Journal Template table.Show/hide example querySELECT [FA Journal Setup].[Insurance Jnl_ Template Name] ,[Insurance Journal Template].[Name] FROM [CRONUS UK Ltd_$FA Journal Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Journal Setup] LEFT JOIN [CRONUS UK Ltd_$Insurance Journal Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Insurance Journal Template] ON [FA Journal Setup].[Insurance Jnl_ Template Name] = [Insurance Journal Template].[Name] | |||||||
8 | Insurance Jnl. Batch Name | Insurance Jnl. Batch Name | Normal | Code | 10 | Insurance Jnl_ Batch Name | nvarchar(20) |
2000000000 | $systemId | System ID | Normal | GUID | 16 | $systemId | uniqueidentifier |
2000000001 | SystemCreatedAt | Created At | Normal | DateTime | 8 | $systemCreatedAt | datetime |
2000000002 | SystemCreatedBy | Created By | Normal | GUID | 16 | $systemCreatedBy | uniqueidentifier |
Key to join to the User table.Show/hide example querySELECT [FA Journal Setup].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$FA Journal Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Journal Setup] LEFT JOIN [User] AS [User] ON [FA Journal Setup].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |