Editing Production.WorkOrderRouting (table)
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
− | |- | + | |- |
| '''Table | | '''Table | ||
| Production.WorkOrderRouting | | Production.WorkOrderRouting | ||
− | |- | + | |- |
− | |||
− | |||
|} | |} | ||
− | + | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
Line 17: | Line 15: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
− | | ''' | + | | '''PK |
− | + | | '''Index | |
− | |- | + | |
+ | |- | ||
| WorkOrderID | | WorkOrderID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
− | | | + | | PK_WorkOrderRouting_WorkOrderID_ProductID_OperationSequence |
− | |- | + | | |
+ | |- | ||
| ProductID | | ProductID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
− | | | + | | PK_WorkOrderRouting_WorkOrderID_ProductID_OperationSequence |
− | |- | + | | IX_WorkOrderRouting_ProductID |
+ | |- | ||
| OperationSequence | | OperationSequence | ||
| smallint | | smallint | ||
| not null | | not null | ||
| | | | ||
− | | | + | | PK_WorkOrderRouting_WorkOrderID_ProductID_OperationSequence |
− | |- | + | | |
+ | |- | ||
| LocationID | | LocationID | ||
| smallint | | smallint | ||
| not null | | not null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| ScheduledStartDate | | ScheduledStartDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| ScheduledEndDate | | ScheduledEndDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| ActualStartDate | | ActualStartDate | ||
| datetime | | datetime | ||
| null | | null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| ActualEndDate | | ActualEndDate | ||
| datetime | | datetime | ||
| null | | null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| ActualResourceHrs | | ActualResourceHrs | ||
| decimal(9, 4) | | decimal(9, 4) | ||
| null | | null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| PlannedCost | | PlannedCost | ||
| money | | money | ||
| not null | | not null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| ActualCost | | ActualCost | ||
| money | | money | ||
| null | | null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| ModifiedDate | | ModifiedDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| (getdate()) | | (getdate()) | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| | | | ||
− | | | + | | |
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
Line 151: | Line 111: | ||
| '''Column | | '''Column | ||
| '''Referenced Column | | '''Referenced Column | ||
− | + | ||
− | |- | + | |- |
| [[Production.Location_(table)|Production.Location]] | | [[Production.Location_(table)|Production.Location]] | ||
| LocationID | | LocationID | ||
| LocationID | | LocationID | ||
− | |- | + | |- |
| [[Production.WorkOrder_(table)|Production.WorkOrder]] | | [[Production.WorkOrder_(table)|Production.WorkOrder]] | ||
| WorkOrderID | | WorkOrderID | ||
| WorkOrderID | | WorkOrderID | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== automatically generated == | == automatically generated == | ||
Line 183: | Line 128: | ||
| '''Table | | '''Table | ||
| Production.WorkOrderRouting | | Production.WorkOrderRouting | ||
− | |- | + | |- |
+ | |||
| '''Description | | '''Description | ||
| Work order details. | | Work order details. | ||
|- | |- | ||
+ | |||
|} | |} | ||
Line 196: | Line 143: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
− | | '''Description | + | | '''Description |
+ | | '''PK / Index | ||
− | |- | + | |- |
| WorkOrderID | | WorkOrderID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
− | | Primary key. Foreign key to WorkOrder.WorkOrderID. | + | | Primary key. Foreign key to WorkOrder.WorkOrderID. |
− | |- | + | | PK_WorkOrderRouting_WorkOrderID_ProductID_OperationSequence |
+ | |- | ||
| ProductID | | ProductID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
− | | Primary key. Foreign key to Product.ProductID. | + | | Primary key. Foreign key to Product.ProductID. |
− | |- | + | | PK_WorkOrderRouting_WorkOrderID_ProductID_OperationSequenceIX_WorkOrderRouting_ProductID |
+ | |- | ||
| OperationSequence | | OperationSequence | ||
| smallint | | smallint | ||
| not null | | not null | ||
| | | | ||
− | | Primary key. Indicates the manufacturing process sequence. | + | | Primary key. Indicates the manufacturing process sequence. |
− | |- | + | | PK_WorkOrderRouting_WorkOrderID_ProductID_OperationSequence |
+ | |- | ||
| LocationID | | LocationID | ||
| smallint | | smallint | ||
| 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. |
− | |- | + | | |
+ | |- | ||
| ScheduledStartDate | | ScheduledStartDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| | | | ||
− | | Planned manufacturing start date. | + | | Planned manufacturing start date. |
− | |- | + | | |
+ | |- | ||
| ScheduledEndDate | | ScheduledEndDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| | | | ||
− | | Planned manufacturing end date. | + | | Planned manufacturing end date. |
− | |- | + | | |
+ | |- | ||
| ActualStartDate | | ActualStartDate | ||
| datetime | | datetime | ||
| null | | null | ||
| | | | ||
− | | Actual start date. | + | | Actual start date. |
− | |- | + | | |
+ | |- | ||
| ActualEndDate | | ActualEndDate | ||
| datetime | | datetime | ||
| null | | null | ||
| | | | ||
− | | Actual end date. | + | | Actual end date. |
− | |- | + | | |
+ | |- | ||
| ActualResourceHrs | | ActualResourceHrs | ||
| decimal(9, 4) | | decimal(9, 4) | ||
| null | | null | ||
| | | | ||
− | | Number of manufacturing hours used. | + | | Number of manufacturing hours used. |
− | |- | + | | |
+ | |- | ||
| PlannedCost | | PlannedCost | ||
| money | | money | ||
| not null | | not null | ||
| | | | ||
− | | Estimated manufacturing cost. | + | | Estimated manufacturing cost. |
− | |- | + | | |
+ | |- | ||
| ActualCost | | ActualCost | ||
| money | | money | ||
| null | | null | ||
| | | | ||
− | | Actual manufacturing cost. | + | | Actual manufacturing cost. |
− | |- | + | | |
+ | |- | ||
| ModifiedDate | | ModifiedDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| (GETDATE()) | | (GETDATE()) | ||
− | | Date and time the record was last updated. | + | | Date and time the record was last updated. |
+ | | | ||
|} | |} | ||
Line 288: | Line 248: | ||
| WorkOrderID | | WorkOrderID | ||
| WorkOrderID | | WorkOrderID | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} |