Item Journal Template

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

Table Type: Company

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

Table Number: 82

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

Show/hide an example select of all columns

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

Show/hide columns in Item 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
9Type SearchTypeNormalOption4Typeint
Available options are:
  • “Item”
  • “Transfer”
  • “Phys. Inventory”
  • “Revaluation”
  • “Consumption”
  • “Output”
  • “Capacity”
  • “Prod. Order”
10Source Code SearchSource CodeNormalCode10Source Codenvarchar(20)
Key to join to the Source Code table.

Show/hide example query

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

Show/hide example query

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

Show/hide example query

SELECT
	       [Item Journal Template].[Posting No_ Series]
	       ,[No. Series].[Code]
	FROM
	       [CRONUS UK Ltd_$Item Journal Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Journal Template]
	LEFT JOIN
	       [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series]
	              ON
	                     [Item Journal Template].[Posting No_ Series] = [No. Series].[Code]
21Whse. Register Report ID SearchWhse. Register Report IDNormalInteger4Whse_ Register Report IDint
22Whse. Register Report Caption SearchWhse. Register Report CaptionFlowFieldText250
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
	       [Item Journal Template].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Item Journal Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Journal Template]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Item 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 *