Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/99000852
Table Type: Company
Table Name: Production Forecast Entry
Database Table Name: CRONUS UK Ltd_$Production Forecast Entry$437dbf0e-84ff-417a-965d-ed2bb9650972
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 Production Forecast Entry can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Production Forecast Entry$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[timestamp]
,[Entry No_]
,[Production Forecast Name]
,[Item No_]
,[Forecast Date]
,[Forecast Quantity]
,[Unit of Measure Code]
,[Qty_ per Unit of Measure]
,[Forecast Quantity (Base)]
,[Location Code]
,[Variant Code]
,[Component Forecast]
,[Description]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Production Forecast Entry$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Production Forecast Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Production Forecast Entry]
LEFT JOIN
[CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
ON
[Production Forecast Entry].[Item No_] = [Item].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
ON
[Production Forecast Entry].[Unit of Measure Code] = [Unit of Measure].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Production Forecast Entry].[Location Code] = [Location].[Code]
Show/hide columns in Production Forecast Entry table
Column ID | Column Name | Data Type | ||||
---|---|---|---|---|---|---|
1 | timestamp ![]() | timestamp | ||||
2 | Entry No_ ![]() ![]() | int | ||||
3 | Production Forecast Name ![]() | nvarchar(20) | ||||
4 | Item No_ ![]() | nvarchar(40) | ||||
Key to join to the Item table.Show/hide example querySELECT
[Production Forecast Entry].[Item No_]
,[Item].[No_]
FROM
[CRONUS UK Ltd_$Production Forecast Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Production Forecast Entry]
LEFT JOIN
[CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
ON
[Production Forecast Entry].[Item No_] = [Item].[No_] | ||||||
5 | Forecast Date ![]() | datetime | ||||
6 | Forecast Quantity ![]() | decimal(38,38) | ||||
7 | Unit of Measure Code ![]() | nvarchar(20) | ||||
Key to join to the Unit of Measure table.Show/hide example querySELECT
[Production Forecast Entry].[Unit of Measure Code]
,[Unit of Measure].[Code]
FROM
[CRONUS UK Ltd_$Production Forecast Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Production Forecast Entry]
LEFT JOIN
[CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
ON
[Production Forecast Entry].[Unit of Measure Code] = [Unit of Measure].[Code] | ||||||
8 | Qty_ per Unit of Measure ![]() | decimal(38,38) | ||||
9 | Forecast Quantity (Base) ![]() | decimal(38,38) | ||||
10 | Location Code ![]() | nvarchar(20) | ||||
Key to join to the Location table.Show/hide example querySELECT
[Production Forecast Entry].[Location Code]
,[Location].[Code]
FROM
[CRONUS UK Ltd_$Production Forecast Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Production Forecast Entry]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Production Forecast Entry].[Location Code] = [Location].[Code] | ||||||
11 | Variant Code ![]() | nvarchar(20) | ||||
12 | Component Forecast ![]() | tinyint | ||||
13 | Description ![]() | nvarchar(200) | ||||
14 | $systemId ![]() | uniqueidentifier | ||||
15 | $systemCreatedAt ![]() | datetime | ||||
16 | $systemCreatedBy ![]() | uniqueidentifier | ||||
17 | $systemModifiedAt ![]() | datetime | ||||
18 | $systemModifiedBy ![]() | uniqueidentifier |