VATGroup Calculation

Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/4801

Table Type: Company

Table Name: VATGroup Calculation
Database Table Name: CRONUS UK Ltd_$VATGroup Calculation$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 4801

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 VATGroup Calculation can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$VATGroup Calculation$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [ID]
   ,[VAT Group Submission No_]
   ,[VAT Group Submission ID]
   ,[VAT Report No_]
   ,[Group Member Name]
   ,[Box No_]
   ,[Amount]
   ,[Submitted On]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$VATGroup Calculation$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns including those from all joined tables

SELECT
   *
FROM
   [CRONUS UK Ltd_$VATGroup Calculation$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VATGroup Calculation]
LEFT JOIN
   [User] AS [User]
      ON
         [VATGroup Calculation].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [VATGroup Calculation].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in VATGroup Calculation table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1ID Primary Key SearchIDNormalGUID16IDuniqueidentifier
2VAT Group Submission No. SearchVAT Group Submission No.NormalCode20VAT Group Submission No_nvarchar(40)
3VAT Group Submission ID SearchVAT Group Submission IDNormalGUID16VAT Group Submission IDuniqueidentifier
4VAT Report No. SearchVAT Report No.NormalCode20VAT Report No_nvarchar(40)
Key to join to the VAT Report Header table.

Show/hide example query

SELECT
       [VATGroup Calculation].[VAT Report No_]
       ,[VAT Report Header].[No_]
FROM
       [CRONUS UK Ltd_$VATGroup Calculation$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VATGroup Calculation]
LEFT JOIN
       [CRONUS UK Ltd_$VAT Report Header$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [VAT Report Header]
              ON
                     [VATGroup Calculation].[VAT Report No_] = [VAT Report Header].[No_]
5Group Member Name SearchGroup Member NameNormalText250Group Member Namenvarchar(500)
6Box No. SearchBox No.NormalText30Box No_nvarchar(60)
7Amount SearchAmountNormalDecimal12Amountdecimal(38,38)
8Submitted On SearchSubmitted OnNormalDateTime8Submitted Ondatetime
2000000000$systemId SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [VATGroup Calculation].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$VATGroup Calculation$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VATGroup Calculation]
LEFT JOIN
       [User] AS [User]
              ON
                     [VATGroup Calculation].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [VATGroup Calculation].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$VATGroup Calculation$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VATGroup Calculation]
LEFT JOIN
       [User] AS [User]
              ON
                     [VATGroup Calculation].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

Your email address will not be published. Required fields are marked *