Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/99000830
Table Type: Company
Table Name: Planning Routing Line
Database Table Name: CRONUS UK Ltd_$Planning Routing Line$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 Routing Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Planning Routing Line$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_]
,[Operation No_]
,[Next Operation No_]
,[Previous Operation No_]
,[Type]
,[No_]
,[Work Center No_]
,[Work Center Group Code]
,[Description]
,[Setup Time]
,[Run Time]
,[Wait Time]
,[Move Time]
,[Fixed Scrap Quantity]
,[Lot Size]
,[Scrap Factor _]
,[Setup Time Unit of Meas_ Code]
,[Run Time Unit of Meas_ Code]
,[Wait Time Unit of Meas_ Code]
,[Move Time Unit of Meas_ Code]
,[Minimum Process Time]
,[Maximum Process Time]
,[Concurrent Capacities]
,[Send-Ahead Quantity]
,[Routing Link Code]
,[Standard Task Code]
,[Unit Cost per]
,[Recalculate]
,[Sequence No_(Forward)]
,[Sequence No_(Backward)]
,[Fixed Scrap Qty_ (Accum_)]
,[Scrap Factor _ (Accumulated)]
,[Sequence No_ (Actual)]
,[Direct Unit Cost]
,[Indirect Cost _]
,[Overhead Rate]
,[Output Quantity]
,[Starting Time]
,[Starting Date]
,[Ending Time]
,[Ending Date]
,[Unit Cost Calculation]
,[Input Quantity]
,[Critical Path]
,[Starting Date-Time]
,[Ending Date-Time]
,[Expected Operation Cost Amt_]
,[Expected Capacity Ovhd_ Cost]
,[Expected Capacity Need]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Planning Routing Line$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 Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Routing Line]
LEFT JOIN
[CRONUS UK Ltd_$Work Center Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Center Group]
ON
[Planning Routing Line].[Work Center Group Code] = [Work Center Group].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Routing Link$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Routing Link]
ON
[Planning Routing Line].[Routing Link Code] = [Routing Link].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Standard Task$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Standard Task]
ON
[Planning Routing Line].[Standard Task Code] = [Standard Task].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Inventory Period$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Period]
ON
[Planning Routing Line].[Ending Date] = [Inventory Period].[Ending Date]
LEFT JOIN
[User] AS [User]
ON
[Planning Routing Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Planning Routing Line].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Planning Routing Line 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 |
4 | Operation No. | Operation No. | Normal | Code | 10 | Operation No_ | nvarchar(20) |
5 | Next Operation No. | Next Operation No. | Normal | Code | 30 | Next Operation No_ | nvarchar(60) |
6 | Previous Operation No. | Previous Operation No. | Normal | Code | 30 | Previous Operation No_ | nvarchar(60) |
7 | Type | Type | Normal | Option | 4 | Type | int |
Available options are:
| |||||||
8 | No. | No. | Normal | Code | 20 | No_ | nvarchar(40) |
9 | Work Center No. | Work Center No. | Normal | Code | 20 | Work Center No_ | nvarchar(40) |
Key to join to the Work Center table.Show/hide example querySELECT [Planning Routing Line].[Work Center No_] ,[Work Center].[No_] FROM [CRONUS UK Ltd_$Planning Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Routing Line] LEFT JOIN [CRONUS UK Ltd_$Work Center$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Center] ON [Planning Routing Line].[Work Center No_] = [Work Center].[No_] | |||||||
10 | Work Center Group Code | Work Center Group Code | Normal | Code | 10 | Work Center Group Code | nvarchar(20) |
Key to join to the Work Center Group table.Show/hide example querySELECT [Planning Routing Line].[Work Center Group Code] ,[Work Center Group].[Code] FROM [CRONUS UK Ltd_$Planning Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Routing Line] LEFT JOIN [CRONUS UK Ltd_$Work Center Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Center Group] ON [Planning Routing Line].[Work Center Group Code] = [Work Center Group].[Code] | |||||||
11 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
12 | Setup Time | Setup Time | Normal | Decimal | 12 | Setup Time | decimal(38,38) |
13 | Run Time | Run Time | Normal | Decimal | 12 | Run Time | decimal(38,38) |
14 | Wait Time | Wait Time | Normal | Decimal | 12 | Wait Time | decimal(38,38) |
15 | Move Time | Move Time | Normal | Decimal | 12 | Move Time | decimal(38,38) |
16 | Fixed Scrap Quantity | Fixed Scrap Quantity | Normal | Decimal | 12 | Fixed Scrap Quantity | decimal(38,38) |
17 | Lot Size | Lot Size | Normal | Decimal | 12 | Lot Size | decimal(38,38) |
18 | Scrap Factor % | Scrap Factor % | Normal | Decimal | 12 | Scrap Factor _ | decimal(38,38) |
19 | Setup Time Unit of Meas. Code | Setup Time Unit of Meas. Code | Normal | Code | 10 | Setup Time Unit of Meas_ Code | nvarchar(20) |
Key to join to the Capacity Unit of Measure table.Show/hide example querySELECT [Planning Routing Line].[Setup Time Unit of Meas_ Code] ,[Capacity Unit of Measure].[Code] FROM [CRONUS UK Ltd_$Planning Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Routing Line] LEFT JOIN [CRONUS UK Ltd_$Capacity Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Unit of Measure] ON [Planning Routing Line].[Setup Time Unit of Meas_ Code] = [Capacity Unit of Measure].[Code] | |||||||
20 | Run Time Unit of Meas. Code | Run Time Unit of Meas. Code | Normal | Code | 10 | Run Time Unit of Meas_ Code | nvarchar(20) |
Key to join to the Capacity Unit of Measure table.Show/hide example querySELECT [Planning Routing Line].[Run Time Unit of Meas_ Code] ,[Capacity Unit of Measure].[Code] FROM [CRONUS UK Ltd_$Planning Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Routing Line] LEFT JOIN [CRONUS UK Ltd_$Capacity Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Unit of Measure] ON [Planning Routing Line].[Run Time Unit of Meas_ Code] = [Capacity Unit of Measure].[Code] | |||||||
21 | Wait Time Unit of Meas. Code | Wait Time Unit of Meas. Code | Normal | Code | 10 | Wait Time Unit of Meas_ Code | nvarchar(20) |
Key to join to the Capacity Unit of Measure table.Show/hide example querySELECT [Planning Routing Line].[Wait Time Unit of Meas_ Code] ,[Capacity Unit of Measure].[Code] FROM [CRONUS UK Ltd_$Planning Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Routing Line] LEFT JOIN [CRONUS UK Ltd_$Capacity Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Unit of Measure] ON [Planning Routing Line].[Wait Time Unit of Meas_ Code] = [Capacity Unit of Measure].[Code] | |||||||
22 | Move Time Unit of Meas. Code | Move Time Unit of Meas. Code | Normal | Code | 10 | Move Time Unit of Meas_ Code | nvarchar(20) |
Key to join to the Capacity Unit of Measure table.Show/hide example querySELECT [Planning Routing Line].[Move Time Unit of Meas_ Code] ,[Capacity Unit of Measure].[Code] FROM [CRONUS UK Ltd_$Planning Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Routing Line] LEFT JOIN [CRONUS UK Ltd_$Capacity Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Unit of Measure] ON [Planning Routing Line].[Move Time Unit of Meas_ Code] = [Capacity Unit of Measure].[Code] | |||||||
27 | Minimum Process Time | Minimum Process Time | Normal | Decimal | 12 | Minimum Process Time | decimal(38,38) |
28 | Maximum Process Time | Maximum Process Time | Normal | Decimal | 12 | Maximum Process Time | decimal(38,38) |
30 | Concurrent Capacities | Concurrent Capacities | Normal | Decimal | 12 | Concurrent Capacities | decimal(38,38) |
31 | Send-Ahead Quantity | Send-Ahead Quantity | Normal | Decimal | 12 | Send-Ahead Quantity | decimal(38,38) |
34 | 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 Routing Line].[Routing Link Code] ,[Routing Link].[Code] FROM [CRONUS UK Ltd_$Planning Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Routing Line] LEFT JOIN [CRONUS UK Ltd_$Routing Link$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Routing Link] ON [Planning Routing Line].[Routing Link Code] = [Routing Link].[Code] | |||||||
35 | Standard Task Code | Standard Task Code | Normal | Code | 10 | Standard Task Code | nvarchar(20) |
Key to join to the Standard Task table.Show/hide example querySELECT [Planning Routing Line].[Standard Task Code] ,[Standard Task].[Code] FROM [CRONUS UK Ltd_$Planning Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Routing Line] LEFT JOIN [CRONUS UK Ltd_$Standard Task$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Standard Task] ON [Planning Routing Line].[Standard Task Code] = [Standard Task].[Code] | |||||||
40 | Unit Cost per | Unit Cost per | Normal | Decimal | 12 | Unit Cost per | decimal(38,38) |
41 | Recalculate | Recalculate | Normal | Boolean | 4 | Recalculate | tinyint |
50 | Sequence No.(Forward) | Sequence No.(Forward) | Normal | Integer | 4 | Sequence No_(Forward) | int |
51 | Sequence No.(Backward) | Sequence No.(Backward) | Normal | Integer | 4 | Sequence No_(Backward) | int |
52 | Fixed Scrap Qty. (Accum.) | Fixed Scrap Qty. (Accum.) | Normal | Decimal | 12 | Fixed Scrap Qty_ (Accum_) | decimal(38,38) |
53 | Scrap Factor % (Accumulated) | Scrap Factor % (Accumulated) | Normal | Decimal | 12 | Scrap Factor _ (Accumulated) | decimal(38,38) |
55 | Sequence No. (Actual) | Sequence No. (Actual) | Normal | Integer | 4 | Sequence No_ (Actual) | int |
56 | Direct Unit Cost | Direct Unit Cost | Normal | Decimal | 12 | Direct Unit Cost | decimal(38,38) |
57 | Indirect Cost % | Indirect Cost % | Normal | Decimal | 12 | Indirect Cost _ | decimal(38,38) |
58 | Overhead Rate | Overhead Rate | Normal | Decimal | 12 | Overhead Rate | decimal(38,38) |
61 | Output Quantity | Output Quantity | Normal | Decimal | 12 | Output Quantity | decimal(38,38) |
70 | Starting Time | Starting Time | Normal | Time | 4 | Starting Time | datetime |
71 | Starting Date | Starting Date | Normal | Date | 4 | Starting Date | datetime |
72 | Ending Time | Ending Time | Normal | Time | 4 | Ending Time | datetime |
73 | Ending Date | Ending Date | Normal | Date | 4 | Ending Date | datetime |
Key to join to the Inventory Period table.Show/hide example querySELECT [Planning Routing Line].[Ending Date] ,[Inventory Period].[Ending Date] FROM [CRONUS UK Ltd_$Planning Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Routing Line] LEFT JOIN [CRONUS UK Ltd_$Inventory Period$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Period] ON [Planning Routing Line].[Ending Date] = [Inventory Period].[Ending Date] | |||||||
76 | Unit Cost Calculation | Unit Cost Calculation | Normal | Option | 4 | Unit Cost Calculation | int |
Available options are:
| |||||||
77 | Input Quantity | Input Quantity | Normal | Decimal | 12 | Input Quantity | decimal(38,38) |
78 | Critical Path | Critical Path | Normal | Boolean | 4 | Critical Path | tinyint |
98 | Starting Date-Time | Starting Date-Time | Normal | DateTime | 8 | Starting Date-Time | datetime |
99 | Ending Date-Time | Ending Date-Time | Normal | DateTime | 8 | Ending Date-Time | datetime |
99000909 | Expected Operation Cost Amt. | Expected Operation Cost Amt. | Normal | Decimal | 12 | Expected Operation Cost Amt_ | decimal(38,38) |
99000910 | Expected Capacity Ovhd. Cost | Expected Capacity Ovhd. Cost | Normal | Decimal | 12 | Expected Capacity Ovhd_ Cost | decimal(38,38) |
99000911 | Expected Capacity Need | Expected Capacity Need | Normal | Decimal | 12 | Expected Capacity Need | 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 [Planning Routing Line].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Planning Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Routing Line] LEFT JOIN [User] AS [User] ON [Planning Routing Line].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |