Employee Absence

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

Table Type: Company

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

Table Number: 5207

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [timestamp]
   ,[Entry No_]
   ,[Employee No_]
   ,[From Date]
   ,[To Date]
   ,[Cause of Absence Code]
   ,[Description]
   ,[Quantity]
   ,[Unit of Measure Code]
   ,[Quantity (Base)]
   ,[Qty_ per Unit of Measure]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Employee Absence$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Employee Absence$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Employee Absence]
LEFT JOIN
   [CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
      ON
         [Employee Absence].[Unit of Measure Code] = [Unit of Measure].[Code]

Show/hide columns in Employee Absence table

Column IDColumn NameData Type
1timestamp Searchtimestamp
2Entry No_ Primary Key Searchint
3Employee No_ Searchnvarchar(40)
4From Date Searchdatetime
5To Date Searchdatetime
6Cause of Absence Code Searchnvarchar(20)
7Description Searchnvarchar(200)
8Quantity Searchdecimal(38,38)
9Unit of Measure Code Searchnvarchar(20)
Key to join to the Unit of Measure table.

Show/hide example query

SELECT
       [Employee Absence].[Unit of Measure Code]
       ,[Unit of Measure].[Code]
FROM
       [CRONUS UK Ltd_$Employee Absence$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Employee Absence]
LEFT JOIN
       [CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
              ON
                     [Employee Absence].[Unit of Measure Code] = [Unit of Measure].[Code]
10Quantity (Base) Searchdecimal(38,38)
11Qty_ per Unit of Measure Searchdecimal(38,38)
12$systemId Searchuniqueidentifier
13$systemCreatedAt Searchdatetime
14$systemCreatedBy Searchuniqueidentifier
15$systemModifiedAt Searchdatetime
16$systemModifiedBy Searchuniqueidentifier

Show/hide tables related from Employee Absence table

Leave a Reply

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