VAT Rate Change Log Entry

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

Table Type: Company

Table Name: VAT Rate Change Log Entry
Database Table Name: CRONUS UK Ltd_$VAT Rate Change Log Entry$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 552

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 Rate Change Log Entry can be queried.

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Converted Date]
   ,[Entry No_]
   ,[Table ID]
   ,[Record ID]
   ,[Old Gen_ Prod_ Posting Group]
   ,[New Gen_ Prod_ Posting Group]
   ,[Old VAT Prod_ Posting Group]
   ,[New VAT Prod_ Posting Group]
   ,[Converted]
   ,[Description]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$VAT Rate Change Log Entry$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 Rate Change Log Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Rate Change Log Entry]
LEFT JOIN
   [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
      ON
         [VAT Rate Change Log Entry].[Table ID] = [Data Exch. Mapping].[Table ID]
LEFT JOIN
   [User] AS [User]
      ON
         [VAT Rate Change Log Entry].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [VAT Rate Change Log Entry].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in VAT Rate Change Log Entry table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Converted Date SearchConverted DateNormalDate4Converted Datedatetime
2Entry No. Primary Key SearchEntry No.NormalBigInteger8Entry No_bigint
10Table ID Primary Key SearchTable IDNormalInteger4Table IDint
Key to join to the Data Exch. Mapping table.

Show/hide example query

SELECT
	       [VAT Rate Change Log Entry].[Table ID]
	       ,[Data Exch. Mapping].[Table ID]
	FROM
	       [CRONUS UK Ltd_$VAT Rate Change Log Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Rate Change Log Entry]
	LEFT JOIN
	       [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
	              ON
	                     [VAT Rate Change Log Entry].[Table ID] = [Data Exch. Mapping].[Table ID]
11Table Caption SearchTable CaptionFlowFieldText80
20Record ID SearchRecord IDNormalRecordID448Record IDvarbinary(448)
30Old Gen. Prod. Posting Group SearchOld Gen. Prod. Posting GroupNormalCode20Old Gen_ Prod_ Posting Groupnvarchar(40)
31New Gen. Prod. Posting Group SearchNew Gen. Prod. Posting GroupNormalCode20New Gen_ Prod_ Posting Groupnvarchar(40)
32Old VAT Prod. Posting Group SearchOld VAT Prod. Posting GroupNormalCode20Old VAT Prod_ Posting Groupnvarchar(40)
33New VAT Prod. Posting Group SearchNew VAT Prod. Posting GroupNormalCode20New VAT Prod_ Posting Groupnvarchar(40)
40Converted SearchConvertedNormalBoolean4Convertedtinyint
50Description SearchDescriptionNormalText250Descriptionnvarchar(500)
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 Rate Change Log Entry].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$VAT Rate Change Log Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Rate Change Log Entry]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [VAT Rate Change Log Entry].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Leave a Reply

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