Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5621
Table Type: Company
Table Name: FA Journal Line
Database Table Name: CRONUS UK Ltd_$FA Journal 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 FA Journal Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$FA Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Journal Template Name]
,[Journal Batch Name]
,[Line No_]
,[Depreciation Book Code]
,[FA Posting Type]
,[FA No_]
,[FA Posting Date]
,[Posting Date]
,[Document Type]
,[Document Date]
,[Document No_]
,[External Document No_]
,[Description]
,[Amount]
,[Debit Amount]
,[Credit Amount]
,[Salvage Value]
,[Quantity]
,[Correction]
,[No_ of Depreciation Days]
,[Depr_ until FA Posting Date]
,[Depr_ Acquisition Cost]
,[FA Posting Group]
,[Maintenance Code]
,[Shortcut Dimension 1 Code]
,[Shortcut Dimension 2 Code]
,[Insurance No_]
,[Budgeted FA No_]
,[Use Duplication List]
,[Duplicate in Depreciation Book]
,[FA Reclassification Entry]
,[FA Error Entry No_]
,[Reason Code]
,[Source Code]
,[Recurring Method]
,[Recurring Frequency]
,[Expiration Date]
,[Index Entry]
,[Posting No_ Series]
,[Dimension Set ID]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$FA Journal 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_$FA Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Journal Line]
LEFT JOIN
[CRONUS UK Ltd_$Depreciation Book$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Depreciation Book]
ON
[FA Journal Line].[Depreciation Book Code] = [Depreciation Book].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header]
ON
[FA Journal Line].[Document Type] = [Sales Header].[Document Type]
AND
[FA Journal Line].[Document No_] = [Sales Header].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Sales Header Archive$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header Archive]
ON
[FA Journal Line].[Document Type] = [Sales Header Archive].[Document Type]
AND
[FA Journal Line].[Document No_] = [Sales Header Archive].[No_]
LEFT JOIN
[CRONUS UK Ltd_$FA Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Posting Group]
ON
[FA Journal Line].[FA Posting Group] = [FA Posting Group].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Maintenance$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Maintenance]
ON
[FA Journal Line].[Maintenance Code] = [Maintenance].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[FA Journal Line].[Shortcut Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[FA Journal Line].[Shortcut Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Depreciation Book$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Depreciation Book]
ON
[FA Journal Line].[Duplicate in Depreciation Book] = [Depreciation Book].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Reason Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reason Code]
ON
[FA Journal Line].[Reason Code] = [Reason Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Source Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Source Code]
ON
[FA Journal Line].[Source Code] = [Source Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
ON
[FA Journal Line].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
LEFT JOIN
[User] AS [User]
ON
[FA Journal Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[FA Journal Line].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in FA Journal Line table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Journal Template Name | Journal Template Name | Normal | Code | 10 | Journal Template Name | nvarchar(20) |
2 | Journal Batch Name | Journal Batch Name | Normal | Code | 10 | Journal Batch Name | nvarchar(20) |
3 | Line No. | Line No. | Normal | Integer | 4 | Line No_ | int |
4 | 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 Line].[Depreciation Book Code] ,[Depreciation Book].[Code] FROM [CRONUS UK Ltd_$FA Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Journal Line] LEFT JOIN [CRONUS UK Ltd_$Depreciation Book$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Depreciation Book] ON [FA Journal Line].[Depreciation Book Code] = [Depreciation Book].[Code] | |||||||
5 | FA Posting Type | FA Posting Type | Normal | Option | 4 | FA Posting Type | int |
Available options are:
| |||||||
6 | FA No. | FA No. | Normal | Code | 20 | FA No_ | nvarchar(40) |
Key to join to the Fixed Asset table.Show/hide example querySELECT [FA Journal Line].[FA No_] ,[Fixed Asset].[No_] FROM [CRONUS UK Ltd_$FA Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Journal Line] LEFT JOIN [CRONUS UK Ltd_$Fixed Asset$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Fixed Asset] ON [FA Journal Line].[FA No_] = [Fixed Asset].[No_] | |||||||
7 | FA Posting Date | FA Posting Date | Normal | Date | 4 | FA Posting Date | datetime |
8 | Posting Date | Posting Date | Normal | Date | 4 | Posting Date | datetime |
9 | Document Type | Document Type | Normal | Option | 4 | Document Type | int |
Available options are:
| |||||||
10 | Document Date | Document Date | Normal | Date | 4 | Document Date | datetime |
11 | Document No. | Document No. | Normal | Code | 20 | Document No_ | nvarchar(40) |
12 | External Document No. | External Document No. | Normal | Code | 35 | External Document No_ | nvarchar(70) |
13 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
14 | Amount | Amount | Normal | Decimal | 12 | Amount | decimal(38,38) |
15 | Debit Amount | Debit Amount | Normal | Decimal | 12 | Debit Amount | decimal(38,38) |
16 | Credit Amount | Credit Amount | Normal | Decimal | 12 | Credit Amount | decimal(38,38) |
17 | Salvage Value | Salvage Value | Normal | Decimal | 12 | Salvage Value | decimal(38,38) |
18 | Quantity | Quantity | Normal | Decimal | 12 | Quantity | decimal(38,38) |
19 | Correction | Correction | Normal | Boolean | 4 | Correction | tinyint |
20 | No. of Depreciation Days | No. of Depreciation Days | Normal | Integer | 4 | No_ of Depreciation Days | int |
21 | Depr. until FA Posting Date | Depr. until FA Posting Date | Normal | Boolean | 4 | Depr_ until FA Posting Date | tinyint |
22 | Depr. Acquisition Cost | Depr. Acquisition Cost | Normal | Boolean | 4 | Depr_ Acquisition Cost | tinyint |
24 | FA Posting Group | FA Posting Group | Normal | Code | 20 | FA Posting Group | nvarchar(40) |
Key to join to the FA Posting Group table.Show/hide example querySELECT [FA Journal Line].[FA Posting Group] ,[FA Posting Group].[Code] FROM [CRONUS UK Ltd_$FA Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Journal Line] LEFT JOIN [CRONUS UK Ltd_$FA Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Posting Group] ON [FA Journal Line].[FA Posting Group] = [FA Posting Group].[Code] | |||||||
26 | Maintenance Code | Maintenance Code | Normal | Code | 10 | Maintenance Code | nvarchar(20) |
Key to join to the Maintenance table.Show/hide example querySELECT [FA Journal Line].[Maintenance Code] ,[Maintenance].[Code] FROM [CRONUS UK Ltd_$FA Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Journal Line] LEFT JOIN [CRONUS UK Ltd_$Maintenance$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Maintenance] ON [FA Journal Line].[Maintenance Code] = [Maintenance].[Code] | |||||||
27 | Shortcut Dimension 1 Code | Shortcut Dimension 1 Code | Normal | Code | 20 | Shortcut Dimension 1 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [FA Journal Line].[Shortcut Dimension 1 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$FA Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Journal Line] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [FA Journal Line].[Shortcut Dimension 1 Code] = [Dimension].[Code] | |||||||
28 | Shortcut Dimension 2 Code | Shortcut Dimension 2 Code | Normal | Code | 20 | Shortcut Dimension 2 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [FA Journal Line].[Shortcut Dimension 2 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$FA Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Journal Line] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [FA Journal Line].[Shortcut Dimension 2 Code] = [Dimension].[Code] | |||||||
30 | Insurance No. | Insurance No. | Normal | Code | 20 | Insurance No_ | nvarchar(40) |
Key to join to the Insurance table.Show/hide example querySELECT [FA Journal Line].[Insurance No_] ,[Insurance].[No_] FROM [CRONUS UK Ltd_$FA Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Journal Line] LEFT JOIN [CRONUS UK Ltd_$Insurance$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Insurance] ON [FA Journal Line].[Insurance No_] = [Insurance].[No_] | |||||||
31 | Budgeted FA No. | Budgeted FA No. | Normal | Code | 20 | Budgeted FA No_ | nvarchar(40) |
Key to join to the Fixed Asset table.Show/hide example querySELECT [FA Journal Line].[Budgeted FA No_] ,[Fixed Asset].[No_] FROM [CRONUS UK Ltd_$FA Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Journal Line] LEFT JOIN [CRONUS UK Ltd_$Fixed Asset$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Fixed Asset] ON [FA Journal Line].[Budgeted FA No_] = [Fixed Asset].[No_] | |||||||
32 | Use Duplication List | Use Duplication List | Normal | Boolean | 4 | Use Duplication List | tinyint |
33 | Duplicate in Depreciation Book | Duplicate in Depreciation Book | Normal | Code | 10 | Duplicate in Depreciation Book | nvarchar(20) |
Key to join to the Depreciation Book table.Show/hide example querySELECT [FA Journal Line].[Duplicate in Depreciation Book] ,[Depreciation Book].[Code] FROM [CRONUS UK Ltd_$FA Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Journal Line] LEFT JOIN [CRONUS UK Ltd_$Depreciation Book$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Depreciation Book] ON [FA Journal Line].[Duplicate in Depreciation Book] = [Depreciation Book].[Code] | |||||||
34 | FA Reclassification Entry | FA Reclassification Entry | Normal | Boolean | 4 | FA Reclassification Entry | tinyint |
35 | FA Error Entry No. | FA Error Entry No. | Normal | Integer | 4 | FA Error Entry No_ | int |
Key to join to the FA Ledger Entry table.Show/hide example querySELECT [FA Journal Line].[FA Error Entry No_] ,[FA Ledger Entry].[Entry No_] FROM [CRONUS UK Ltd_$FA Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Journal Line] LEFT JOIN [CRONUS UK Ltd_$FA Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Ledger Entry] ON [FA Journal Line].[FA Error Entry No_] = [FA Ledger Entry].[Entry No_] | |||||||
36 | Reason Code | Reason Code | Normal | Code | 10 | Reason Code | nvarchar(20) |
Key to join to the Reason Code table.Show/hide example querySELECT [FA Journal Line].[Reason Code] ,[Reason Code].[Code] FROM [CRONUS UK Ltd_$FA Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Journal Line] LEFT JOIN [CRONUS UK Ltd_$Reason Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reason Code] ON [FA Journal Line].[Reason Code] = [Reason Code].[Code] | |||||||
37 | Source Code | Source Code | Normal | Code | 10 | Source Code | nvarchar(20) |
Key to join to the Source Code table.Show/hide example querySELECT [FA Journal Line].[Source Code] ,[Source Code].[Code] FROM [CRONUS UK Ltd_$FA Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Journal Line] LEFT JOIN [CRONUS UK Ltd_$Source Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Source Code] ON [FA Journal Line].[Source Code] = [Source Code].[Code] | |||||||
38 | Recurring Method | Recurring Method | Normal | Option | 4 | Recurring Method | int |
Available options are:
| |||||||
39 | Recurring Frequency | Recurring Frequency | Normal | DateFormula | 32 | Recurring Frequency | varchar(32) |
41 | Expiration Date | Expiration Date | Normal | Date | 4 | Expiration Date | datetime |
42 | Index Entry | Index Entry | Normal | Boolean | 4 | Index Entry | tinyint |
43 | Posting No. Series | Posting No. Series | Normal | Code | 20 | Posting No_ Series | nvarchar(40) |
Key to join to the No. Series table.Show/hide example querySELECT [FA Journal Line].[Posting No_ Series] ,[No. Series].[Code] FROM [CRONUS UK Ltd_$FA Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Journal Line] LEFT JOIN [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series] ON [FA Journal Line].[Posting No_ Series] = [No. Series].[Code] | |||||||
480 | Dimension Set ID | Dimension Set ID | Normal | Integer | 4 | Dimension Set ID | int |
Key to join to the Dimension Set Entry table.Show/hide example querySELECT [FA Journal Line].[Dimension Set ID] ,[Dimension Set Entry].[Dimension Set ID] FROM [CRONUS UK Ltd_$FA Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Journal Line] LEFT JOIN [CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry] ON [FA Journal Line].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID] | |||||||
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 Line].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$FA Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Journal Line] LEFT JOIN [User] AS [User] ON [FA Journal Line].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |