Editing Production.Location (table)

Jump to: navigation, search

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"
|- valign="top"
+
|-
 
| '''Table
 
| '''Table
 
| Production.Location
 
| Production.Location
|- valign="top"
+
|-
| '''Description
 
| Product inventory and manufacturing locations.
 
 
|}
 
|}
  
=== Columns ===
+
 
 
{| 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
| '''Description
+
| '''PK
 
+
| '''Index
|- valign="top"
+
 +
|-
 
| LocationID
 
| LocationID
 
| smallint
 
| smallint
 
| not null
 
| not null
 
|  
 
|  
| Primary key for Location records.
+
| PK_Location_LocationID
|- valign="top"
+
|
 +
|-
 
| Name
 
| Name
 
| dbo.Name
 
| dbo.Name
 
| not null
 
| not null
 
|  
 
|  
| Location description.
+
|  
|- valign="top"
+
| AK_Location_Name
 +
|-
 
| CostRate
 
| CostRate
 
| smallmoney
 
| smallmoney
 
| not null
 
| not null
 
| ((0.00))
 
| ((0.00))
| Standard hourly cost of the manufacturing location.
+
|  
|- valign="top"
+
|
 +
|-
 
| Availability
 
| Availability
 
| decimal(8, 2)
 
| decimal(8, 2)
 
| not null
 
| not null
 
| ((0.00))
 
| ((0.00))
| Work capacity (in hours) of the manufacturing location.
+
|  
|- valign="top"
+
|
 +
|-
 
| ModifiedDate
 
| ModifiedDate
 
| datetime
 
| datetime
 
| not null
 
| not null
 
| (getdate())
 
| (getdate())
| Date and time the record was last updated.
+
|  
 +
|
 
|}
 
|}
  
=== Primary Key ===
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
|- style="background:silver"
 
| '''Primary Key
 
| '''Columns
 
|- valign="top"
 
| PK_Location_LocationID
 
| LocationID
 
|}
 
  
=== Indexes ===
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
|- style="background:silver"
 
| '''Index
 
| '''Type
 
| '''Columns
 
  
|- valign="top"
 
| AK_Location_Name
 
| Unique
 
| Name
 
|}
 
 
=== Check Constraints ===
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
|- style="background:silver"
 
| '''Check Constraint
 
| '''Expression
 
| '''Description
 
 
|- valign="top"
 
| CK_Location_Availability
 
| ([Availability]>=(0.00))
 
| Check constraint [Availability] >= (0.00)
 
|- valign="top"
 
| CK_Location_CostRate
 
| ([CostRate]>=(0.00))
 
| Check constraint [CostRate] >= (0.00)
 
|}
 
 
=== Detail Tables ===
 
 
{| 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 97: Line 62:
 
| '''Column
 
| '''Column
 
| '''Referencing Column
 
| '''Referencing Column
 
+
|- valign="top"
+
|-
 
| [[Production.ProductInventory_(table)|Production.ProductInventory]]
 
| [[Production.ProductInventory_(table)|Production.ProductInventory]]
 
| LocationID
 
| LocationID
 
| LocationID
 
| LocationID
|- valign="top"
+
|-
 
| [[Production.WorkOrderRouting_(table)|Production.WorkOrderRouting]]
 
| [[Production.WorkOrderRouting_(table)|Production.WorkOrderRouting]]
 
| LocationID
 
| LocationID
 
| LocationID
 
| LocationID
 
|}
 
|}
 
=== References ===
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
|- style="background:silver"
 
| '''Dependency Type
 
| '''Object Type
 
| '''Referenced Object
 
 
|- valign="top"
 
| Data Type
 
| Type
 
| [[dbo.Name_(type)|dbo.Name]]
 
 
|- valign="top"
 
| Schema
 
| Schema
 
| [[Production_(schema)|Production]]
 
 
|}
 
 
 
 
== wikivalues ==
 
== wikivalues ==
  
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
|- valign="top"
+
|-
 
| '''Table Values
 
| '''Table Values
 
| Production.Location
 
| Production.Location
 +
|-
 
|}
 
|}
  
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
|- style="background:silver"
 
  
 +
{| border="1" cellpadding="5" cellspacing="0"  style="border-collapse:collapse"
 +
|- style="background:silver"
 
| '''LocationID
 
| '''LocationID
 
| '''Name
 
| '''Name
 
| '''CostRate
 
| '''CostRate
 
| '''Availability
 
| '''Availability
|- valign="top"
+
|-  
 
+
| 1
| 1
+
| Tool Crib
| Tool Crib
+
| 0.00
| 0.00
+
| 0.00
| 0.00
+
|-  
|- valign="top"
+
| 2
 
+
| Sheet Metal Racks
| 2
+
| 0.00
| Sheet Metal Racks
+
| 0.00
| 0.00
+
|-  
| 0.00
+
| 3
|- valign="top"
+
| Paint Shop
 
+
| 0.00
| 3
+
| 0.00
| Paint Shop
+
|-  
| 0.00
+
| 4
| 0.00
+
| Paint Storage
|- valign="top"
+
| 0.00
 
+
| 0.00
| 4
+
|-  
| Paint Storage
+
| 5
| 0.00
+
| Metal Storage
| 0.00
+
| 0.00
|- valign="top"
+
| 0.00
 
+
|-  
| 5
+
| 6
| Metal Storage
+
| Miscellaneous Storage
| 0.00
+
| 0.00
| 0.00
+
| 0.00
|- valign="top"
+
|-  
 
+
| 7
| 6
+
| Finished Goods Storage
| Miscellaneous Storage
+
| 0.00
| 0.00
+
| 0.00
| 0.00
+
|-  
|- valign="top"
+
| 10
 
+
| Frame Forming
| 7
+
| 22.50
| Finished Goods Storage
+
| 96.00
| 0.00
+
|-  
| 0.00
+
| 20
|- valign="top"
+
| Frame Welding
 
+
| 25.00
| 10
+
| 108.00
| Frame Forming
+
|-  
| 22.50
+
| 30
| 96.00
+
| Debur and Polish
|- valign="top"
+
| 14.50
 
+
| 120.00
| 20
+
|-  
| Frame Welding
+
| 40
| 25.00
+
| Paint
| 108.00
+
| 15.75
|- valign="top"
+
| 120.00
 
+
|-  
| 30
+
| 45
| Debur and Polish
+
| Specialized Paint
| 14.50
+
| 18.00
| 120.00
+
| 80.00
|- valign="top"
+
|-  
 
+
| 50
| 40
+
| Subassembly
| Paint
+
| 12.25
| 15.75
+
| 120.00
| 120.00
+
|-  
|- valign="top"
+
| 60
 
+
| Final Assembly
| 45
+
| 12.25
| Specialized Paint
+
| 120.00
| 18.00
 
| 80.00
 
|- valign="top"
 
 
 
| 50
 
| Subassembly
 
| 12.25
 
| 120.00
 
|- valign="top"
 
 
 
| 60
 
| Final Assembly
 
| 12.25
 
| 120.00
 
 
|}
 
|}
 
 
== automatically generated ==
 
== automatically generated ==
  
Line 235: Line 165:
 
| '''Table
 
| '''Table
 
| Production.Location
 
| Production.Location
|- valign="top"
+
|-
 +
 
 
| '''Description
 
| '''Description
 
| Product inventory and manufacturing locations.
 
| Product inventory and manufacturing locations.
 
|-
 
|-
 +
 
|}
 
|}
  
Line 255: Line 187:
 
| not null
 
| not null
 
|  
 
|  
| Primary key for Location records.<br />PK_Location_LocationID
+
| Primary key for Location records.PK_Location_LocationID
 
|- valign="top"
 
|- valign="top"
 
| Name
 
| Name
Line 261: Line 193:
 
| not null
 
| not null
 
|  
 
|  
| Location description.<br />AK_Location_Name
+
| Location description.AK_Location_Name
 
|- valign="top"
 
|- valign="top"
 
| CostRate
 
| CostRate
Line 267: Line 199:
 
| not null
 
| not null
 
| (0.00)
 
| (0.00)
| Standard hourly cost of the manufacturing location.<br />
+
| Standard hourly cost of the manufacturing location.
 
|- valign="top"
 
|- valign="top"
 
| Availability
 
| Availability
Line 273: Line 205:
 
| not null
 
| not null
 
| (0.00)
 
| (0.00)
| Work capacity (in hours) of the manufacturing location.<br />
+
| Work capacity (in hours) of the manufacturing location.
 
|- valign="top"
 
|- valign="top"
 
| ModifiedDate
 
| ModifiedDate
Line 279: Line 211:
 
| not null
 
| not null
 
| (GETDATE())
 
| (GETDATE())
| Date and time the record was last updated.<br />
+
| Date and time the record was last updated.
 
|}
 
|}
  
Line 303: Line 235:
 
{| 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
| '''Object Type
+
| '''Referenced Object
 
 
 
 
|-
 
|-
 +
| [[dbo.Name_(type)|dbo.Name]]
 +
| Type
 
| Data Type
 
| Data Type
| Type
 
| [[dbo.Name_(type)|dbo.Name]]
 
 
|-
 
| Schema
 
| Schema
 
| [[Production_(schema)|Production]]
 
 
 
|}
 
|}

Please note that all contributions to dbscript Online Help may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Project:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)