Booking Sync

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

Table Type: Company

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

Table Number: 6702

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Primary Key]
   ,[Booking Mailbox Address]
   ,[Booking Mailbox Name]
   ,[User ID]
   ,[Last Customer Sync]
   ,[Last Service Sync]
   ,[Enabled]
   ,[Sync Customers]
   ,[Customer Filter]
   ,[Customer Template Code]
   ,[Sync Services]
   ,[Item Filter]
   ,[Item Template Code]
   ,[Customer Templ_ Code]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Booking Sync$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Booking Sync$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Booking Sync]
LEFT JOIN
   [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
      ON
         [Booking Sync].[Customer Filter] = [Customer].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item]
      ON
         [Booking Sync].[Item Filter] = [Item].[No_]
LEFT JOIN
   [User] AS [User]
      ON
         [Booking Sync].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Booking Sync].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Booking Sync table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Primary Key SearchPrimary KeyNormalCode10Primary Keynvarchar(20)
2Booking Mailbox Address Primary Key SearchBooking Mailbox AddressNormalText80Booking Mailbox Addressnvarchar(160)
3Booking Mailbox Name SearchBooking Mailbox NameNormalText250Booking Mailbox Namenvarchar(500)
4User ID SearchUser IDNormalCode50User IDnvarchar(100)
5Last Customer Sync SearchLast Customer SyncNormalDateTime8Last Customer Syncdatetime
6Last Service Sync SearchLast Service SyncNormalDateTime8Last Service Syncdatetime
7Enabled SearchEnabledNormalBoolean4Enabledtinyint
8Sync Customers SearchSync CustomersNormalBoolean4Sync Customerstinyint
9Customer Filter SearchCustomer FilterNormalBLOB8Customer Filterimage
Key to join to the Customer table.

Show/hide example query

SELECT
	       [Booking Sync].[Customer Filter]
	       ,[Customer].[No_]
	FROM
	       [CRONUS UK Ltd_$Booking Sync$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Booking Sync]
	LEFT JOIN
	       [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
	              ON
	                     [Booking Sync].[Customer Filter] = [Customer].[No_]
10Customer Template Code SearchCustomer Template CodeNormalCode10Customer Template Codenvarchar(20)
12Sync Services SearchSync ServicesNormalBoolean4Sync Servicestinyint
13Item Filter SearchItem FilterNormalBLOB8Item Filterimage
Key to join to the Item table.

Show/hide example query

SELECT
	       [Booking Sync].[Item Filter]
	       ,[Item].[No_]
	FROM
	       [CRONUS UK Ltd_$Booking Sync$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Booking Sync]
	LEFT JOIN
	       [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item]
	              ON
	                     [Booking Sync].[Item Filter] = [Item].[No_]
14Item Template Code SearchItem Template CodeNormalCode10Item Template Codenvarchar(20)
15Customer Templ. Code SearchCustomer Template CodeNormalCode20Customer Templ_ Codenvarchar(40)
Key to join to the Customer Templ. table.

Show/hide example query

SELECT
	       [Booking Sync].[Customer Templ_ Code]
	       ,[Customer Templ.].[Code]
	FROM
	       [CRONUS UK Ltd_$Booking Sync$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Booking Sync]
	LEFT JOIN
	       [CRONUS UK Ltd_$Customer Templ_$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer Templ.]
	              ON
	                     [Booking Sync].[Customer Templ_ Code] = [Customer Templ.].[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
	       [Booking Sync].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Booking Sync$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Booking Sync]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Booking Sync].[$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 *