GP Hist. Source Error

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

Table Type: Company

Table Name: GP Hist. Source Error
Database Table Name:

Table Number: 41005

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 GP Hist. Source Error can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   []

Show/hide an example select of all columns by name

SELECT

FROM
   []

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

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

Show/hide columns in GP Hist. Source Error table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Table Id SearchTable IdNormalInteger4
Key to join to the Data Exch. Mapping table.

Show/hide example query

SELECT
	       [GP Hist. Source Error].[]
	       ,[Data Exch. Mapping].[Table ID]
	FROM
	       [] AS [GP Hist. Source Error]
	LEFT JOIN
	       [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
	              ON
	                     [GP Hist. Source Error].[] = [Data Exch. Mapping].[Table ID]
2Record Id Primary Key SearchRecord IdNormalInteger4
3Step Primary Key SearchStepNormalOption4
4Reference SearchReferenceNormalText150
5Error Code SearchError CodeNormalText100
6Error Message SearchError MessageNormalBLOB8
2000000000$systemId SearchSystem IDNormalGUID16
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8
2000000002SystemCreatedBy SearchCreated ByNormalGUID16
Key to join to the User table.

Show/hide example query

SELECT
	       [GP Hist. Source Error].[]
	       ,[User].[User Security ID]
	FROM
	       [] AS [GP Hist. Source Error]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [GP Hist. Source Error].[] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8
2000000004SystemModifiedBy SearchModified ByNormalGUID16

Leave a Reply

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