Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/99000829
Table Type: Company
Table Name: Planning Component
Database Table Name: CRONUS UK Ltd_$Planning 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 Planning Component can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Planning Component$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_]
,[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]
,[Flushing Method]
,[Location Code]
,[Shortcut Dimension 1 Code]
,[Shortcut Dimension 2 Code]
,[Bin Code]
,[Supplied-by Line No_]
,[Planning Level Code]
,[Ref_ Order Status]
,[Ref_ Order No_]
,[Ref_ Order Line No_]
,[Length]
,[Width]
,[Weight]
,[Depth]
,[Calculation Formula]
,[Quantity per]
,[Ref_ Order Type]
,[Unit Cost]
,[Cost Amount]
,[Due Date]
,[Due Time]
,[Direct Unit Cost]
,[Indirect Cost _]
,[Overhead Rate]
,[Direct Cost Amount]
,[Overhead Amount]
,[Qty_ per Unit of Measure]
,[Quantity (Base)]
,[Expected Quantity (Base)]
,[Original Expected Qty_ (Base)]
,[Net Quantity (Base)]
,[Due Date-Time]
,[Dimension Set ID]
,[Critical]
,[Planning Line Origin]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Planning 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_$Planning Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Component]
LEFT JOIN
[CRONUS UK Ltd_$Routing Link$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Routing Link]
ON
[Planning Component].[Routing Link Code] = [Routing Link].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
ON
[Planning Component].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Planning Component].[Location Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Planning Component].[Shortcut Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Planning Component].[Shortcut Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Bin$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bin]
ON
[Planning Component].[Bin Code] = [Bin].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
ON
[Planning Component].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
LEFT JOIN
[User] AS [User]
ON
[Planning Component].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Planning Component].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Planning Component table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Worksheet Template Name | Worksheet Template Name | Normal | Code | 10 | Worksheet Template Name | nvarchar(20) |
2 | Worksheet Batch Name | Worksheet Batch Name | Normal | Code | 10 | Worksheet Batch Name | nvarchar(20) |
3 | Worksheet Line No. | Worksheet Line No. | Normal | Integer | 4 | Worksheet Line No_ | int |
5 | 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 [Planning Component].[Item No_] ,[Item].[No_] FROM [CRONUS UK Ltd_$Planning Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Component] LEFT JOIN [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Planning 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 [Planning Component].[Routing Link Code] ,[Routing Link].[Code] FROM [CRONUS UK Ltd_$Planning Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Component] LEFT JOIN [CRONUS UK Ltd_$Routing Link$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Routing Link] ON [Planning 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 [Planning Component].[Variant Code] ,[Item Variant].[Code] FROM [CRONUS UK Ltd_$Planning Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Component] LEFT JOIN [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant] ON [Planning 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) |
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 [Planning Component].[Location Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Planning Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Component] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Planning 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 [Planning Component].[Shortcut Dimension 1 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Planning Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Component] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Planning 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 [Planning Component].[Shortcut Dimension 2 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Planning Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Component] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Planning 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 [Planning Component].[Bin Code] ,[Bin].[Code] FROM [CRONUS UK Ltd_$Planning Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Component] LEFT JOIN [CRONUS UK Ltd_$Bin$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bin] ON [Planning 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 | Ref. Order Status | Ref. Order Status | Normal | Option | 4 | Ref_ Order Status | int |
Available options are:
| |||||||
38 | Ref. Order No. | Ref. Order No. | Normal | Code | 20 | Ref_ Order No_ | nvarchar(40) |
39 | Ref. Order Line No. | Ref. Order Line No. | Normal | Integer | 4 | Ref_ Order Line No_ | 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) |
46 | Ref. Order Type | Ref. Order Type | Normal | Option | 4 | Ref_ Order Type | int |
Available options are:
| |||||||
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 |
55 | Direct Unit Cost | Direct Unit Cost | Normal | Decimal | 12 | Direct Unit Cost | decimal(38,38) |
56 | Indirect Cost % | Indirect Cost % | Normal | Decimal | 12 | Indirect Cost _ | decimal(38,38) |
57 | Overhead Rate | Overhead Rate | Normal | Decimal | 12 | Overhead Rate | decimal(38,38) |
58 | Direct Cost Amount | Direct Cost Amount | Normal | Decimal | 12 | Direct Cost Amount | decimal(38,38) |
59 | Overhead Amount | Overhead Amount | Normal | Decimal | 12 | Overhead Amount | decimal(38,38) |
60 | Qty. per Unit of Measure | Qty. per Unit of Measure | Normal | Decimal | 12 | Qty_ per Unit of Measure | 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 Quantity (Base) | Expected Quantity (Base) | Normal | Decimal | 12 | Expected Quantity (Base) | decimal(38,38) |
74 | Original Expected Qty. (Base) | Original Expected Qty. (Base) | Normal | Decimal | 12 | Original Expected Qty_ (Base) | decimal(38,38) |
75 | Net Quantity (Base) | Net Quantity (Base) | Normal | Decimal | 12 | Net Quantity (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 [Planning Component].[Dimension Set ID] ,[Dimension Set Entry].[Dimension Set ID] FROM [CRONUS UK Ltd_$Planning Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Component] LEFT JOIN [CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry] ON [Planning Component].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID] | |||||||
99000875 | Critical | Critical | Normal | Boolean | 4 | Critical | tinyint |
99000915 | Planning Line Origin | Planning Line Origin | Normal | Option | 4 | Planning Line Origin | int |
Available options are:
| |||||||
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 [Planning Component].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Planning Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Component] LEFT JOIN [User] AS [User] ON [Planning Component].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |