Job Planning Line – Calendar

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

Table Type: Company

Table Name: Job Planning Line – Calendar
Database Table Name: CRONUS UK Ltd_$Job Planning Line – Calendar$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 1034

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 Job Planning Line – Calendar can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Job Planning Line - Calendar$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT

FROM
   [CRONUS UK Ltd_$Job Planning Line - Calendar$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Job Planning Line - Calendar$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Planning Line - Calendar]
LEFT JOIN
   [User] AS [User]
      ON
         [Job Planning Line - Calendar].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Job Planning Line - Calendar].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Job Planning Line – Calendar table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Job No. SearchJob No.NormalCode20Job No_nvarchar(40)
Key to join to the Job table.

Show/hide example query

SELECT
	       [Job Planning Line - Calendar].[Job No_]
	       ,[Job].[No_]
	FROM
	       [CRONUS UK Ltd_$Job Planning Line - Calendar$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Planning Line - Calendar]
	LEFT JOIN
	       [CRONUS UK Ltd_$Job$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job]
	              ON
	                     [Job Planning Line - Calendar].[Job No_] = [Job].[No_]
2Job Task No. Primary Key SearchJob Task No.NormalCode20Job Task No_nvarchar(40)
3Planning Line No. Primary Key SearchPlanning Line No.NormalInteger4Planning Line No_int
Key to join to the Job Planning Line table.

Show/hide example query

SELECT
	       [Job Planning Line - Calendar].[Planning Line No_]
	       ,[Job Planning Line].[Line No_]
	FROM
	       [CRONUS UK Ltd_$Job Planning Line - Calendar$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Planning Line - Calendar]
	LEFT JOIN
	       [CRONUS UK Ltd_$Job Planning Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Planning Line]
	              ON
	                     [Job Planning Line - Calendar].[Planning Line No_] = [Job Planning Line].[Line No_]
4Resource No. Primary Key SearchResource No.NormalCode20Resource No_nvarchar(40)
Key to join to the Resource table.

Show/hide example query

SELECT
	       [Job Planning Line - Calendar].[Resource No_]
	       ,[Resource].[No_]
	FROM
	       [CRONUS UK Ltd_$Job Planning Line - Calendar$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Planning Line - Calendar]
	LEFT JOIN
	       [CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource]
	              ON
	                     [Job Planning Line - Calendar].[Resource No_] = [Resource].[No_]
6Planning Date SearchPlanning DateNormalDate4Planning Datedatetime
7Quantity SearchQuantityNormalDecimal12Quantitydecimal(38,38)
8Description SearchDescriptionNormalText100Descriptionnvarchar(200)
9UID SearchUIDNormalGUID16UIDuniqueidentifier
10Sequence SearchSequenceNormalInteger4Sequenceint
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
	       [Job Planning Line - Calendar].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Job Planning Line - Calendar$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Planning Line - Calendar]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Job Planning Line - Calendar].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Leave a Reply

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