Production.WorkOrderRouting Table
Information
| Name | WorkOrderRouting |
| Schema | Production |
| Row Count | 0 |
| Data Size | |
| Index Size | |
| Reserved Size | |
| Unused Size | |
| Created | 29.3.2010. 21:58:18 |
| Modified | 29.3.2010. 21:58:56 |
Extended Properties
| Name | Type | Property Name | Value |
| WorkOrderRouting | TABLE | MS_Description | Work order details. |
Columns
| PK | Key | Identity | Name | Data Type | Allow Nulls | Collation | References | Default | Computed | Compute Expression |
|   |   |   | WorkOrderID | int |   | | Production.WorkOrder.WorkOrderID | |   | |
|   |   |   | ProductID | int |   | | | |   | |
|   |   |   | OperationSequence | smallint |   | | | |   | |
| |   |   | LocationID | smallint |   | | Production.Location.LocationID | |   | |
| |   |   | ScheduledStartDate | datetime |   | | | |   | |
| |   |   | ScheduledEndDate | datetime |   | | | |   | |
| |   |   | ActualStartDate | datetime |   | | | |   | |
| |   |   | ActualEndDate | datetime |   | | | |   | |
| |   |   | ActualResourceHrs | decimal(9,4) |   | | | |   | |
| |   |   | PlannedCost | money |   | | | |   | |
| |   |   | ActualCost | money |   | | | |   | |
| |   |   | ModifiedDate | datetime |   | | | (getdate()) |   | |
Indexes
Check Constraints
Foreign Key Constraints
SQL Script
CREATE TABLE [Production].[WorkOrderRouting] (
[WorkOrderID] int NOT NULL,
[ProductID] int NOT NULL,
[OperationSequence] smallint NOT NULL,
[LocationID] smallint NOT NULL,
[ScheduledStartDate] datetime NOT NULL,
[ScheduledEndDate] datetime NOT NULL,
[ActualStartDate] datetime NULL,
[ActualEndDate] datetime NULL,
[ActualResourceHrs] decimal(9,4) NULL,
[PlannedCost] money NOT NULL,
[ActualCost] money NULL,
[ModifiedDate] datetime NOT NULL DEFAULT (getdate())
);
CREATE INDEX [IX_WorkOrderRouting_ProductID] on [Production].[WorkOrderRouting]([ProductID]);