Res. Journal Line

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

Table Type: Company

Table Name: Res. Journal Line
Database Table Name: CRONUS UK Ltd_$Res_ Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 207

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Journal Template Name]
   ,[Line No_]
   ,[Entry Type]
   ,[Document No_]
   ,[Posting Date]
   ,[Resource No_]
   ,[Resource Group No_]
   ,[Description]
   ,[Work Type Code]
   ,[Job No_]
   ,[Unit of Measure Code]
   ,[Quantity]
   ,[Direct Unit Cost]
   ,[Unit Cost]
   ,[Total Cost]
   ,[Unit Price]
   ,[Total Price]
   ,[Shortcut Dimension 1 Code]
   ,[Shortcut Dimension 2 Code]
   ,[Source Code]
   ,[Journal Batch Name]
   ,[Reason Code]
   ,[Recurring Method]
   ,[Expiration Date]
   ,[Recurring Frequency]
   ,[Gen_ Bus_ Posting Group]
   ,[Gen_ Prod_ Posting Group]
   ,[Document Date]
   ,[External Document No_]
   ,[Posting No_ Series]
   ,[Source Type]
   ,[Source No_]
   ,[Qty_ per Unit of Measure]
   ,[Order Type]
   ,[Order No_]
   ,[Order Line No_]
   ,[Dimension Set ID]
   ,[Time Sheet No_]
   ,[Time Sheet Line No_]
   ,[Time Sheet Date]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Res_ Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Res_ Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Journal Line]
LEFT JOIN
   [CRONUS UK Ltd_$Work Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Type]
      ON
         [Res. Journal Line].[Work Type Code] = [Work Type].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
      ON
         [Res. Journal Line].[Shortcut Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
      ON
         [Res. Journal Line].[Shortcut Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Source Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Source Code]
      ON
         [Res. Journal Line].[Source Code] = [Source Code].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Reason Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reason Code]
      ON
         [Res. Journal Line].[Reason Code] = [Reason Code].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
      ON
         [Res. Journal Line].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Res. Journal Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Res. Journal Line].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Res. Journal Line table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Journal Template Name Primary Key SearchJournal Template NameNormalCode10Journal Template Namenvarchar(20)
2Line No. Primary Key SearchLine No.NormalInteger4Line No_int
3Entry Type SearchEntry TypeNormalOption4Entry Typeint
Available options are:
  • “Usage”
  • “Sale”
  • “Purchase”
4Document No. SearchDocument No.NormalCode20Document No_nvarchar(40)
5Posting Date SearchPosting DateNormalDate4Posting Datedatetime
6Resource No. SearchResource No.NormalCode20Resource No_nvarchar(40)
Key to join to the Resource table.

Show/hide example query

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

Show/hide example query

SELECT
       [Res. Journal Line].[Resource Group No_]
       ,[Resource Group].[No_]
FROM
       [CRONUS UK Ltd_$Res_ Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Journal Line]
LEFT JOIN
       [CRONUS UK Ltd_$Resource Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource Group]
              ON
                     [Res. Journal Line].[Resource Group No_] = [Resource Group].[No_]
8Description SearchDescriptionNormalText100Descriptionnvarchar(200)
9Work Type Code SearchWork Type CodeNormalCode10Work Type Codenvarchar(20)
Key to join to the Work Type table.

Show/hide example query

SELECT
       [Res. Journal Line].[Work Type Code]
       ,[Work Type].[Code]
FROM
       [CRONUS UK Ltd_$Res_ Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Journal Line]
LEFT JOIN
       [CRONUS UK Ltd_$Work Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Type]
              ON
                     [Res. Journal Line].[Work Type Code] = [Work Type].[Code]
10Job No. SearchJob No.NormalCode20Job No_nvarchar(40)
Key to join to the Job table.

Show/hide example query

SELECT
       [Res. Journal Line].[Job No_]
       ,[Job].[No_]
FROM
       [CRONUS UK Ltd_$Res_ Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Journal Line]
LEFT JOIN
       [CRONUS UK Ltd_$Job$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job]
              ON
                     [Res. Journal Line].[Job No_] = [Job].[No_]
11Unit of Measure Code SearchUnit of Measure CodeNormalCode10Unit of Measure Codenvarchar(20)
12Quantity SearchQuantityNormalDecimal12Quantitydecimal(38,38)
13Direct Unit Cost SearchDirect Unit CostNormalDecimal12Direct Unit Costdecimal(38,38)
14Unit Cost SearchUnit CostNormalDecimal12Unit Costdecimal(38,38)
15Total Cost SearchTotal CostNormalDecimal12Total Costdecimal(38,38)
16Unit Price SearchUnit PriceNormalDecimal12Unit Pricedecimal(38,38)
17Total Price SearchTotal PriceNormalDecimal12Total Pricedecimal(38,38)
18Shortcut Dimension 1 Code SearchShortcut Dimension 1 CodeNormalCode20Shortcut Dimension 1 Codenvarchar(40)
Key to join to the Dimension table.

Show/hide example query

SELECT
       [Res. Journal Line].[Shortcut Dimension 1 Code]
       ,[Dimension].[Code]
FROM
       [CRONUS UK Ltd_$Res_ Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Journal Line]
LEFT JOIN
       [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
              ON
                     [Res. Journal Line].[Shortcut Dimension 1 Code] = [Dimension].[Code]
19Shortcut Dimension 2 Code SearchShortcut Dimension 2 CodeNormalCode20Shortcut Dimension 2 Codenvarchar(40)
Key to join to the Dimension table.

Show/hide example query

SELECT
       [Res. Journal Line].[Shortcut Dimension 2 Code]
       ,[Dimension].[Code]
FROM
       [CRONUS UK Ltd_$Res_ Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Journal Line]
LEFT JOIN
       [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
              ON
                     [Res. Journal Line].[Shortcut Dimension 2 Code] = [Dimension].[Code]
21Source Code SearchSource CodeNormalCode10Source Codenvarchar(20)
Key to join to the Source Code table.

Show/hide example query

SELECT
       [Res. Journal Line].[Source Code]
       ,[Source Code].[Code]
FROM
       [CRONUS UK Ltd_$Res_ Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Journal Line]
LEFT JOIN
       [CRONUS UK Ltd_$Source Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Source Code]
              ON
                     [Res. Journal Line].[Source Code] = [Source Code].[Code]
23Journal Batch Name Primary Key SearchJournal Batch NameNormalCode10Journal Batch Namenvarchar(20)
24Reason Code SearchReason CodeNormalCode10Reason Codenvarchar(20)
Key to join to the Reason Code table.

Show/hide example query

SELECT
       [Res. Journal Line].[Reason Code]
       ,[Reason Code].[Code]
FROM
       [CRONUS UK Ltd_$Res_ Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Journal Line]
LEFT JOIN
       [CRONUS UK Ltd_$Reason Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reason Code]
              ON
                     [Res. Journal Line].[Reason Code] = [Reason Code].[Code]
25Recurring Method SearchRecurring MethodNormalOption4Recurring Methodint
Available options are:
  • “”
  • “Fixed”
  • “Variable”
26Expiration Date SearchExpiration DateNormalDate4Expiration Datedatetime
27Recurring Frequency SearchRecurring FrequencyNormalDateFormula32Recurring Frequencyvarchar(32)
28Gen. Bus. Posting Group SearchGen. Bus. Posting GroupNormalCode20Gen_ Bus_ Posting Groupnvarchar(40)
Key to join to the Gen. Business Posting Group table.

Show/hide example query

SELECT
       [Res. Journal Line].[Gen_ Bus_ Posting Group]
       ,[Gen. Business Posting Group].[Code]
FROM
       [CRONUS UK Ltd_$Res_ Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Journal Line]
LEFT JOIN
       [CRONUS UK Ltd_$Gen_ Business Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Business Posting Group]
              ON
                     [Res. Journal Line].[Gen_ Bus_ Posting Group] = [Gen. Business Posting Group].[Code]
29Gen. Prod. Posting Group SearchGen. Prod. Posting GroupNormalCode20Gen_ Prod_ Posting Groupnvarchar(40)
Key to join to the Gen. Product Posting Group table.

Show/hide example query

SELECT
       [Res. Journal Line].[Gen_ Prod_ Posting Group]
       ,[Gen. Product Posting Group].[Code]
FROM
       [CRONUS UK Ltd_$Res_ Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Journal Line]
LEFT JOIN
       [CRONUS UK Ltd_$Gen_ Product Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Product Posting Group]
              ON
                     [Res. Journal Line].[Gen_ Prod_ Posting Group] = [Gen. Product Posting Group].[Code]
30Document Date SearchDocument DateNormalDate4Document Datedatetime
31External Document No. SearchExternal Document No.NormalCode35External Document No_nvarchar(70)
32Posting No. Series SearchPosting No. SeriesNormalCode20Posting No_ Seriesnvarchar(40)
Key to join to the No. Series table.

Show/hide example query

SELECT
       [Res. Journal Line].[Posting No_ Series]
       ,[No. Series].[Code]
FROM
       [CRONUS UK Ltd_$Res_ Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Journal Line]
LEFT JOIN
       [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series]
              ON
                     [Res. Journal Line].[Posting No_ Series] = [No. Series].[Code]
33Source Type SearchSource TypeNormalOption4Source Typeint
Available options are:
  • ” “
  • “Customer”
  • “Vendor”
34Source No. SearchSource No.NormalCode20Source No_nvarchar(40)
35Qty. per Unit of Measure SearchQty. per Unit of MeasureNormalDecimal12Qty_ per Unit of Measuredecimal(38,38)
90Order Type SearchOrder TypeNormalOption4Order Typeint
Available options are:
  • ” “
  • “Production”
  • “Transfer”
  • “Service”
  • “Assembly”
91Order No. SearchOrder No.NormalCode20Order No_nvarchar(40)
92Order Line No. SearchOrder Line No.NormalInteger4Order Line No_int
480Dimension Set ID SearchDimension Set IDNormalInteger4Dimension Set IDint
Key to join to the Dimension Set Entry table.

Show/hide example query

SELECT
       [Res. Journal Line].[Dimension Set ID]
       ,[Dimension Set Entry].[Dimension Set ID]
FROM
       [CRONUS UK Ltd_$Res_ Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Journal Line]
LEFT JOIN
       [CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
              ON
                     [Res. Journal Line].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
950Time Sheet No. SearchTime Sheet No.NormalCode20Time Sheet No_nvarchar(40)
951Time Sheet Line No. SearchTime Sheet Line No.NormalInteger4Time Sheet Line No_int
952Time Sheet Date SearchTime Sheet DateNormalDate4Time Sheet Datedatetime
959System-Created Entry SearchSystem-Created EntryNormalBoolean4
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
       [Res. Journal Line].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Res_ Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Journal Line]
LEFT JOIN
       [User] AS [User]
              ON
                     [Res. Journal Line].[$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
       [Res. Journal Line].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Res_ Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Journal Line]
LEFT JOIN
       [User] AS [User]
              ON
                     [Res. Journal Line].[$systemModifiedBy] = [User].[User Security ID]

Show/hide tables related from Res. Journal Line table

Leave a Reply

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