Time Sheet Detail Archive

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

Table Type: Company

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

Table Number: 956

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

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Time Sheet Detail Archive$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]
   ,[Document No_]
   ,[Posting Date]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Time Sheet Detail Archive$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 Archive$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Time Sheet Detail Archive]
LEFT JOIN
   [CRONUS UK Ltd_$Job$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job]
      ON
         [Time Sheet Detail Archive].[Job No_] = [Job].[Job No_]
LEFT JOIN
   [CRONUS UK Ltd_$Job Task$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Task]
      ON
         [Time Sheet Detail Archive].[Job Task No_] = [Job Task].[Job Task No_]

Show/hide columns in Time Sheet Detail Archive 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 Archive].[Job No_]
       ,[Job].[Job No_]
FROM
       [CRONUS UK Ltd_$Time Sheet Detail Archive$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Time Sheet Detail Archive]
LEFT JOIN
       [CRONUS UK Ltd_$Job$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job]
              ON
                     [Time Sheet Detail Archive].[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 Archive].[Job Task No_]
       ,[Job Task].[Job Task No_]
FROM
       [CRONUS UK Ltd_$Time Sheet Detail Archive$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Time Sheet Detail Archive]
LEFT JOIN
       [CRONUS UK Ltd_$Job Task$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Task]
              ON
                     [Time Sheet Detail Archive].[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
18Document No_ Searchnvarchar(40)
19Posting Date Searchdatetime
20$systemId Searchuniqueidentifier
21$systemCreatedAt Searchdatetime
22$systemCreatedBy Searchuniqueidentifier
23$systemModifiedAt Searchdatetime
24$systemModifiedBy Searchuniqueidentifier

Show/hide tables related from Time Sheet Detail Archive table

Leave a Reply

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