Editing Production.WorkOrder (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.WorkOrder | | Production.WorkOrder | ||
− | |- | + | |- |
− | |||
− | |||
|} | |} | ||
− | + | ||
{| 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_WorkOrder_WorkOrderID |
− | |- | + | | |
+ | |- | ||
| ProductID | | ProductID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
− | | | + | | |
− | |- | + | | IX_WorkOrder_ProductID |
+ | |- | ||
| OrderQty | | OrderQty | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| StockedQty | | StockedQty | ||
| | | | ||
| | | | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| ScrappedQty | | ScrappedQty | ||
| smallint | | smallint | ||
| not null | | not null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| StartDate | | StartDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| EndDate | | EndDate | ||
| datetime | | datetime | ||
| null | | null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| DueDate | | DueDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| ScrapReasonID | | ScrapReasonID | ||
| smallint | | smallint | ||
| null | | null | ||
| | | | ||
− | | | + | | |
− | |- | + | | IX_WorkOrder_ScrapReasonID |
+ | |- | ||
| 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 135: | Line 97: | ||
| '''Column | | '''Column | ||
| '''Referenced Column | | '''Referenced Column | ||
− | + | ||
− | |- | + | |- |
| [[Production.Product_(table)|Production.Product]] | | [[Production.Product_(table)|Production.Product]] | ||
| ProductID | | ProductID | ||
| ProductID | | ProductID | ||
− | |- | + | |- |
| [[Production.ScrapReason_(table)|Production.ScrapReason]] | | [[Production.ScrapReason_(table)|Production.ScrapReason]] | ||
| ScrapReasonID | | ScrapReasonID | ||
Line 146: | Line 108: | ||
|} | |} | ||
− | + | ||
{| 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 152: | Line 114: | ||
| '''Column | | '''Column | ||
| '''Referencing Column | | '''Referencing Column | ||
− | + | ||
− | |- | + | |- |
| [[Production.WorkOrderRouting_(table)|Production.WorkOrderRouting]] | | [[Production.WorkOrderRouting_(table)|Production.WorkOrderRouting]] | ||
| WorkOrderID | | WorkOrderID | ||
Line 159: | Line 121: | ||
|} | |} | ||
− | + | ||
{| 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" | ||
− | | ''' | + | | '''Triggers |
| '''Type | | '''Type | ||
− | + | ||
− | |- | + | |- |
| iWorkOrder | | iWorkOrder | ||
| ON INSERT | | ON INSERT | ||
− | |- | + | |- |
| uWorkOrder | | uWorkOrder | ||
| ON UPDATE | | ON UPDATE | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== automatically generated == | == automatically generated == | ||
Line 333: | Line 141: | ||
| Production.WorkOrder | | Production.WorkOrder | ||
|- valign="top" | |- valign="top" | ||
+ | |||
| '''Description | | '''Description | ||
| Manufacturing work orders. | | Manufacturing work orders. | ||
|- | |- | ||
+ | |||
|} | |} | ||
Line 457: | Line 267: | ||
{| 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" | ||
+ | | '''Referenced Object | ||
+ | | '''Object Type | ||
| '''Dependency Type | | '''Dependency Type | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | + | | [[Production.TransactionHistory_(table)|Production.TransactionHistory]] | |
− | + | | Table | |
− | | [[ | + | | Insert |
− | |||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | [[Production.TransactionHistory_(table)|Production.TransactionHistory]] |
| Table | | Table | ||
− | |||
− | |||
− | |||
− | |||
− | |||
| Insert | | Insert | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
+ | | [[dbo.uspLogError_(procedure)|dbo.uspLogError]] | ||
+ | | Procedure | ||
| Execute | | Execute | ||
+ | |- | ||
+ | | [[dbo.uspLogError_(procedure)|dbo.uspLogError]] | ||
| Procedure | | Procedure | ||
− | | | + | | Execute |
− | |||
− | |||
− | |||
|- | |- | ||
+ | | [[dbo.uspPrintError_(procedure)|dbo.uspPrintError]] | ||
+ | | Procedure | ||
| Execute | | Execute | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | | [[dbo.uspPrintError_(procedure)|dbo.uspPrintError]] |
| Procedure | | Procedure | ||
− | |||
− | |||
− | |||
− | |||
− | |||
| Execute | | Execute | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} |