Posted Gen. Journal Batch

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

Table Type: Company

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

Table Number: 182

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Journal Template Name]
   ,[Name]
   ,[Description]
   ,[Reason Code]
   ,[Bal_ Account Type]
   ,[Bal_ Account No_]
   ,[No_ Series]
   ,[Posting No_ Series]
   ,[Copy VAT Setup to Jnl_ Lines]
   ,[Allow VAT Difference]
   ,[Allow Payment Export]
   ,[Bank Statement Import Format]
   ,[Suggest Balancing Amount]
   ,[Copy to Posted Jnl_ Lines]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Posted Gen_ Journal Batch$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Posted Gen_ Journal Batch$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Posted Gen. Journal Batch]
LEFT JOIN
   [CRONUS UK Ltd_$Reason Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reason Code]
      ON
         [Posted Gen. Journal Batch].[Reason Code] = [Reason Code].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Posted Gen. Journal Batch].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Posted Gen. Journal Batch].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Posted Gen. Journal Batch table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Journal Template Name SearchJournal Template NameNormalCode10Journal Template Namenvarchar(20)
2Name Primary Key SearchNameNormalCode10Namenvarchar(20)
3Description Primary Key SearchDescriptionNormalText100Descriptionnvarchar(200)
4Reason Code SearchReason CodeNormalCode10Reason Codenvarchar(20)
Key to join to the Reason Code table.

Show/hide example query

SELECT
	       [Posted Gen. Journal Batch].[Reason Code]
	       ,[Reason Code].[Code]
	FROM
	       [CRONUS UK Ltd_$Posted Gen_ Journal Batch$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Posted Gen. Journal Batch]
	LEFT JOIN
	       [CRONUS UK Ltd_$Reason Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reason Code]
	              ON
	                     [Posted Gen. Journal Batch].[Reason Code] = [Reason Code].[Code]
5Bal. Account Type SearchBal. Account TypeNormalOption4Bal_ Account Typeint
Available options are:
  • “G/L Account”
  • “Customer”
  • “Vendor”
  • “Bank Account”
  • “Fixed Asset”
  • “IC Partner”
  • “Employee”
  • “Allocation Account”
6Bal. Account No. SearchBal. Account No.NormalCode20Bal_ Account No_nvarchar(40)
7No. Series SearchNo. SeriesNormalCode20No_ Seriesnvarchar(40)
Key to join to the No. Series table.

Show/hide example query

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

Show/hide example query

SELECT
	       [Posted Gen. Journal Batch].[Posting No_ Series]
	       ,[No. Series].[Code]
	FROM
	       [CRONUS UK Ltd_$Posted Gen_ Journal Batch$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Posted Gen. Journal Batch]
	LEFT JOIN
	       [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series]
	              ON
	                     [Posted Gen. Journal Batch].[Posting No_ Series] = [No. Series].[Code]
9Copy VAT Setup to Jnl. Lines SearchCopy Tax Setup to Jnl. LinesNormalBoolean4Copy VAT Setup to Jnl_ Linestinyint
10Allow VAT Difference SearchAllow Tax DifferenceNormalBoolean4Allow VAT Differencetinyint
11Allow Payment Export SearchAllow Payment ExportNormalBoolean4Allow Payment Exporttinyint
12Bank Statement Import Format SearchBank Statement Import FormatNormalCode20Bank Statement Import Formatnvarchar(40)
23Suggest Balancing Amount SearchSuggest Balancing AmountNormalBoolean4Suggest Balancing Amounttinyint
31Copy to Posted Jnl. Lines SearchCopy to Posted Jnl. LinesNormalBoolean4Copy to Posted Jnl_ Linestinyint
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
	       [Posted Gen. Journal Batch].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Posted Gen_ Journal Batch$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Posted Gen. Journal Batch]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Posted Gen. Journal Batch].[$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 *