User Tours

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

Table Type: System

Table Name: User Tours
Database Table Name:

Table Number: 1314

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

Show/hide an example select of all columns

SELECT
   *
FROM
   []

Show/hide an example select of all columns by name

SELECT

FROM
   []

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

SELECT
   *
FROM
   [] AS [User Tours]
LEFT JOIN
   [CRONUS UK Ltd_$Guided Experience Item$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Guided Experience Item]
      ON
         [User Tours].[Version] = [Guided Experience Item].[Version]
LEFT JOIN
   [User] AS [User]
      ON
         [User Tours].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [User Tours].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in User Tours table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1User ID SearchUser IDNormalText132
3Tour ID Primary Key SearchTour IDNormalInteger4
4Status Primary Key SearchStatusNormalOption4
5Version SearchVersionNormalText163
Key to join to the Guided Experience Item table.

Show/hide example query

SELECT
	       [User Tours].[]
	       ,[Guided Experience Item].[Version]
	FROM
	       [] AS [User Tours]
	LEFT JOIN
	       [CRONUS UK Ltd_$Guided Experience Item$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Guided Experience Item]
	              ON
	                     [User Tours].[] = [Guided Experience Item].[Version]
2000000000$systemId SearchSystem IDNormalGUID16
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8
2000000002SystemCreatedBy SearchCreated ByNormalGUID16
Key to join to the User table.

Show/hide example query

SELECT
	       [User Tours].[]
	       ,[User].[User Security ID]
	FROM
	       [] AS [User Tours]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [User Tours].[] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8
2000000004SystemModifiedBy SearchModified ByNormalGUID16

Leave a Reply

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