Calendar Entry

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

Table Type: Company

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

Table Number: 99000757

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 Calendar Entry can be queried.

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Capacity Type]
   ,[No_]
   ,[Date]
   ,[Work Shift Code]
   ,[Starting Time]
   ,[Ending Time]
   ,[Work Center No_]
   ,[Work Center Group Code]
   ,[Capacity (Total)]
   ,[Capacity (Effective)]
   ,[Efficiency]
   ,[Capacity]
   ,[Absence Efficiency]
   ,[Absence Capacity]
   ,[Starting Date-Time]
   ,[Ending Date-Time]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Calendar 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_$Calendar Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Calendar Entry]
LEFT JOIN
   [CRONUS UK Ltd_$Work Shift$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Shift]
      ON
         [Calendar Entry].[Work Shift Code] = [Work Shift].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Work Center Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Center Group]
      ON
         [Calendar Entry].[Work Center Group Code] = [Work Center Group].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Calendar Entry].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Calendar Entry].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Calendar Entry table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Capacity Type SearchCapacity TypeNormalOption4Capacity Typeint
Available options are:
  • “Work Center”
  • “Machine Center”
2No. Primary Key SearchNo.NormalCode20No_nvarchar(40)
4Date Primary Key SearchDateNormalDate4Datedatetime
5Work Shift Code Primary Key SearchWork Shift CodeNormalCode10Work Shift Codenvarchar(20)
Key to join to the Work Shift table.

Show/hide example query

SELECT
	       [Calendar Entry].[Work Shift Code]
	       ,[Work Shift].[Code]
	FROM
	       [CRONUS UK Ltd_$Calendar Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Calendar Entry]
	LEFT JOIN
	       [CRONUS UK Ltd_$Work Shift$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Shift]
	              ON
	                     [Calendar Entry].[Work Shift Code] = [Work Shift].[Code]
6Starting Time Primary Key SearchStarting TimeNormalTime4Starting Timedatetime
7Ending Time Primary Key SearchEnding TimeNormalTime4Ending Timedatetime
8Work Center No. Primary Key SearchWork Center No.NormalCode20Work Center No_nvarchar(40)
Key to join to the Work Center table.

Show/hide example query

SELECT
	       [Calendar Entry].[Work Center No_]
	       ,[Work Center].[No_]
	FROM
	       [CRONUS UK Ltd_$Calendar Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Calendar Entry]
	LEFT JOIN
	       [CRONUS UK Ltd_$Work Center$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Center]
	              ON
	                     [Calendar Entry].[Work Center No_] = [Work Center].[No_]
9Work Center Group Code SearchWork Center Group CodeNormalCode10Work Center Group Codenvarchar(20)
Key to join to the Work Center Group table.

Show/hide example query

SELECT
	       [Calendar Entry].[Work Center Group Code]
	       ,[Work Center Group].[Code]
	FROM
	       [CRONUS UK Ltd_$Calendar Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Calendar Entry]
	LEFT JOIN
	       [CRONUS UK Ltd_$Work Center Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Center Group]
	              ON
	                     [Calendar Entry].[Work Center Group Code] = [Work Center Group].[Code]
10Capacity (Total) SearchCapacity (Total)NormalDecimal12Capacity (Total)decimal(38,38)
11Capacity (Effective) SearchCapacity (Effective)NormalDecimal12Capacity (Effective)decimal(38,38)
20Efficiency SearchEfficiencyNormalDecimal12Efficiencydecimal(38,38)
21Capacity SearchCapacityNormalDecimal12Capacitydecimal(38,38)
22Absence Efficiency SearchAbsence EfficiencyNormalDecimal12Absence Efficiencydecimal(38,38)
23Absence Capacity SearchAbsence CapacityNormalDecimal12Absence Capacitydecimal(38,38)
24Starting Date-Time SearchStarting Date-TimeNormalDateTime8Starting Date-Timedatetime
25Ending Date-Time SearchEnding Date-TimeNormalDateTime8Ending Date-Timedatetime
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
	       [Calendar Entry].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Calendar Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Calendar Entry]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Calendar 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 *