Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5409
Table Type: Company
Table Name: Prod. Order Routing Line
Database Table Name: CRONUS UK Ltd_$Prod_ Order 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 Prod. Order Routing Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Prod_ Order Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Routing No_]
,[Routing Reference 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]
,[Starting Time]
,[Starting Date]
,[Ending Time]
,[Ending Date]
,[Status]
,[Prod_ Order No_]
,[Unit Cost Calculation]
,[Input Quantity]
,[Critical Path]
,[Routing Status]
,[Flushing Method]
,[Expected Operation Cost Amt_]
,[Expected Capacity Need]
,[Expected Capacity Ovhd_ Cost]
,[Starting Date-Time]
,[Ending Date-Time]
,[Schedule Manually]
,[Location Code]
,[Open Shop Floor Bin Code]
,[To-Production Bin Code]
,[From-Production Bin Code]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Prod_ Order 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_$Prod_ Order Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Routing Line]
LEFT JOIN
[CRONUS UK Ltd_$Work Center Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Center Group]
ON
[Prod. Order 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
[Prod. Order Routing Line].[Routing Link Code] = [Routing Link].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Standard Task$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Standard Task]
ON
[Prod. Order Routing Line].[Standard Task Code] = [Standard Task].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Inventory Period$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Period]
ON
[Prod. Order Routing Line].[Ending Date] = [Inventory Period].[Ending Date]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Prod. Order Routing Line].[Location Code] = [Location].[Code]
LEFT JOIN
[User] AS [User]
ON
[Prod. Order Routing Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Prod. Order Routing Line].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Prod. Order Routing Line table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Routing No. | Routing No. | Normal | Code | 20 | Routing No_ | nvarchar(40) |
Key to join to the Routing Header table.Show/hide example querySELECT [Prod. Order Routing Line].[Routing No_] ,[Routing Header].[No_] FROM [CRONUS UK Ltd_$Prod_ Order Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Routing Line] LEFT JOIN [CRONUS UK Ltd_$Routing Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Routing Header] ON [Prod. Order Routing Line].[Routing No_] = [Routing Header].[No_] | |||||||
3 | Routing Reference No. | Routing Reference No. | Normal | Integer | 4 | Routing Reference 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 [Prod. Order Routing Line].[Work Center No_] ,[Work Center].[No_] FROM [CRONUS UK Ltd_$Prod_ Order Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Routing Line] LEFT JOIN [CRONUS UK Ltd_$Work Center$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Center] ON [Prod. Order 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 [Prod. Order Routing Line].[Work Center Group Code] ,[Work Center Group].[Code] FROM [CRONUS UK Ltd_$Prod_ Order Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Routing Line] LEFT JOIN [CRONUS UK Ltd_$Work Center Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Center Group] ON [Prod. Order 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 [Prod. Order Routing Line].[Setup Time Unit of Meas_ Code] ,[Capacity Unit of Measure].[Code] FROM [CRONUS UK Ltd_$Prod_ Order Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Routing Line] LEFT JOIN [CRONUS UK Ltd_$Capacity Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Unit of Measure] ON [Prod. Order 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 [Prod. Order Routing Line].[Run Time Unit of Meas_ Code] ,[Capacity Unit of Measure].[Code] FROM [CRONUS UK Ltd_$Prod_ Order Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Routing Line] LEFT JOIN [CRONUS UK Ltd_$Capacity Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Unit of Measure] ON [Prod. Order 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 [Prod. Order Routing Line].[Wait Time Unit of Meas_ Code] ,[Capacity Unit of Measure].[Code] FROM [CRONUS UK Ltd_$Prod_ Order Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Routing Line] LEFT JOIN [CRONUS UK Ltd_$Capacity Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Unit of Measure] ON [Prod. Order 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 [Prod. Order Routing Line].[Move Time Unit of Meas_ Code] ,[Capacity Unit of Measure].[Code] FROM [CRONUS UK Ltd_$Prod_ Order Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Routing Line] LEFT JOIN [CRONUS UK Ltd_$Capacity Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Unit of Measure] ON [Prod. Order 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 [Prod. Order Routing Line].[Routing Link Code] ,[Routing Link].[Code] FROM [CRONUS UK Ltd_$Prod_ Order Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Routing Line] LEFT JOIN [CRONUS UK Ltd_$Routing Link$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Routing Link] ON [Prod. Order 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 [Prod. Order Routing Line].[Standard Task Code] ,[Standard Task].[Code] FROM [CRONUS UK Ltd_$Prod_ Order Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Routing Line] LEFT JOIN [CRONUS UK Ltd_$Standard Task$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Standard Task] ON [Prod. Order 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) |
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 [Prod. Order Routing Line].[Ending Date] ,[Inventory Period].[Ending Date] FROM [CRONUS UK Ltd_$Prod_ Order Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Routing Line] LEFT JOIN [CRONUS UK Ltd_$Inventory Period$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Period] ON [Prod. Order Routing Line].[Ending Date] = [Inventory Period].[Ending Date] | |||||||
74 | Status | Status | Normal | Option | 4 | Status | int |
Available options are:
| |||||||
75 | Prod. Order No. | Prod. Order No. | Normal | Code | 20 | Prod_ Order No_ | nvarchar(40) |
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 |
79 | Routing Status | Routing Status | Normal | Option | 4 | Routing Status | int |
Available options are:
| |||||||
81 | Flushing Method | Flushing Method | Normal | Option | 4 | Flushing Method | int |
Available options are:
| |||||||
90 | Expected Operation Cost Amt. | Expected Operation Cost Amt. | Normal | Decimal | 12 | Expected Operation Cost Amt_ | decimal(38,38) |
91 | Expected Capacity Need | Expected Capacity Need | Normal | Decimal | 12 | Expected Capacity Need | decimal(38,38) |
96 | Expected Capacity Ovhd. Cost | Expected Capacity Ovhd. Cost | Normal | Decimal | 12 | Expected Capacity Ovhd_ Cost | decimal(38,38) |
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 |
100 | Schedule Manually | Schedule Manually | Normal | Boolean | 4 | Schedule Manually | tinyint |
101 | Location Code | Location Code | Normal | Code | 10 | Location Code | nvarchar(20) |
Key to join to the Location table.Show/hide example querySELECT [Prod. Order Routing Line].[Location Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Prod_ Order Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Routing Line] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Prod. Order Routing Line].[Location Code] = [Location].[Code] | |||||||
7301 | Open Shop Floor Bin Code | Open Shop Floor Bin Code | Normal | Code | 20 | Open Shop Floor Bin Code | nvarchar(40) |
7302 | To-Production Bin Code | To-Production Bin Code | Normal | Code | 20 | To-Production Bin Code | nvarchar(40) |
7303 | From-Production Bin Code | From-Production Bin Code | Normal | Code | 20 | From-Production Bin Code | nvarchar(40) |
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 Routing Line].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Prod_ Order Routing Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Routing Line] LEFT JOIN [User] AS [User] ON [Prod. Order 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 |