Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/319
Table Type: Company
Table Name: Tax Area Line
Database Table Name: CRONUS UK Ltd_$Tax Area 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 Tax Area Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Tax Area Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Tax Area]
,[Tax Jurisdiction Code]
,[Calculation Order]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Tax Area 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_$Tax Area Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Area Line]
LEFT JOIN
[CRONUS UK Ltd_$Tax Area$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Area]
ON
[Tax Area Line].[Tax Area] = [Tax Area].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Tax Jurisdiction$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Jurisdiction]
ON
[Tax Area Line].[Tax Jurisdiction Code] = [Tax Jurisdiction].[Code]
LEFT JOIN
[User] AS [User]
ON
[Tax Area Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Tax Area Line].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Tax Area Line table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Tax Area | Tax Area | Normal | Code | 20 | Tax Area | nvarchar(40) |
Key to join to the Tax Area table.Show/hide example querySELECT [Tax Area Line].[Tax Area] ,[Tax Area].[Code] FROM [CRONUS UK Ltd_$Tax Area Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Area Line] LEFT JOIN [CRONUS UK Ltd_$Tax Area$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Area] ON [Tax Area Line].[Tax Area] = [Tax Area].[Code] | |||||||
2 | Tax Jurisdiction Code | Tax Jurisdiction Code | Normal | Code | 10 | Tax Jurisdiction Code | nvarchar(20) |
Key to join to the Tax Jurisdiction table.Show/hide example querySELECT [Tax Area Line].[Tax Jurisdiction Code] ,[Tax Jurisdiction].[Code] FROM [CRONUS UK Ltd_$Tax Area Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Area Line] LEFT JOIN [CRONUS UK Ltd_$Tax Jurisdiction$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Jurisdiction] ON [Tax Area Line].[Tax Jurisdiction Code] = [Tax Jurisdiction].[Code] | |||||||
3 | Jurisdiction Description | Jurisdiction Description | FlowField | Text | 100 | ||
4 | Calculation Order | Calculation Order | Normal | Integer | 4 | Calculation Order | int |
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 [Tax Area Line].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Tax Area Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Area Line] LEFT JOIN [User] AS [User] ON [Tax Area Line].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |