Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/746
Table Type: Company
Table Name: VAT Reports Configuration
Database Table Name: CRONUS UK Ltd_$VAT Reports Configuration$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 VAT Reports Configuration can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$VAT Reports Configuration$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[VAT Report Type]
,[VAT Report Version]
,[Suggest Lines Codeunit ID]
,[Content Codeunit ID]
,[Submission Codeunit ID]
,[Response Handler Codeunit ID]
,[Validate Codeunit ID]
,[VAT Statement Template]
,[VAT Statement Name]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$VAT Reports Configuration$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$VAT Reports Configuration$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Reports Configuration]
LEFT JOIN
[CRONUS UK Ltd_$VAT Statement Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Statement Template]
ON
[VAT Reports Configuration].[VAT Statement Template] = [VAT Statement Template].[Name]
LEFT JOIN
[CRONUS UK Ltd_$VAT Statement Name$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Statement Name]
ON
[VAT Reports Configuration].[VAT Statement Name] = [VAT Statement Name].[Name]
LEFT JOIN
[User] AS [User]
ON
[VAT Reports Configuration].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[VAT Reports Configuration].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in VAT Reports Configuration table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | VAT Report Type | Tax Report Type | Normal | Option | 4 | VAT Report Type | int |
Available options are:
| |||||||
2 | VAT Report Version | Tax Report Version | Normal | Code | 10 | VAT Report Version | nvarchar(20) |
3 | Suggest Lines Codeunit ID | Suggest Lines Codeunit ID | Normal | Integer | 4 | Suggest Lines Codeunit ID | int |
4 | Suggest Lines Codeunit Caption | Suggest Lines Codeunit Caption | FlowField | Text | 250 | ||
5 | Content Codeunit ID | Content Codeunit ID | Normal | Integer | 4 | Content Codeunit ID | int |
6 | Content Codeunit Caption | Content Codeunit Caption | FlowField | Text | 250 | ||
7 | Submission Codeunit ID | Submission Codeunit ID | Normal | Integer | 4 | Submission Codeunit ID | int |
8 | Submission Codeunit Caption | Submission Codeunit Caption | FlowField | Text | 250 | ||
9 | Response Handler Codeunit ID | Response Handler Codeunit ID | Normal | Integer | 4 | Response Handler Codeunit ID | int |
10 | Resp. Handler Codeunit Caption | Resp. Handler Codeunit Caption | FlowField | Text | 250 | ||
11 | Validate Codeunit ID | Validate Codeunit ID | Normal | Integer | 4 | Validate Codeunit ID | int |
12 | Validate Codeunit Caption | Validate Codeunit Caption | FlowField | Text | 250 | ||
13 | VAT Statement Template | Tax Statement Template | Normal | Code | 10 | VAT Statement Template | nvarchar(20) |
Key to join to the VAT Statement Template table.Show/hide example querySELECT [VAT Reports Configuration].[VAT Statement Template] ,[VAT Statement Template].[Name] FROM [CRONUS UK Ltd_$VAT Reports Configuration$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Reports Configuration] LEFT JOIN [CRONUS UK Ltd_$VAT Statement Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Statement Template] ON [VAT Reports Configuration].[VAT Statement Template] = [VAT Statement Template].[Name] | |||||||
14 | VAT Statement Name | Tax Statement Name | Normal | Code | 10 | VAT Statement Name | nvarchar(20) |
Key to join to the VAT Statement Name table.Show/hide example querySELECT [VAT Reports Configuration].[VAT Statement Name] ,[VAT Statement Name].[Name] FROM [CRONUS UK Ltd_$VAT Reports Configuration$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Reports Configuration] LEFT JOIN [CRONUS UK Ltd_$VAT Statement Name$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Statement Name] ON [VAT Reports Configuration].[VAT Statement Name] = [VAT Statement Name].[Name] | |||||||
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 [VAT Reports Configuration].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$VAT Reports Configuration$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Reports Configuration] LEFT JOIN [User] AS [User] ON [VAT Reports Configuration].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |