VAT Registration Log

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

Table Type: Company

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

Table Number: 249

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Entry No_]
   ,[VAT Registration No_]
   ,[Account Type]
   ,[Account No_]
   ,[Country_Region Code]
   ,[User ID]
   ,[Status]
   ,[Verified Name]
   ,[Verified Address]
   ,[Verified Date]
   ,[Request Identifier]
   ,[Verified Street]
   ,[Verified Postcode]
   ,[Verified City]
   ,[Details Status]
   ,[Template]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$VAT Registration Log$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 Registration Log$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Registration Log]
LEFT JOIN
   [CRONUS UK Ltd_$VAT Reg_ No_ Srv_ Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Reg. No. Srv. Template]
      ON
         [VAT Registration Log].[Template] = [VAT Reg. No. Srv. Template].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [VAT Registration Log].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [VAT Registration Log].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in VAT Registration Log table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Entry No. SearchEntry No.NormalInteger4Entry No_int
2VAT Registration No. Primary Key SearchTax Registration No.NormalText20VAT Registration No_nvarchar(40)
3Account Type SearchAccount TypeNormalOption4Account Typeint
Available options are:
  • “Customer”
  • “Vendor”
  • “Contact”
  • “Company Information”
4Account No. SearchAccount No.NormalCode20Account No_nvarchar(40)
Key to join to the G/L Account table.

Show/hide example query

SELECT
	       [VAT Registration Log].[Account No_]
	       ,[G/L Account].[No_]
	FROM
	       [CRONUS UK Ltd_$VAT Registration Log$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Registration Log]
	LEFT JOIN
	       [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account]
	              ON
	                     [VAT Registration Log].[Account No_] = [G/L Account].[No_]
5Country/Region Code SearchCountry/Region CodeNormalCode10Country_Region Codenvarchar(20)
6User ID SearchUser IDNormalCode50User IDnvarchar(100)
10Status SearchStatusNormalOption4Statusint
Available options are:
  • “Not Verified”
  • “Valid”
  • “Invalid”
11Verified Name SearchVerified NameNormalText150Verified Namenvarchar(300)
12Verified Address SearchVerified AddressNormalText150Verified Addressnvarchar(300)
13Verified Date SearchVerified DateNormalDateTime8Verified Datedatetime
14Request Identifier SearchRequest IdentifierNormalText200Request Identifiernvarchar(400)
15Verified Street SearchVerified StreetNormalText50Verified Streetnvarchar(100)
16Verified Postcode SearchVerified ZIP CodeNormalText20Verified Postcodenvarchar(40)
17Verified City SearchVerified CityNormalText30Verified Citynvarchar(60)
18Details Status SearchDetails StatusNormalOption4Details Statusint
Available options are:
  • “Not Verified”
  • “Valid”
  • “Not Valid”
  • “Partially Valid”
  • “Ignored”
19Template SearchTemplateNormalCode20Templatenvarchar(40)
Key to join to the VAT Reg. No. Srv. Template table.

Show/hide example query

SELECT
	       [VAT Registration Log].[Template]
	       ,[VAT Reg. No. Srv. Template].[Code]
	FROM
	       [CRONUS UK Ltd_$VAT Registration Log$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Registration Log]
	LEFT JOIN
	       [CRONUS UK Ltd_$VAT Reg_ No_ Srv_ Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Reg. No. Srv. Template]
	              ON
	                     [VAT Registration Log].[Template] = [VAT Reg. No. Srv. Template].[Code]
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 Registration Log].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$VAT Registration Log$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Registration Log]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [VAT Registration Log].[$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 *