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
[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_$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_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
ON
[Prod. Order Component].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Prod. Order Component].[Location Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Prod. Order Component].[Shortcut Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Prod. Order Component].[Shortcut Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Bin$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bin]
ON
[Prod. Order Component].[Bin Code] = [Bin].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
ON
[Prod. Order Component].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
LEFT JOIN
[User] AS [User]
ON
[Prod. Order Component].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Prod. Order Component].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Prod. Order Component table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Status | Status | Normal | Option | 4 | Status | int |
Available options are:
| |||||||
2 | Prod. Order No. | Prod. Order No. | Normal | Code | 20 | Prod_ Order No_ | nvarchar(40) |
3 | Prod. Order Line No. | Prod. Order Line No. | Normal | Integer | 4 | Prod_ Order Line No_ | int |
4 | Line No. | Line No. | Normal | Integer | 4 | Line No_ | int |
11 | Item No. | Item No. | Normal | Code | 20 | 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$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Prod. Order Component].[Item No_] = [Item].[No_] | |||||||
12 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
13 | Unit of Measure Code | Unit of Measure Code | Normal | Code | 10 | Unit of Measure Code | nvarchar(20) |
14 | Quantity | Quantity | Normal | Decimal | 12 | Quantity | decimal(38,38) |
15 | Position | Position | Normal | Code | 10 | Position | nvarchar(20) |
16 | Position 2 | Position 2 | Normal | Code | 10 | Position 2 | nvarchar(20) |
17 | Position 3 | Position 3 | Normal | Code | 10 | Position 3 | nvarchar(20) |
18 | Lead-Time Offset | Lead-Time Offset | Normal | DateFormula | 32 | Lead-Time Offset | varchar(32) |
19 | Routing Link Code | Routing Link Code | Normal | Code | 10 | 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] | |||||||
20 | Scrap % | Scrap % | Normal | Decimal | 12 | Scrap _ | decimal(38,38) |
21 | Variant Code | Variant Code | Normal | Code | 10 | Variant Code | nvarchar(20) |
Key to join to the Item Variant table.Show/hide example querySELECT [Prod. Order Component].[Variant Code] ,[Item Variant].[Code] FROM [CRONUS UK Ltd_$Prod_ Order Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Component] LEFT JOIN [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant] ON [Prod. Order Component].[Variant Code] = [Item Variant].[Code] | |||||||
22 | Qty. Rounding Precision | Qty. Rounding Precision | Normal | Decimal | 12 | Qty_ Rounding Precision | decimal(38,38) |
23 | Qty. Rounding Precision (Base) | Qty. Rounding Precision (Base) | Normal | Decimal | 12 | Qty_ Rounding Precision (Base) | decimal(38,38) |
25 | Expected Quantity | Expected Quantity | Normal | Decimal | 12 | Expected Quantity | decimal(38,38) |
26 | Remaining Quantity | Remaining Quantity | Normal | Decimal | 12 | Remaining Quantity | decimal(38,38) |
27 | Act. Consumption (Qty) | Act. Consumption (Qty) | FlowField | Decimal | 12 | ||
28 | Flushing Method | Flushing Method | Normal | Option | 4 | Flushing Method | int |
Available options are:
| |||||||
30 | Location Code | Location Code | Normal | Code | 10 | 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] | |||||||
31 | Shortcut Dimension 1 Code | Shortcut Dimension 1 Code | Normal | Code | 20 | Shortcut Dimension 1 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [Prod. Order Component].[Shortcut Dimension 1 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Prod_ Order Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Component] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Prod. Order Component].[Shortcut Dimension 1 Code] = [Dimension].[Code] | |||||||
32 | Shortcut Dimension 2 Code | Shortcut Dimension 2 Code | Normal | Code | 20 | Shortcut Dimension 2 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [Prod. Order Component].[Shortcut Dimension 2 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Prod_ Order Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Component] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Prod. Order Component].[Shortcut Dimension 2 Code] = [Dimension].[Code] | |||||||
33 | Bin Code | Bin Code | Normal | Code | 20 | Bin Code | nvarchar(40) |
Key to join to the Bin table.Show/hide example querySELECT [Prod. Order Component].[Bin Code] ,[Bin].[Code] FROM [CRONUS UK Ltd_$Prod_ Order Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Component] LEFT JOIN [CRONUS UK Ltd_$Bin$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bin] ON [Prod. Order Component].[Bin Code] = [Bin].[Code] | |||||||
35 | Supplied-by Line No. | Supplied-by Line No. | Normal | Integer | 4 | Supplied-by Line No_ | int |
36 | Planning Level Code | Planning Level Code | Normal | Integer | 4 | Planning Level Code | int |
37 | Item Low-Level Code | Item Low-Level Code | Normal | Integer | 4 | Item Low-Level Code | int |
40 | Length | Length | Normal | Decimal | 12 | Length | decimal(38,38) |
41 | Width | Width | Normal | Decimal | 12 | Width | decimal(38,38) |
42 | Weight | Weight | Normal | Decimal | 12 | Weight | decimal(38,38) |
43 | Depth | Depth | Normal | Decimal | 12 | Depth | decimal(38,38) |
44 | Calculation Formula | Calculation Formula | Normal | Option | 4 | Calculation Formula | int |
Available options are:
| |||||||
45 | Quantity per | Quantity per | Normal | Decimal | 12 | Quantity per | decimal(38,38) |
50 | Unit Cost | Unit Cost | Normal | Decimal | 12 | Unit Cost | decimal(38,38) |
51 | Cost Amount | Cost Amount | Normal | Decimal | 12 | Cost Amount | decimal(38,38) |
52 | Due Date | Due Date | Normal | Date | 4 | Due Date | datetime |
53 | Due Time | Due Time | Normal | Time | 4 | Due Time | datetime |
60 | Qty. per Unit of Measure | Qty. per Unit of Measure | Normal | Decimal | 12 | Qty_ per Unit of Measure | decimal(38,38) |
61 | Remaining Qty. (Base) | Remaining Qty. (Base) | Normal | Decimal | 12 | Remaining Qty_ (Base) | decimal(38,38) |
62 | Quantity (Base) | Quantity (Base) | Normal | Decimal | 12 | Quantity (Base) | decimal(38,38) |
63 | Reserved Qty. (Base) | Reserved Qty. (Base) | FlowField | Decimal | 12 | ||
71 | Reserved Quantity | Reserved Quantity | FlowField | Decimal | 12 | ||
73 | Expected Qty. (Base) | Expected Qty. (Base) | Normal | Decimal | 12 | Expected Qty_ (Base) | decimal(38,38) |
76 | Due Date-Time | Due Date-Time | Normal | DateTime | 8 | Due Date-Time | datetime |
480 | Dimension Set ID | Dimension Set ID | Normal | Integer | 4 | Dimension Set ID | int |
Key to join to the Dimension Set Entry table.Show/hide example querySELECT [Prod. Order Component].[Dimension Set ID] ,[Dimension Set Entry].[Dimension Set ID] FROM [CRONUS UK Ltd_$Prod_ Order Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Component] LEFT JOIN [CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry] ON [Prod. Order Component].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID] | |||||||
5702 | Substitution Available | Substitution Available | FlowField | Boolean | 4 | ||
5703 | Original Item No. | Original Item No. | Normal | Code | 20 | Original Item No_ | nvarchar(40) |
Key to join to the Item table.Show/hide example querySELECT [Prod. Order Component].[Original 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$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Prod. Order Component].[Original Item No_] = [Item].[No_] | |||||||
5704 | Original Variant Code | Original Variant Code | Normal | Code | 10 | Original Variant Code | nvarchar(20) |
5750 | Pick Qty. | Pick Qty. | FlowField | Decimal | 12 | ||
7300 | Qty. Picked | Qty. Picked | Normal | Decimal | 12 | Qty_ Picked | decimal(38,38) |
7301 | Qty. Picked (Base) | Qty. Picked (Base) | Normal | Decimal | 12 | Qty_ Picked (Base) | decimal(38,38) |
7302 | Completely Picked | Completely Picked | Normal | Boolean | 4 | Completely Picked | tinyint |
7303 | Pick Qty. (Base) | Pick Qty. (Base) | FlowField | Decimal | 12 | ||
99000754 | Direct Unit Cost | Direct Unit Cost | Normal | Decimal | 12 | Direct Unit Cost | decimal(38,38) |
99000755 | Indirect Cost % | Indirect Cost % | Normal | Decimal | 12 | Indirect Cost _ | decimal(38,38) |
99000756 | Overhead Rate | Overhead Rate | Normal | Decimal | 12 | Overhead Rate | decimal(38,38) |
99000757 | Direct Cost Amount | Direct Cost Amount | Normal | Decimal | 12 | Direct Cost Amount | decimal(38,38) |
99000758 | Overhead Amount | Overhead Amount | Normal | Decimal | 12 | Overhead Amount | decimal(38,38) |
2000000000 | $systemId | System ID | Normal | GUID | 16 | $systemId | uniqueidentifier |
2000000001 | SystemCreatedAt | Created At | Normal | DateTime | 8 | $systemCreatedAt | datetime |
2000000002 | SystemCreatedBy | Created By | Normal | GUID | 16 | $systemCreatedBy | uniqueidentifier |
Key to join to the User table.Show/hide example querySELECT [Prod. Order Component].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Prod_ Order Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Component] LEFT JOIN [User] AS [User] ON [Prod. Order Component].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |