Time Sheet Line Archive

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

Table Type: Company

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

Table Number: 955

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [timestamp]
   ,[Time Sheet No_]
   ,[Line No_]
   ,[Time Sheet Starting Date]
   ,[Type]
   ,[Job No_]
   ,[Job Task No_]
   ,[Cause of Absence Code]
   ,[Description]
   ,[Work Type Code]
   ,[Approver ID]
   ,[Service Order No_]
   ,[Service Order Line No_]
   ,[Chargeable]
   ,[Assembly Order No_]
   ,[Assembly Order Line No_]
   ,[Status]
   ,[Approved By]
   ,[Approval Date]
   ,[Posted]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Time Sheet Line 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 Line Archive$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Time Sheet Line Archive]
LEFT JOIN
   [CRONUS UK Ltd_$Job$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job]
      ON
         [Time Sheet Line Archive].[Job No_] = [Job].[Job No_]
LEFT JOIN
   [CRONUS UK Ltd_$Job Task$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Task]
      ON
         [Time Sheet Line Archive].[Job Task No_] = [Job Task].[Job Task No_]

Show/hide columns in Time Sheet Line Archive table

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

Show/hide example query

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

Show/hide example query

SELECT
       [Time Sheet Line Archive].[Job Task No_]
       ,[Job Task].[Job Task No_]
FROM
       [CRONUS UK Ltd_$Time Sheet Line Archive$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Time Sheet Line Archive]
LEFT JOIN
       [CRONUS UK Ltd_$Job Task$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Task]
              ON
                     [Time Sheet Line Archive].[Job Task No_] = [Job Task].[Job Task No_]
8Cause of Absence Code Searchnvarchar(20)
9Description Searchnvarchar(200)
10Work Type Code Searchnvarchar(20)
11Approver ID Searchnvarchar(100)
12Service Order No_ Searchnvarchar(40)
13Service Order Line No_ Searchint
14Chargeable Searchtinyint
15Assembly Order No_ Searchnvarchar(40)
16Assembly Order Line No_ Searchint
17Status Searchint
18Approved By Searchnvarchar(100)
19Approval Date Searchdatetime
20Posted Searchtinyint
21$systemId Searchuniqueidentifier
22$systemCreatedAt Searchdatetime
23$systemCreatedBy Searchuniqueidentifier
24$systemModifiedAt Searchdatetime
25$systemModifiedBy Searchuniqueidentifier

Show/hide tables related from Time Sheet Line Archive table

Leave a Reply

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