Job Journal Template

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

Table Type: Company

Table Name: Job Journal Template
Database Table Name: CRONUS UK Ltd_$Job Journal Template$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 209

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Name]
   ,[Description]
   ,[Test Report ID]
   ,[Page ID]
   ,[Posting Report ID]
   ,[Force Posting Report]
   ,[Source Code]
   ,[Reason Code]
   ,[Recurring]
   ,[No_ Series]
   ,[Posting No_ Series]
   ,[Increment Batch Name]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Job Journal Template$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 Journal Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Journal Template]
LEFT JOIN
   [CRONUS UK Ltd_$Source Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Source Code]
      ON
         [Job Journal Template].[Source Code] = [Source Code].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Reason Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reason Code]
      ON
         [Job Journal Template].[Reason Code] = [Reason Code].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Job Journal Template].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Job Journal Template].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Job Journal Template table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Name SearchNameNormalCode10Namenvarchar(20)
2Description Primary Key SearchDescriptionNormalText80Descriptionnvarchar(160)
5Test Report ID SearchTest Report IDNormalInteger4Test Report IDint
6Page ID SearchPage IDNormalInteger4Page IDint
7Posting Report ID SearchPosting Report IDNormalInteger4Posting Report IDint
8Force Posting Report SearchForce Posting ReportNormalBoolean4Force Posting Reporttinyint
10Source Code SearchSource CodeNormalCode10Source Codenvarchar(20)
Key to join to the Source Code table.

Show/hide example query

SELECT
	       [Job Journal Template].[Source Code]
	       ,[Source Code].[Code]
	FROM
	       [CRONUS UK Ltd_$Job Journal Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Journal Template]
	LEFT JOIN
	       [CRONUS UK Ltd_$Source Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Source Code]
	              ON
	                     [Job Journal Template].[Source Code] = [Source Code].[Code]
11Reason Code SearchReason CodeNormalCode10Reason Codenvarchar(20)
Key to join to the Reason Code table.

Show/hide example query

SELECT
	       [Job Journal Template].[Reason Code]
	       ,[Reason Code].[Code]
	FROM
	       [CRONUS UK Ltd_$Job Journal Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Journal Template]
	LEFT JOIN
	       [CRONUS UK Ltd_$Reason Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reason Code]
	              ON
	                     [Job Journal Template].[Reason Code] = [Reason Code].[Code]
12Recurring SearchRecurringNormalBoolean4Recurringtinyint
13Test Report Caption SearchTest Report CaptionFlowFieldText250
14Page Caption SearchPage CaptionFlowFieldText250
15Posting Report Caption SearchPosting Report CaptionFlowFieldText250
16No. Series SearchNo. SeriesNormalCode20No_ Seriesnvarchar(40)
Key to join to the No. Series table.

Show/hide example query

SELECT
	       [Job Journal Template].[No_ Series]
	       ,[No. Series].[Code]
	FROM
	       [CRONUS UK Ltd_$Job Journal Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Journal Template]
	LEFT JOIN
	       [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series]
	              ON
	                     [Job Journal Template].[No_ Series] = [No. Series].[Code]
17Posting No. Series SearchPosting No. SeriesNormalCode20Posting No_ Seriesnvarchar(40)
Key to join to the No. Series table.

Show/hide example query

SELECT
	       [Job Journal Template].[Posting No_ Series]
	       ,[No. Series].[Code]
	FROM
	       [CRONUS UK Ltd_$Job Journal Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Journal Template]
	LEFT JOIN
	       [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series]
	              ON
	                     [Job Journal Template].[Posting No_ Series] = [No. Series].[Code]
30Increment Batch Name SearchIncrement Batch NameNormalBoolean4Increment Batch Nametinyint
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 Journal Template].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Job Journal Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Journal Template]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Job Journal Template].[$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 *