Planning Error Log

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

Table Type: Company

Table Name: Planning Error Log
Database Table Name: CRONUS UK Ltd_$Planning Error Log$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 5430

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 Planning Error Log can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Planning Error Log$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Worksheet Template Name]
   ,[Journal Batch Name]
   ,[Entry No_]
   ,[Item No_]
   ,[Error Description]
   ,[Table ID]
   ,[Table Position]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Planning Error Log$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Planning Error Log$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Error Log]
LEFT JOIN
   [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
      ON
         [Planning Error Log].[Table ID] = [Data Exch. Mapping].[Table ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Planning Error Log].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Planning Error Log].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Planning Error Log table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Worksheet Template Name SearchWorksheet Template NameNormalCode10Worksheet Template Namenvarchar(20)
2Journal Batch Name Primary Key SearchJournal Batch NameNormalCode10Journal Batch Namenvarchar(20)
3Entry No. Primary Key SearchEntry No.NormalInteger4Entry No_int
4Item No. Primary Key SearchItem No.NormalCode20Item No_nvarchar(40)
Key to join to the Item table.

Show/hide example query

SELECT
	       [Planning Error Log].[Item No_]
	       ,[Item].[No_]
	FROM
	       [CRONUS UK Ltd_$Planning Error Log$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Error Log]
	LEFT JOIN
	       [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item]
	              ON
	                     [Planning Error Log].[Item No_] = [Item].[No_]
5Error Description SearchError DescriptionNormalText250Error Descriptionnvarchar(500)
6Table ID SearchTable IDNormalInteger4Table IDint
Key to join to the Data Exch. Mapping table.

Show/hide example query

SELECT
	       [Planning Error Log].[Table ID]
	       ,[Data Exch. Mapping].[Table ID]
	FROM
	       [CRONUS UK Ltd_$Planning Error Log$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Error Log]
	LEFT JOIN
	       [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
	              ON
	                     [Planning Error Log].[Table ID] = [Data Exch. Mapping].[Table ID]
7Table Position SearchTable PositionNormalText250Table Positionnvarchar(500)
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
	       [Planning Error Log].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Planning Error Log$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Error Log]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Planning Error Log].[$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 *