VAT Setup

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

Table Type: Company

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

Table Number: 189

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Primary Key]
   ,[Enable Non-Deductible VAT]
   ,[Use For Item Cost]
   ,[Use For Fixed Asset Cost]
   ,[Use For Job Cost]
   ,[Show Non-Ded_ VAT In Lines]
   ,[Non-Deductible VAT Is Enabled]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$VAT Setup$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 Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Setup]
LEFT JOIN
   [User] AS [User]
      ON
         [VAT Setup].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [VAT Setup].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in VAT Setup table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Primary Key Primary Key SearchPrimary KeyNormalCode10Primary Keynvarchar(20)
2Enable Non-Deductible VAT SearchEnable Non-Deductible TaxNormalBoolean4Enable Non-Deductible VATtinyint
3Use For Item Cost SearchUse For Item CostNormalBoolean4Use For Item Costtinyint
4Use For Fixed Asset Cost SearchUse For Fixed Asset CostNormalBoolean4Use For Fixed Asset Costtinyint
5Use For Job Cost SearchUse For Job CostNormalBoolean4Use For Job Costtinyint
10Show Non-Ded. VAT In Lines SearchShow Non-Ded. Tax In LinesNormalBoolean4Show Non-Ded_ VAT In Linestinyint
11Non-Deductible VAT Is Enabled SearchShow Non-Ded. Tax In LinesNormalBoolean4Non-Deductible VAT Is Enabledtinyint
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
       [VAT Setup].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$VAT Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Setup]
LEFT JOIN
       [User] AS [User]
              ON
                     [VAT Setup].[$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
       [VAT Setup].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$VAT Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Setup]
LEFT JOIN
       [User] AS [User]
              ON
                     [VAT Setup].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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