Difference between revisions of "Production.WorkOrderRouting (table)"
| Line 5: | Line 5: | ||
| '''Table | | '''Table | ||
| Production.WorkOrderRouting | | Production.WorkOrderRouting | ||
| + | |- valign="top" | ||
| + | | '''Description | ||
| + | | Work order details. | ||
|- | |- | ||
|} | |} | ||
| Line 15: | Line 18: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
| − | | '''PK | + | | '''Description / PK / Index |
| − | |||
| − | |- | + | |- valign="top" |
| WorkOrderID | | WorkOrderID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
| − | | PK_WorkOrderRouting_WorkOrderID_ProductID_OperationSequence | + | | Primary key. Foreign key to WorkOrder.WorkOrderID.<br />PK_WorkOrderRouting_WorkOrderID_ProductID_OperationSequence |
| − | + | |- valign="top" | |
| − | |- | ||
| ProductID | | ProductID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
| − | | | + | | Primary key. Foreign key to Product.ProductID.<br />PK_WorkOrderRouting_WorkOrderID_ProductID_OperationSequenceIX_WorkOrderRouting_ProductID |
| − | + | |- valign="top" | |
| − | |- | ||
| OperationSequence | | OperationSequence | ||
| smallint | | smallint | ||
| not null | | not null | ||
| | | | ||
| − | | PK_WorkOrderRouting_WorkOrderID_ProductID_OperationSequence | + | | Primary key. Indicates the manufacturing process sequence.<br />PK_WorkOrderRouting_WorkOrderID_ProductID_OperationSequence |
| − | + | |- valign="top" | |
| − | |- | ||
| LocationID | | LocationID | ||
| smallint | | smallint | ||
| not null | | not null | ||
| | | | ||
| − | | | + | | Manufacturing location where the part is processed. Foreign key to Location.LocationID.<br /> |
| − | + | |- valign="top" | |
| − | |- | ||
| ScheduledStartDate | | ScheduledStartDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| | | | ||
| − | | | + | | Planned manufacturing start date.<br /> |
| − | + | |- valign="top" | |
| − | |- | ||
| ScheduledEndDate | | ScheduledEndDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| | | | ||
| − | | | + | | Planned manufacturing end date.<br /> |
| − | + | |- valign="top" | |
| − | |- | ||
| ActualStartDate | | ActualStartDate | ||
| datetime | | datetime | ||
| null | | null | ||
| | | | ||
| − | | | + | | Actual start date.<br /> |
| − | + | |- valign="top" | |
| − | |- | ||
| ActualEndDate | | ActualEndDate | ||
| datetime | | datetime | ||
| null | | null | ||
| | | | ||
| − | | | + | | Actual end date.<br /> |
| − | + | |- valign="top" | |
| − | |- | ||
| ActualResourceHrs | | ActualResourceHrs | ||
| decimal(9, 4) | | decimal(9, 4) | ||
| null | | null | ||
| | | | ||
| − | | | + | | Number of manufacturing hours used.<br /> |
| − | + | |- valign="top" | |
| − | |- | ||
| PlannedCost | | PlannedCost | ||
| money | | money | ||
| not null | | not null | ||
| | | | ||
| − | | | + | | Estimated manufacturing cost.<br /> |
| − | + | |- valign="top" | |
| − | |- | ||
| ActualCost | | ActualCost | ||
| money | | money | ||
| null | | null | ||
| | | | ||
| − | | | + | | Actual manufacturing cost.<br /> |
| − | + | |- valign="top" | |
| − | |- | ||
| ModifiedDate | | ModifiedDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| (getdate()) | | (getdate()) | ||
| − | | | + | | Date and time the record was last updated.<br /> |
| − | |||
|} | |} | ||
| Line 121: | Line 111: | ||
| WorkOrderID | | WorkOrderID | ||
|} | |} | ||
| + | |||
| + | |||
| + | |||
== automatically generated == | == automatically generated == | ||
Revision as of 22:55, 28 December 2009
wikibot
| 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 |
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 |
| Dependency Type | Object Type | Referenced Object |
| Schema | Schema | Production |