ECSL VAT Report Line Relation

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

Table Type: Company

Table Name: ECSL VAT Report Line Relation
Database Table Name: CRONUS UK Ltd_$ECSL VAT Report Line Relation$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 143

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 ECSL VAT Report Line Relation can be queried.

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [VAT Entry No_]
   ,[ECSL Line No_]
   ,[ECSL Report No_]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$ECSL VAT Report Line Relation$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

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

Show/hide columns in ECSL VAT Report Line Relation table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1VAT Entry No. SearchTax Entry No.NormalInteger4VAT Entry No_int
Key to join to the VAT Entry table.

Show/hide example query

SELECT
	       [ECSL VAT Report Line Relation].[VAT Entry No_]
	       ,[VAT Entry].[Entry No_]
	FROM
	       [CRONUS UK Ltd_$ECSL VAT Report Line Relation$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [ECSL VAT Report Line Relation]
	LEFT JOIN
	       [CRONUS UK Ltd_$VAT Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Entry]
	              ON
	                     [ECSL VAT Report Line Relation].[VAT Entry No_] = [VAT Entry].[Entry No_]
2ECSL Line No. Primary Key SearchECSL Line No.NormalInteger4ECSL Line No_int
3ECSL Report No. Primary Key SearchECSL Report No.NormalCode20ECSL Report No_nvarchar(40)
2000000000$systemId Primary Key SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
	       [ECSL VAT Report Line Relation].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$ECSL VAT Report Line Relation$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [ECSL VAT Report Line Relation]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [ECSL VAT Report Line Relation].[$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 *