Timeline Event

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

Table Type: Company

Table Name: Timeline Event
Database Table Name: CRONUS UK Ltd_$Timeline Event$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 5540

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 Timeline Event can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Timeline Event$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Transaction Type]
   ,[Description]
   ,[Original Date]
   ,[New Date]
   ,[ChangeRefNo]
   ,[Source Line ID]
   ,[Source Document ID]
   ,[Original Quantity]
   ,[New Quantity]
   ,[ID]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Timeline Event$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Timeline Event$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Timeline Event]
LEFT JOIN
   [CRONUS UK Ltd_$Transaction Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Transaction Type]
      ON
         [Timeline Event].[Transaction Type] = [Transaction Type].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Timeline Event].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Timeline Event].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Timeline Event table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Transaction Type SearchTransaction TypeNormalOption4Transaction Typeint
Key to join to the Transaction Type table.

Show/hide example query

SELECT
	       [Timeline Event].[Transaction Type]
	       ,[Transaction Type].[Code]
	FROM
	       [CRONUS UK Ltd_$Timeline Event$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Timeline Event]
	LEFT JOIN
	       [CRONUS UK Ltd_$Transaction Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Transaction Type]
	              ON
	                     [Timeline Event].[Transaction Type] = [Transaction Type].[Code]
Available options are:
  • “None”
  • “Initial”
  • “Fixed Supply”
  • “Adjustable Supply”
  • “New Supply”
  • “Fixed Demand”
  • “Expected Demand”
3Description SearchDescriptionNormalText250Descriptionnvarchar(500)
4Original Date SearchOriginal DateNormalDate4Original Datedatetime
5New Date SearchNew DateNormalDate4New Datedatetime
6ChangeRefNo SearchChangeRefNoNormalText250ChangeRefNonvarchar(500)
9Source Line ID SearchSource Line IDNormalRecordID448Source Line IDvarbinary(448)
10Source Document ID SearchSource Document IDNormalRecordID448Source Document IDvarbinary(448)
20Original Quantity SearchOriginal QuantityNormalDecimal12Original Quantitydecimal(38,38)
21New Quantity SearchNew QuantityNormalDecimal12New Quantitydecimal(38,38)
1000ID SearchIDNormalInteger4IDint
2000000000$systemId Primary Key SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
	       [Timeline Event].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Timeline Event$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Timeline Event]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Timeline Event].[$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 *