Time Sheet Detail

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

Table Type: Company

Table Name: Time Sheet Detail
Database Table Name: CRONUS UK Ltd_$Time Sheet Detail$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 952

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 Time Sheet Detail can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Time Sheet Detail$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [timestamp]
   ,[Time Sheet No_]
   ,[Time Sheet Line No_]
   ,[Date]
   ,[Type]
   ,[Resource No_]
   ,[Job No_]
   ,[Job Task No_]
   ,[Cause of Absence Code]
   ,[Service Order No_]
   ,[Service Order Line No_]
   ,[Quantity]
   ,[Posted Quantity]
   ,[Assembly Order No_]
   ,[Assembly Order Line No_]
   ,[Status]
   ,[Posted]
   ,[Dimension Set ID]
   ,[Id]
   ,[Last Modified DateTime]
   ,[Job Id]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Time Sheet Detail$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Time Sheet Detail$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Time Sheet Detail]
LEFT JOIN
   [CRONUS UK Ltd_$Job$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job]
      ON
         [Time Sheet Detail].[Job No_] = [Job].[Job No_]
LEFT JOIN
   [CRONUS UK Ltd_$Job Task$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Task]
      ON
         [Time Sheet Detail].[Job Task No_] = [Job Task].[Job Task No_]

Show/hide columns in Time Sheet Detail table

Column IDColumn NameData Type
1timestamp Searchtimestamp
2Time Sheet No_ Primary Key Searchnvarchar(40)
3Time Sheet Line No_ Primary Key Searchint
4Date Primary Key Searchdatetime
5Type Searchint
6Resource No_ Searchnvarchar(40)
7Job No_ Searchnvarchar(40)
Key to join to the Job table.

Show/hide example query

SELECT
       [Time Sheet Detail].[Job No_]
       ,[Job].[Job No_]
FROM
       [CRONUS UK Ltd_$Time Sheet Detail$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Time Sheet Detail]
LEFT JOIN
       [CRONUS UK Ltd_$Job$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job]
              ON
                     [Time Sheet Detail].[Job No_] = [Job].[Job No_]
8Job Task No_ Searchnvarchar(40)
Key to join to the Job Task table.

Show/hide example query

SELECT
       [Time Sheet Detail].[Job Task No_]
       ,[Job Task].[Job Task No_]
FROM
       [CRONUS UK Ltd_$Time Sheet Detail$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Time Sheet Detail]
LEFT JOIN
       [CRONUS UK Ltd_$Job Task$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Task]
              ON
                     [Time Sheet Detail].[Job Task No_] = [Job Task].[Job Task No_]
9Cause of Absence Code Searchnvarchar(20)
10Service Order No_ Searchnvarchar(40)
11Service Order Line No_ Searchint
12Quantity Searchdecimal(38,38)
13Posted Quantity Searchdecimal(38,38)
14Assembly Order No_ Searchnvarchar(40)
15Assembly Order Line No_ Searchint
16Status Searchint
17Posted Searchtinyint
18Dimension Set ID Searchint
19Id Searchuniqueidentifier
20Last Modified DateTime Searchdatetime
21Job Id Searchuniqueidentifier
22$systemId Searchuniqueidentifier
23$systemCreatedAt Searchdatetime
24$systemCreatedBy Searchuniqueidentifier
25$systemModifiedAt Searchdatetime
26$systemModifiedBy Searchuniqueidentifier

Show/hide tables related from Time Sheet Detail table

Leave a Reply

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