Calendar Absence Entry

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

Table Type: Company

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

Table Number: 99000760

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

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

Show/hide columns in Calendar Absence 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
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 Absence Entry].[Work Center No_]
	       ,[Work Center].[No_]
	FROM
	       [CRONUS UK Ltd_$Calendar Absence Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Calendar Absence Entry]
	LEFT JOIN
	       [CRONUS UK Ltd_$Work Center$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Center]
	              ON
	                     [Calendar Absence 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 Absence Entry].[Work Center Group Code]
	       ,[Work Center Group].[Code]
	FROM
	       [CRONUS UK Ltd_$Calendar Absence Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Calendar Absence Entry]
	LEFT JOIN
	       [CRONUS UK Ltd_$Work Center Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Center Group]
	              ON
	                     [Calendar Absence Entry].[Work Center Group Code] = [Work Center Group].[Code]
21Capacity SearchCapacityNormalDecimal12Capacitydecimal(38,38)
24Starting Date-Time SearchStarting Date-TimeNormalDateTime8Starting Date-Timedatetime
25Ending Date-Time SearchEnding Date-TimeNormalDateTime8Ending Date-Timedatetime
31Description SearchDescriptionNormalText100Descriptionnvarchar(200)
32Updated SearchUpdatedNormalBoolean4Updatedtinyint
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 Absence Entry].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Calendar Absence Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Calendar Absence Entry]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Calendar Absence 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 *