Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5629
Table Type: Company
Table Name: Ins. Coverage Ledger Entry
Database Table Name: CRONUS UK Ltd_$Ins_ Coverage Ledger Entry$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 Ins. Coverage Ledger Entry can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Ins_ Coverage Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Entry No_]
,[Insurance No_]
,[Disposed FA]
,[FA No_]
,[FA Description]
,[Posting Date]
,[Document Type]
,[Document Date]
,[Document No_]
,[External Document No_]
,[Amount]
,[Description]
,[FA Class Code]
,[FA Subclass Code]
,[FA Location Code]
,[Global Dimension 1 Code]
,[Global Dimension 2 Code]
,[Location Code]
,[User ID]
,[Source Code]
,[Journal Batch Name]
,[Reason Code]
,[Index Entry]
,[No_ Series]
,[Dimension Set ID]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Ins_ Coverage Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Ins_ Coverage Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Ins. Coverage Ledger Entry]
LEFT JOIN
[CRONUS UK Ltd_$Sales Header Archive$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header Archive]
ON
[Ins. Coverage Ledger Entry].[Document Type] = [Sales Header Archive].[Document Type]
AND
[Ins. Coverage Ledger Entry].[Document No_] = [Sales Header Archive].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header]
ON
[Ins. Coverage Ledger Entry].[Document Type] = [Sales Header].[Document Type]
AND
[Ins. Coverage Ledger Entry].[Document No_] = [Sales Header].[No_]
LEFT JOIN
[CRONUS UK Ltd_$FA Class$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Class]
ON
[Ins. Coverage Ledger Entry].[FA Class Code] = [FA Class].[Code]
LEFT JOIN
[CRONUS UK Ltd_$FA Subclass$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Subclass]
ON
[Ins. Coverage Ledger Entry].[FA Subclass Code] = [FA Subclass].[Code]
LEFT JOIN
[CRONUS UK Ltd_$FA Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Location]
ON
[Ins. Coverage Ledger Entry].[FA Location Code] = [FA Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Ins. Coverage Ledger Entry].[Global Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Ins. Coverage Ledger Entry].[Global Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Ins. Coverage Ledger Entry].[Location Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Source Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Source Code]
ON
[Ins. Coverage Ledger Entry].[Source Code] = [Source Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Reason Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reason Code]
ON
[Ins. Coverage Ledger Entry].[Reason Code] = [Reason Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
ON
[Ins. Coverage Ledger Entry].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
LEFT JOIN
[User] AS [User]
ON
[Ins. Coverage Ledger Entry].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Ins. Coverage Ledger Entry].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Ins. Coverage Ledger Entry table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Entry No. | Entry No. | Normal | Integer | 4 | Entry No_ | int |
2 | Insurance No. | Insurance No. | Normal | Code | 20 | Insurance No_ | nvarchar(40) |
Key to join to the Insurance table.Show/hide example querySELECT [Ins. Coverage Ledger Entry].[Insurance No_] ,[Insurance].[No_] FROM [CRONUS UK Ltd_$Ins_ Coverage Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Ins. Coverage Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Insurance$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Insurance] ON [Ins. Coverage Ledger Entry].[Insurance No_] = [Insurance].[No_] | |||||||
3 | Disposed FA | Disposed FA | Normal | Boolean | 4 | Disposed FA | tinyint |
4 | FA No. | FA No. | Normal | Code | 20 | FA No_ | nvarchar(40) |
Key to join to the Fixed Asset table.Show/hide example querySELECT [Ins. Coverage Ledger Entry].[FA No_] ,[Fixed Asset].[No_] FROM [CRONUS UK Ltd_$Ins_ Coverage Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Ins. Coverage Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Fixed Asset$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Fixed Asset] ON [Ins. Coverage Ledger Entry].[FA No_] = [Fixed Asset].[No_] | |||||||
5 | FA Description | FA Description | Normal | Text | 100 | FA Description | nvarchar(200) |
6 | Posting Date | Posting Date | Normal | Date | 4 | Posting Date | datetime |
7 | Document Type | Document Type | Normal | Option | 4 | Document Type | int |
Available options are:
| |||||||
8 | Document Date | Document Date | Normal | Date | 4 | Document Date | datetime |
9 | Document No. | Document No. | Normal | Code | 20 | Document No_ | nvarchar(40) |
10 | External Document No. | External Document No. | Normal | Code | 35 | External Document No_ | nvarchar(70) |
14 | Amount | Amount | Normal | Decimal | 12 | Amount | decimal(38,38) |
16 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
17 | FA Class Code | FA Class Code | Normal | Code | 10 | FA Class Code | nvarchar(20) |
Key to join to the FA Class table.Show/hide example querySELECT [Ins. Coverage Ledger Entry].[FA Class Code] ,[FA Class].[Code] FROM [CRONUS UK Ltd_$Ins_ Coverage Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Ins. Coverage Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$FA Class$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Class] ON [Ins. Coverage Ledger Entry].[FA Class Code] = [FA Class].[Code] | |||||||
18 | FA Subclass Code | FA Subclass Code | Normal | Code | 10 | FA Subclass Code | nvarchar(20) |
Key to join to the FA Subclass table.Show/hide example querySELECT [Ins. Coverage Ledger Entry].[FA Subclass Code] ,[FA Subclass].[Code] FROM [CRONUS UK Ltd_$Ins_ Coverage Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Ins. Coverage Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$FA Subclass$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Subclass] ON [Ins. Coverage Ledger Entry].[FA Subclass Code] = [FA Subclass].[Code] | |||||||
19 | FA Location Code | FA Location Code | Normal | Code | 10 | FA Location Code | nvarchar(20) |
Key to join to the FA Location table.Show/hide example querySELECT [Ins. Coverage Ledger Entry].[FA Location Code] ,[FA Location].[Code] FROM [CRONUS UK Ltd_$Ins_ Coverage Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Ins. Coverage Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$FA Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Location] ON [Ins. Coverage Ledger Entry].[FA Location Code] = [FA Location].[Code] | |||||||
20 | Global Dimension 1 Code | Global Dimension 1 Code | Normal | Code | 20 | Global Dimension 1 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [Ins. Coverage Ledger Entry].[Global Dimension 1 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Ins_ Coverage Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Ins. Coverage Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Ins. Coverage Ledger Entry].[Global Dimension 1 Code] = [Dimension].[Code] | |||||||
21 | Global Dimension 2 Code | Global Dimension 2 Code | Normal | Code | 20 | Global Dimension 2 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [Ins. Coverage Ledger Entry].[Global Dimension 2 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Ins_ Coverage Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Ins. Coverage Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Ins. Coverage Ledger Entry].[Global Dimension 2 Code] = [Dimension].[Code] | |||||||
22 | Location Code | Location Code | Normal | Code | 10 | Location Code | nvarchar(20) |
Key to join to the Location table.Show/hide example querySELECT [Ins. Coverage Ledger Entry].[Location Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Ins_ Coverage Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Ins. Coverage Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Ins. Coverage Ledger Entry].[Location Code] = [Location].[Code] | |||||||
23 | User ID | User ID | Normal | Code | 50 | User ID | nvarchar(100) |
24 | Source Code | Source Code | Normal | Code | 10 | Source Code | nvarchar(20) |
Key to join to the Source Code table.Show/hide example querySELECT [Ins. Coverage Ledger Entry].[Source Code] ,[Source Code].[Code] FROM [CRONUS UK Ltd_$Ins_ Coverage Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Ins. Coverage Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Source Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Source Code] ON [Ins. Coverage Ledger Entry].[Source Code] = [Source Code].[Code] | |||||||
25 | Journal Batch Name | Journal Batch Name | Normal | Code | 10 | Journal Batch Name | nvarchar(20) |
26 | Reason Code | Reason Code | Normal | Code | 10 | Reason Code | nvarchar(20) |
Key to join to the Reason Code table.Show/hide example querySELECT [Ins. Coverage Ledger Entry].[Reason Code] ,[Reason Code].[Code] FROM [CRONUS UK Ltd_$Ins_ Coverage Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Ins. Coverage Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Reason Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reason Code] ON [Ins. Coverage Ledger Entry].[Reason Code] = [Reason Code].[Code] | |||||||
27 | Index Entry | Index Entry | Normal | Boolean | 4 | Index Entry | tinyint |
28 | No. Series | No. Series | Normal | Code | 20 | No_ Series | nvarchar(40) |
Key to join to the No. Series table.Show/hide example querySELECT [Ins. Coverage Ledger Entry].[No_ Series] ,[No. Series].[Code] FROM [CRONUS UK Ltd_$Ins_ Coverage Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Ins. Coverage Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series] ON [Ins. Coverage Ledger Entry].[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 [Ins. Coverage Ledger Entry].[Dimension Set ID] ,[Dimension Set Entry].[Dimension Set ID] FROM [CRONUS UK Ltd_$Ins_ Coverage Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Ins. Coverage Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry] ON [Ins. Coverage Ledger Entry].[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 [Ins. Coverage Ledger Entry].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Ins_ Coverage Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Ins. Coverage Ledger Entry] LEFT JOIN [User] AS [User] ON [Ins. Coverage Ledger Entry].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |