Gen. Journal Template

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

Table Type: Company

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

Table Number: 80

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

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Gen_ 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]
   ,[Force Doc_ Balance]
   ,[Bal_ Account Type]
   ,[Bal_ Account No_]
   ,[No_ Series]
   ,[Posting No_ Series]
   ,[Copy VAT Setup to Jnl_ Lines]
   ,[Allow VAT Difference]
   ,[Cust_ Receipt Report ID]
   ,[Vendor Receipt Report ID]
   ,[Increment Batch Name]
   ,[Copy to Posted Jnl_ Lines]
   ,[Allow Posting Date From]
   ,[Allow Posting Date To]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Gen_ 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_$Gen_ Journal Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Journal Template]
LEFT JOIN
   [CRONUS UK Ltd_$Source Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Source Code]
      ON
         [Gen. Journal Template].[Source Code] = [Source Code].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Reason Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reason Code]
      ON
         [Gen. Journal Template].[Reason Code] = [Reason Code].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Gen. Journal Template].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Gen. Journal Template].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Gen. 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:
  • “General”
  • “Sales”
  • “Purchases”
  • “Cash Receipts”
  • “Payments”
  • “Assets”
  • “Intercompany”
  • “Jobs”
  • “Payroll Accrual”
  • “Deposits”
  • “Sales Tax”
  • “Bank Deposits”
10Source Code SearchSource CodeNormalCode10Source Codenvarchar(20)
Key to join to the Source Code table.

Show/hide example query

SELECT
	       [Gen. Journal Template].[Source Code]
	       ,[Source Code].[Code]
	FROM
	       [CRONUS UK Ltd_$Gen_ Journal Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Journal Template]
	LEFT JOIN
	       [CRONUS UK Ltd_$Source Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Source Code]
	              ON
	                     [Gen. 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
	       [Gen. Journal Template].[Reason Code]
	       ,[Reason Code].[Code]
	FROM
	       [CRONUS UK Ltd_$Gen_ Journal Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Journal Template]
	LEFT JOIN
	       [CRONUS UK Ltd_$Reason Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reason Code]
	              ON
	                     [Gen. 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
18Force Doc. Balance SearchForce Doc. BalanceNormalBoolean4Force Doc_ Balancetinyint
19Bal. Account Type SearchBal. Account TypeNormalOption4Bal_ Account Typeint
Available options are:
  • “G/L Account”
  • “Customer”
  • “Vendor”
  • “Bank Account”
  • “Fixed Asset”
  • “IC Partner”
  • “Employee”
  • “Allocation Account”
20Bal. Account No. SearchBal. Account No.NormalCode20Bal_ Account No_nvarchar(40)
21No. Series SearchNo. SeriesNormalCode20No_ Seriesnvarchar(40)
Key to join to the No. Series table.

Show/hide example query

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

Show/hide example query

SELECT
	       [Gen. Journal Template].[Posting No_ Series]
	       ,[No. Series].[Code]
	FROM
	       [CRONUS UK Ltd_$Gen_ Journal Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Journal Template]
	LEFT JOIN
	       [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series]
	              ON
	                     [Gen. Journal Template].[Posting No_ Series] = [No. Series].[Code]
23Copy VAT Setup to Jnl. Lines SearchCopy Tax Setup to Jnl. LinesNormalBoolean4Copy VAT Setup to Jnl_ Linestinyint
24Allow VAT Difference SearchAllow Tax DifferenceNormalBoolean4Allow VAT Differencetinyint
25Cust. Receipt Report ID SearchCust. Receipt Report IDNormalInteger4Cust_ Receipt Report IDint
26Cust. Receipt Report Caption SearchCust. Receipt Report CaptionFlowFieldText250
27Vendor Receipt Report ID SearchVendor Receipt Report IDNormalInteger4Vendor Receipt Report IDint
28Vendor Receipt Report Caption SearchVendor Receipt Report CaptionFlowFieldText250
30Increment Batch Name SearchIncrement Batch NameNormalBoolean4Increment Batch Nametinyint
31Copy to Posted Jnl. Lines SearchCopy to Posted Jnl. LinesNormalBoolean4Copy to Posted Jnl_ Linestinyint
32Allow Posting Date From SearchAllow Posting Date FromNormalDate4Allow Posting Date Fromdatetime
33Allow Posting Date To SearchAllow Posting Date ToNormalDate4Allow Posting Date Todatetime
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
	       [Gen. Journal Template].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Gen_ Journal Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Journal Template]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Gen. 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 *