Difference between revisions of "Production.UnitMeasure (table)"
| Line 12: | Line 12: | ||
| + | === 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 18: | Line 19: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
| − | | '''Description | + | | '''Description |
|- valign="top" | |- valign="top" | ||
| Line 25: | Line 26: | ||
| not null | | not null | ||
| | | | ||
| − | | Primary key. | + | | Primary key. |
|- valign="top" | |- valign="top" | ||
| Name | | Name | ||
| Line 31: | Line 32: | ||
| not null | | not null | ||
| | | | ||
| − | | Unit of measure description. | + | | Unit of measure description. |
|- valign="top" | |- valign="top" | ||
| ModifiedDate | | ModifiedDate | ||
| Line 37: | Line 38: | ||
| not null | | not null | ||
| (getdate()) | | (getdate()) | ||
| − | | Date and time the record was last updated. | + | | 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 | ||
| + | |- | ||
| + | | PK_UnitMeasure_UnitMeasureCode | ||
| + | | UnitMeasureCode | ||
| + | |} | ||
| + | === Indexes === | ||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Index | ||
| + | | '''Type | ||
| + | | '''Columns | ||
| + | |||
| + | |- | ||
| + | | AK_UnitMeasure_Name | ||
| + | | Unique | ||
| + | | Name | ||
| + | |} | ||
| + | === 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 66: | Line 89: | ||
|} | |} | ||
| − | + | === References === | |
{| 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 77: | Line 100: | ||
| Type | | Type | ||
| [[dbo.Name_(type)|dbo.Name]] | | [[dbo.Name_(type)|dbo.Name]] | ||
| + | |||
| + | |- | ||
| + | | Schema | ||
| + | | Schema | ||
| + | | [[Production_(schema)|Production]] | ||
|} | |} | ||
| + | |||
| + | |||
== wikivalues == | == wikivalues == | ||
Revision as of 23:06, 2 February 2010
Contents
wikibot
| Table | Production.UnitMeasure |
| Description | Unit of measure lookup table. |
Columns
| Column | Data Type | Nullable | Default | Description |
| UnitMeasureCode | nchar(3) | not null | Primary key. | |
| Name | dbo.Name | not null | Unit of measure description. | |
| ModifiedDate | datetime | not null | (getdate()) | Date and time the record was last updated. |
Primary Key
| Primary Key | Columns |
| PK_UnitMeasure_UnitMeasureCode | UnitMeasureCode |
Indexes
| Index | Type | Columns |
| AK_UnitMeasure_Name | Unique | Name |
Detail Tables
| Detail Table | Column | Referencing Column |
| Production.BillOfMaterials | UnitMeasureCode | UnitMeasureCode |
| Production.Product | UnitMeasureCode | SizeUnitMeasureCode |
| Production.Product | UnitMeasureCode | WeightUnitMeasureCode |
| Purchasing.ProductVendor | UnitMeasureCode | UnitMeasureCode |
References
| Dependency Type | Object Type | Referenced Object |
| Data Type | Type | dbo.Name |
| Schema | Schema | Production |
wikivalues
| Table Values | Production.UnitMeasure |
| UnitMeasureCode | Name |
| BTL | Bottle |
| BOX | Boxes |
| CAN | Canister |
| CAR | Carton |
| CS | Case |
| C | Celsius |
| CM | Centimeter |
| CTN | Container |
| CR | Crate |
| CCM | Cubic centimeter |
| CDM | Cubic decimeter |
| FT3 | Cubic foot |
| M3 | Cubic meter |
| CBM | Cubic meters |
| DM | Decimeter |
| DZ | Dozen |
| EA | Each |
| GAL | Gallon |
| G | Gram |
| IN | Inch |
| KG | Kilogram |
| KGV | Kilogram/cubic meter |
| KM | Kilometer |
| KT | Kiloton |
| L | Liter |
| M | Meter |
| MG | Milligram |
| ML | Milliliter |
| MM | Millimeter |
| OZ | Ounces |
| PAK | Pack |
| PAL | Pallet |
| PCT | Percentage |
| PC | Piece |
| PT | Pint, US liquid |
| CM2 | Square centimeter |
| M2 | Square meter |
| LB | US pound |
automatically generated
| Table | Production.UnitMeasure |
| Description | Unit of measure lookup table. |
| Column | Data Type | Nullable | Default | Description / PK / Index |
| UnitMeasureCode | nchar(3) | not null | Primary key. PK_UnitMeasure_UnitMeasureCode | |
| Name | Name | not null | Unit of measure description. AK_UnitMeasure_Name | |
| ModifiedDate | datetime | not null | (GETDATE()) | Date and time the record was last updated. |
| Detail Table | Column | Referencing Column |
| Production.BillOfMaterials | UnitMeasureCode | UnitMeasureCode |
| Production.Product | UnitMeasureCode | SizeUnitMeasureCode |
| Production.Product | UnitMeasureCode | WeightUnitMeasureCode |
| Purchasing.ProductVendor | UnitMeasureCode | UnitMeasureCode |
| Dependency Type | Object Type | Referenced Object |
| Data Type | Type | dbo.Name |
| Schema | Schema | Production |