Untracked Planning Element

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

Table Type: Company

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

Table Number: 99000855

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 Untracked Planning Element can be queried.

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Worksheet Template Name]
   ,[Worksheet Batch Name]
   ,[Worksheet Line No_]
   ,[Track Line No_]
   ,[Item No_]
   ,[Variant Code]
   ,[Location Code]
   ,[Source Type]
   ,[Source ID]
   ,[Parameter Value]
   ,[Untracked Quantity]
   ,[Track Quantity From]
   ,[Track Quantity To]
   ,[Source]
   ,[Warning Level]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Untracked Planning Element$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Untracked Planning Element$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Untracked Planning Element]
LEFT JOIN
   [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
      ON
         [Untracked Planning Element].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
      ON
         [Untracked Planning Element].[Location Code] = [Location].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Untracked Planning Element].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Untracked Planning Element].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Untracked Planning Element table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Worksheet Template Name SearchWorksheet Template NameNormalCode10Worksheet Template Namenvarchar(20)
2Worksheet Batch Name Primary Key SearchWorksheet Batch NameNormalCode10Worksheet Batch Namenvarchar(20)
3Worksheet Line No. Primary Key SearchWorksheet Line No.NormalInteger4Worksheet Line No_int
4Track Line No. Primary Key SearchTrack Line No.NormalInteger4Track Line No_int
11Item No. Primary Key SearchItem No.NormalCode20Item No_nvarchar(40)
Key to join to the Item table.

Show/hide example query

SELECT
	       [Untracked Planning Element].[Item No_]
	       ,[Item].[No_]
	FROM
	       [CRONUS UK Ltd_$Untracked Planning Element$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Untracked Planning Element]
	LEFT JOIN
	       [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item]
	              ON
	                     [Untracked Planning Element].[Item No_] = [Item].[No_]
12Variant Code SearchVariant CodeNormalCode10Variant Codenvarchar(20)
Key to join to the Item Variant table.

Show/hide example query

SELECT
	       [Untracked Planning Element].[Variant Code]
	       ,[Item Variant].[Code]
	FROM
	       [CRONUS UK Ltd_$Untracked Planning Element$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Untracked Planning Element]
	LEFT JOIN
	       [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
	              ON
	                     [Untracked Planning Element].[Variant Code] = [Item Variant].[Code]
13Location Code SearchLocation CodeNormalCode10Location Codenvarchar(20)
Key to join to the Location table.

Show/hide example query

SELECT
	       [Untracked Planning Element].[Location Code]
	       ,[Location].[Code]
	FROM
	       [CRONUS UK Ltd_$Untracked Planning Element$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Untracked Planning Element]
	LEFT JOIN
	       [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
	              ON
	                     [Untracked Planning Element].[Location Code] = [Location].[Code]
21Source Type SearchSource TypeNormalInteger4Source Typeint
23Source ID SearchSource IDNormalCode20Source IDnvarchar(40)
70Parameter Value SearchParameter ValueNormalDecimal12Parameter Valuedecimal(38,38)
71Untracked Quantity SearchUntracked QuantityNormalDecimal12Untracked Quantitydecimal(38,38)
72Track Quantity From SearchTrack Quantity FromNormalDecimal12Track Quantity Fromdecimal(38,38)
73Track Quantity To SearchTrack Quantity ToNormalDecimal12Track Quantity Todecimal(38,38)
74Source SearchSourceNormalText200Sourcenvarchar(400)
75Warning Level SearchWarning LevelNormalOption4Warning Levelint
Available options are:
  • “”
  • “Emergency”
  • “Exception”
  • “Attention”
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
	       [Untracked Planning Element].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Untracked Planning Element$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Untracked Planning Element]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Untracked Planning Element].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Show/hide tables related from Untracked Planning Element table

Leave a Reply

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