Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5407
Table Type: Company
Table Name: Prod_ Order Component
Database Table Name: CRONUS UK Ltd_$Prod_ Order Component$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 Prod_ Order Component can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Prod_ Order Component$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[timestamp]
,[Status]
,[Prod_ Order No_]
,[Prod_ Order Line No_]
,[Line No_]
,[Item No_]
,[Description]
,[Unit of Measure Code]
,[Quantity]
,[Position]
,[Position 2]
,[Position 3]
,[Lead-Time Offset]
,[Routing Link Code]
,[Scrap _]
,[Variant Code]
,[Qty_ Rounding Precision]
,[Qty_ Rounding Precision (Base)]
,[Expected Quantity]
,[Remaining Quantity]
,[Flushing Method]
,[Location Code]
,[Shortcut Dimension 1 Code]
,[Shortcut Dimension 2 Code]
,[Bin Code]
,[Supplied-by Line No_]
,[Planning Level Code]
,[Item Low-Level Code]
,[Length]
,[Width]
,[Weight]
,[Depth]
,[Calculation Formula]
,[Quantity per]
,[Unit Cost]
,[Cost Amount]
,[Due Date]
,[Due Time]
,[Qty_ per Unit of Measure]
,[Remaining Qty_ (Base)]
,[Quantity (Base)]
,[Expected Qty_ (Base)]
,[Due Date-Time]
,[Dimension Set ID]
,[Original Item No_]
,[Original Variant Code]
,[Qty_ Picked]
,[Qty_ Picked (Base)]
,[Completely Picked]
,[Direct Unit Cost]
,[Indirect Cost _]
,[Overhead Rate]
,[Direct Cost Amount]
,[Overhead Amount]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Prod_ Order Component$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Prod_ Order Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod_ Order Component]
LEFT JOIN
[CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
ON
[Prod_ Order Component].[Item No_] = [Item].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
ON
[Prod_ Order Component].[Unit of Measure Code] = [Unit of Measure].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Routing Link$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Routing Link]
ON
[Prod_ Order Component].[Routing Link Code] = [Routing Link].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Prod_ Order Component].[Location Code] = [Location].[Code]
Show/hide columns in Prod_ Order Component table
Column ID | Column Name | Data Type | ||||
---|---|---|---|---|---|---|
1 | timestamp ![]() | timestamp | ||||
2 | Status ![]() ![]() | int | ||||
3 | Prod_ Order No_ ![]() ![]() | nvarchar(40) | ||||
4 | Prod_ Order Line No_ ![]() ![]() | int | ||||
5 | Line No_ ![]() ![]() | int | ||||
6 | Item No_ ![]() | nvarchar(40) | ||||
Key to join to the Item table.Show/hide example querySELECT
[Prod_ Order Component].[Item No_]
,[Item].[No_]
FROM
[CRONUS UK Ltd_$Prod_ Order Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod_ Order Component]
LEFT JOIN
[CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
ON
[Prod_ Order Component].[Item No_] = [Item].[No_] | ||||||
7 | Description ![]() | nvarchar(200) | ||||
8 | Unit of Measure Code ![]() | nvarchar(20) | ||||
Key to join to the Unit of Measure table.Show/hide example querySELECT
[Prod_ Order Component].[Unit of Measure Code]
,[Unit of Measure].[Code]
FROM
[CRONUS UK Ltd_$Prod_ Order Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod_ Order Component]
LEFT JOIN
[CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
ON
[Prod_ Order Component].[Unit of Measure Code] = [Unit of Measure].[Code] | ||||||
9 | Quantity ![]() | decimal(38,38) | ||||
10 | Position ![]() | nvarchar(20) | ||||
11 | Position 2 ![]() | nvarchar(20) | ||||
12 | Position 3 ![]() | nvarchar(20) | ||||
13 | Lead-Time Offset ![]() | varchar(32) | ||||
14 | Routing Link Code ![]() | nvarchar(20) | ||||
Key to join to the Routing Link table.Show/hide example querySELECT
[Prod_ Order Component].[Routing Link Code]
,[Routing Link].[Code]
FROM
[CRONUS UK Ltd_$Prod_ Order Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod_ Order Component]
LEFT JOIN
[CRONUS UK Ltd_$Routing Link$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Routing Link]
ON
[Prod_ Order Component].[Routing Link Code] = [Routing Link].[Code] | ||||||
15 | Scrap _ ![]() | decimal(38,38) | ||||
16 | Variant Code ![]() | nvarchar(20) | ||||
17 | Qty_ Rounding Precision ![]() | decimal(38,38) | ||||
18 | Qty_ Rounding Precision (Base) ![]() | decimal(38,38) | ||||
19 | Expected Quantity ![]() | decimal(38,38) | ||||
20 | Remaining Quantity ![]() | decimal(38,38) | ||||
21 | Flushing Method ![]() | int | ||||
22 | Location Code ![]() | nvarchar(20) | ||||
Key to join to the Location table.Show/hide example querySELECT
[Prod_ Order Component].[Location Code]
,[Location].[Code]
FROM
[CRONUS UK Ltd_$Prod_ Order Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod_ Order Component]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Prod_ Order Component].[Location Code] = [Location].[Code] | ||||||
23 | Shortcut Dimension 1 Code ![]() | nvarchar(40) | ||||
24 | Shortcut Dimension 2 Code ![]() | nvarchar(40) | ||||
25 | Bin Code ![]() | nvarchar(40) | ||||
26 | Supplied-by Line No_ ![]() | int | ||||
27 | Planning Level Code ![]() | int | ||||
28 | Item Low-Level Code ![]() | int | ||||
29 | Length ![]() | decimal(38,38) | ||||
30 | Width ![]() | decimal(38,38) | ||||
31 | Weight ![]() | decimal(38,38) | ||||
32 | Depth ![]() | decimal(38,38) | ||||
33 | Calculation Formula ![]() | int | ||||
34 | Quantity per ![]() | decimal(38,38) | ||||
35 | Unit Cost ![]() | decimal(38,38) | ||||
36 | Cost Amount ![]() | decimal(38,38) | ||||
37 | Due Date ![]() | datetime | ||||
38 | Due Time ![]() | datetime | ||||
39 | Qty_ per Unit of Measure ![]() | decimal(38,38) | ||||
40 | Remaining Qty_ (Base) ![]() | decimal(38,38) | ||||
41 | Quantity (Base) ![]() | decimal(38,38) | ||||
42 | Expected Qty_ (Base) ![]() | decimal(38,38) | ||||
43 | Due Date-Time ![]() | datetime | ||||
44 | Dimension Set ID ![]() | int | ||||
45 | Original Item No_ ![]() | nvarchar(40) | ||||
46 | Original Variant Code ![]() | nvarchar(20) | ||||
47 | Qty_ Picked ![]() | decimal(38,38) | ||||
48 | Qty_ Picked (Base) ![]() | decimal(38,38) | ||||
49 | Completely Picked ![]() | tinyint | ||||
50 | Direct Unit Cost ![]() | decimal(38,38) | ||||
51 | Indirect Cost _ ![]() | decimal(38,38) | ||||
52 | Overhead Rate ![]() | decimal(38,38) | ||||
53 | Direct Cost Amount ![]() | decimal(38,38) | ||||
54 | Overhead Amount ![]() | decimal(38,38) | ||||
55 | $systemId ![]() | uniqueidentifier | ||||
56 | $systemCreatedAt ![]() | datetime | ||||
57 | $systemCreatedBy ![]() | uniqueidentifier | ||||
58 | $systemModifiedAt ![]() | datetime | ||||
59 | $systemModifiedBy ![]() | uniqueidentifier |