Difference between revisions of "Production.WorkOrderRouting (table)"

From dbscript Online Help
Jump to: navigation, search
Line 127: Line 127:
 
| '''Table
 
| '''Table
 
| Production.WorkOrderRouting
 
| Production.WorkOrderRouting
|-
+
|- valign="top"
  
 
| '''Description
 
| '''Description
Line 149: Line 149:
 
| not null
 
| not null
 
|  
 
|  
| Primary key. Foreign key to WorkOrder.WorkOrderID.PK_WorkOrderRouting_WorkOrderID_ProductID_OperationSequence
+
| Primary key. Foreign key to WorkOrder.WorkOrderID.<br />PK_WorkOrderRouting_WorkOrderID_ProductID_OperationSequence
 
|- valign="top"
 
|- valign="top"
 
| ProductID
 
| ProductID
Line 155: Line 155:
 
| not null
 
| not null
 
|  
 
|  
| Primary key. Foreign key to Product.ProductID.PK_WorkOrderRouting_WorkOrderID_ProductID_OperationSequenceIX_WorkOrderRouting_ProductID
+
| Primary key. Foreign key to Product.ProductID.<br />PK_WorkOrderRouting_WorkOrderID_ProductID_OperationSequenceIX_WorkOrderRouting_ProductID
 
|- valign="top"
 
|- valign="top"
 
| OperationSequence
 
| OperationSequence
Line 161: Line 161:
 
| not null
 
| not null
 
|  
 
|  
| Primary key. Indicates the manufacturing process sequence.PK_WorkOrderRouting_WorkOrderID_ProductID_OperationSequence
+
| Primary key. Indicates the manufacturing process sequence.<br />PK_WorkOrderRouting_WorkOrderID_ProductID_OperationSequence
 
|- valign="top"
 
|- valign="top"
 
| LocationID
 
| LocationID
Line 167: Line 167:
 
| not null
 
| not null
 
|  
 
|  
| Manufacturing location where the part is processed. Foreign key to Location.LocationID.
+
| Manufacturing location where the part is processed. Foreign key to Location.LocationID.<br />
 
|- valign="top"
 
|- valign="top"
 
| ScheduledStartDate
 
| ScheduledStartDate
Line 173: Line 173:
 
| not null
 
| not null
 
|  
 
|  
| Planned manufacturing start date.
+
| Planned manufacturing start date.<br />
 
|- valign="top"
 
|- valign="top"
 
| ScheduledEndDate
 
| ScheduledEndDate
Line 179: Line 179:
 
| not null
 
| not null
 
|  
 
|  
| Planned manufacturing end date.
+
| Planned manufacturing end date.<br />
 
|- valign="top"
 
|- valign="top"
 
| ActualStartDate
 
| ActualStartDate
Line 185: Line 185:
 
| null
 
| null
 
|  
 
|  
| Actual start date.
+
| Actual start date.<br />
 
|- valign="top"
 
|- valign="top"
 
| ActualEndDate
 
| ActualEndDate
Line 191: Line 191:
 
| null
 
| null
 
|  
 
|  
| Actual end date.
+
| Actual end date.<br />
 
|- valign="top"
 
|- valign="top"
 
| ActualResourceHrs
 
| ActualResourceHrs
Line 197: Line 197:
 
| null
 
| null
 
|  
 
|  
| Number of manufacturing hours used.
+
| Number of manufacturing hours used.<br />
 
|- valign="top"
 
|- valign="top"
 
| PlannedCost
 
| PlannedCost
Line 203: Line 203:
 
| not null
 
| not null
 
|  
 
|  
| Estimated manufacturing cost.
+
| Estimated manufacturing cost.<br />
 
|- valign="top"
 
|- valign="top"
 
| ActualCost
 
| ActualCost
Line 209: Line 209:
 
| null
 
| null
 
|  
 
|  
| Actual manufacturing cost.
+
| Actual manufacturing cost.<br />
 
|- valign="top"
 
|- valign="top"
 
| ModifiedDate
 
| ModifiedDate
Line 215: Line 215:
 
| not null
 
| not null
 
| (GETDATE())
 
| (GETDATE())
| Date and time the record was last updated.
+
| Date and time the record was last updated.<br />
 
|}
 
|}
  

Revision as of 01:11, 27 November 2009

wikibot

Table Production.WorkOrderRouting


Column Data Type Nullable Default PK Index
WorkOrderID int not null PK_WorkOrderRouting_WorkOrderID_ProductID_OperationSequence
ProductID int not null PK_WorkOrderRouting_WorkOrderID_ProductID_OperationSequence IX_WorkOrderRouting_ProductID
OperationSequence smallint not null PK_WorkOrderRouting_WorkOrderID_ProductID_OperationSequence
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 (getdate())


Relation Column Referenced Column
Production.Location LocationID LocationID
Production.WorkOrder WorkOrderID WorkOrderID

automatically generated

Table Production.WorkOrderRouting
Description Work order details.


Column Data Type Nullable Default Description / PK / Index
WorkOrderID int not null Primary key. Foreign key to WorkOrder.WorkOrderID.
PK_WorkOrderRouting_WorkOrderID_ProductID_OperationSequence
ProductID int not null Primary key. Foreign key to Product.ProductID.
PK_WorkOrderRouting_WorkOrderID_ProductID_OperationSequenceIX_WorkOrderRouting_ProductID
OperationSequence smallint not null Primary key. Indicates the manufacturing process sequence.
PK_WorkOrderRouting_WorkOrderID_ProductID_OperationSequence
LocationID smallint not null Manufacturing location where the part is processed. Foreign key to Location.LocationID.
ScheduledStartDate datetime not null Planned manufacturing start date.
ScheduledEndDate datetime not null Planned manufacturing end date.
ActualStartDate datetime null Actual start date.
ActualEndDate datetime null Actual end date.
ActualResourceHrs decimal(9, 4) null Number of manufacturing hours used.
PlannedCost money not null Estimated manufacturing cost.
ActualCost money null Actual manufacturing cost.
ModifiedDate datetime not null (GETDATE()) Date and time the record was last updated.


Relation Column Referenced Column
Production.Location LocationID LocationID
Production.WorkOrder WorkOrderID WorkOrderID