Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5628
Table Type: Company
Table Name: Insurance
Database Table Name: CRONUS UK Ltd_$Insurance$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 Insurance can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Insurance$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[No_]
,[Effective Date]
,[Expiration Date]
,[Policy No_]
,[Annual Premium]
,[Policy Coverage]
,[Insurance Type]
,[Last Date Modified]
,[Insurance Vendor No_]
,[FA Class Code]
,[FA Subclass Code]
,[FA Location Code]
,[Global Dimension 1 Code]
,[Global Dimension 2 Code]
,[Location Code]
,[Blocked]
,[Description]
,[Search Description]
,[No_ Series]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Insurance$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Insurance$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Insurance]
LEFT JOIN
[CRONUS UK Ltd_$Insurance Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Insurance Type]
ON
[Insurance].[Insurance Type] = [Insurance Type].[Code]
LEFT JOIN
[CRONUS UK Ltd_$FA Class$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Class]
ON
[Insurance].[FA Class Code] = [FA Class].[Code]
LEFT JOIN
[CRONUS UK Ltd_$FA Subclass$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Subclass]
ON
[Insurance].[FA Subclass Code] = [FA Subclass].[Code]
LEFT JOIN
[CRONUS UK Ltd_$FA Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Location]
ON
[Insurance].[FA Location Code] = [FA Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Insurance].[Global Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Insurance].[Global Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Insurance].[Location Code] = [Location].[Code]
LEFT JOIN
[User] AS [User]
ON
[Insurance].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Insurance].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Insurance table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | No. | No. | Normal | Code | 20 | No_ | nvarchar(40) |
2 | Effective Date | Effective Date | Normal | Date | 4 | Effective Date | datetime |
3 | Expiration Date | Expiration Date | Normal | Date | 4 | Expiration Date | datetime |
4 | Policy No. | Policy No. | Normal | Text | 30 | Policy No_ | nvarchar(60) |
6 | Annual Premium | Annual Premium | Normal | Decimal | 12 | Annual Premium | decimal(38,38) |
7 | Policy Coverage | Policy Coverage | Normal | Decimal | 12 | Policy Coverage | decimal(38,38) |
10 | Total Value Insured | Total Value Insured | FlowField | Decimal | 12 | ||
11 | Comment | Comment | FlowField | Boolean | 4 | ||
12 | Insurance Type | Insurance Type | Normal | Code | 10 | Insurance Type | nvarchar(20) |
Key to join to the Insurance Type table.Show/hide example querySELECT [Insurance].[Insurance Type] ,[Insurance Type].[Code] FROM [CRONUS UK Ltd_$Insurance$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Insurance] LEFT JOIN [CRONUS UK Ltd_$Insurance Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Insurance Type] ON [Insurance].[Insurance Type] = [Insurance Type].[Code] | |||||||
13 | Last Date Modified | Last Date Modified | Normal | Date | 4 | Last Date Modified | datetime |
14 | Insurance Vendor No. | Insurance Vendor No. | Normal | Code | 20 | Insurance Vendor No_ | nvarchar(40) |
Key to join to the Vendor table.Show/hide example querySELECT [Insurance].[Insurance Vendor No_] ,[Vendor].[No_] FROM [CRONUS UK Ltd_$Insurance$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Insurance] LEFT JOIN [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor] ON [Insurance].[Insurance Vendor No_] = [Vendor].[No_] | |||||||
15 | 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 [Insurance].[FA Class Code] ,[FA Class].[Code] FROM [CRONUS UK Ltd_$Insurance$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Insurance] LEFT JOIN [CRONUS UK Ltd_$FA Class$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Class] ON [Insurance].[FA Class Code] = [FA Class].[Code] | |||||||
16 | 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 [Insurance].[FA Subclass Code] ,[FA Subclass].[Code] FROM [CRONUS UK Ltd_$Insurance$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Insurance] LEFT JOIN [CRONUS UK Ltd_$FA Subclass$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Subclass] ON [Insurance].[FA Subclass Code] = [FA Subclass].[Code] | |||||||
17 | 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 [Insurance].[FA Location Code] ,[FA Location].[Code] FROM [CRONUS UK Ltd_$Insurance$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Insurance] LEFT JOIN [CRONUS UK Ltd_$FA Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Location] ON [Insurance].[FA Location Code] = [FA Location].[Code] | |||||||
18 | 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 [Insurance].[Global Dimension 1 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Insurance$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Insurance] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Insurance].[Global Dimension 1 Code] = [Dimension].[Code] | |||||||
19 | 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 [Insurance].[Global Dimension 2 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Insurance$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Insurance] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Insurance].[Global Dimension 2 Code] = [Dimension].[Code] | |||||||
20 | Location Code | Location Code | Normal | Code | 10 | Location Code | nvarchar(20) |
Key to join to the Location table.Show/hide example querySELECT [Insurance].[Location Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Insurance$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Insurance] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Insurance].[Location Code] = [Location].[Code] | |||||||
32 | Blocked | Blocked | Normal | Boolean | 4 | Blocked | tinyint |
33 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
34 | Search Description | Search Description | Normal | Code | 100 | Search Description | nvarchar(200) |
35 | Date Filter | Date Filter | FlowFilter | Date | 4 | ||
36 | No. Series | No. Series | Normal | Code | 20 | No_ Series | nvarchar(40) |
Key to join to the No. Series table.Show/hide example querySELECT [Insurance].[No_ Series] ,[No. Series].[Code] FROM [CRONUS UK Ltd_$Insurance$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Insurance] LEFT JOIN [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series] ON [Insurance].[No_ Series] = [No. Series].[Code] | |||||||
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 [Insurance].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Insurance$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Insurance] LEFT JOIN [User] AS [User] ON [Insurance].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |