Human Resources Setup

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

Table Type: Company

Table Name: Human Resources Setup
Database Table Name: CRONUS UK Ltd_$Human Resources Setup$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 5218

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 Human Resources Setup can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Human Resources Setup$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Primary Key]
   ,[Employee Nos_]
   ,[Base Unit of Measure]
   ,[Automatically Create Resource]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Human Resources Setup$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Human Resources Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Human Resources Setup]
LEFT JOIN
   [CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
      ON
         [Human Resources Setup].[Base Unit of Measure] = [Unit of Measure].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Human Resources Setup].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Human Resources Setup].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Human Resources Setup table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Primary Key Primary Key SearchPrimary KeyNormalCode10Primary Keynvarchar(20)
2Employee Nos. SearchEmployee Nos.NormalCode20Employee Nos_nvarchar(40)
Key to join to the No. Series table.

Show/hide example query

SELECT
       [Human Resources Setup].[Employee Nos_]
       ,[No. Series].[Code]
FROM
       [CRONUS UK Ltd_$Human Resources Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Human Resources Setup]
LEFT JOIN
       [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series]
              ON
                     [Human Resources Setup].[Employee Nos_] = [No. Series].[Code]
3Base Unit of Measure SearchBase Unit of MeasureNormalCode10Base Unit of Measurenvarchar(20)
Key to join to the Unit of Measure table.

Show/hide example query

SELECT
       [Human Resources Setup].[Base Unit of Measure]
       ,[Unit of Measure].[Code]
FROM
       [CRONUS UK Ltd_$Human Resources Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Human Resources Setup]
LEFT JOIN
       [CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
              ON
                     [Human Resources Setup].[Base Unit of Measure] = [Unit of Measure].[Code]
4Automatically Create Resource SearchAutomatically Create ResourceNormalBoolean4Automatically Create Resourcetinyint
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
       [Human Resources Setup].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Human Resources Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Human Resources Setup]
LEFT JOIN
       [User] AS [User]
              ON
                     [Human Resources Setup].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [Human Resources Setup].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Human Resources Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Human Resources Setup]
LEFT JOIN
       [User] AS [User]
              ON
                     [Human Resources Setup].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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