Difference between revisions of "Production.UnitMeasure (table)"

From dbscript Online Help
Jump to: navigation, search
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.UnitMeasure
 
| Production.UnitMeasure
Line 8: Line 8:
 
| '''Description
 
| '''Description
 
| Unit of measure lookup table.
 
| Unit of measure lookup table.
|-
 
 
|}
 
|}
 
  
 
=== Columns ===
 
=== Columns ===
Line 20: Line 18:
 
| '''Default
 
| '''Default
 
| '''Description
 
| '''Description
+
 
 
|- valign="top"
 
|- valign="top"
 
| UnitMeasureCode
 
| UnitMeasureCode
Line 46: Line 44:
 
| '''Primary Key
 
| '''Primary Key
 
| '''Columns
 
| '''Columns
|-
+
|- valign="top"
 
| PK_UnitMeasure_UnitMeasureCode
 
| PK_UnitMeasure_UnitMeasureCode
 
| UnitMeasureCode
 
| UnitMeasureCode
Line 57: Line 55:
 
| '''Type
 
| '''Type
 
| '''Columns
 
| '''Columns
+
 
|-
+
|- valign="top"
 
| AK_UnitMeasure_Name
 
| AK_UnitMeasure_Name
 
| Unique
 
| Unique
Line 70: Line 68:
 
| '''Column
 
| '''Column
 
| '''Referencing Column
 
| '''Referencing Column
+
 
|-
+
|- valign="top"
 
| [[Production.BillOfMaterials_(table)|Production.BillOfMaterials]]
 
| [[Production.BillOfMaterials_(table)|Production.BillOfMaterials]]
 
| UnitMeasureCode
 
| UnitMeasureCode
 
| UnitMeasureCode
 
| UnitMeasureCode
|-
+
|- valign="top"
 
| [[Production.Product_(table)|Production.Product]]
 
| [[Production.Product_(table)|Production.Product]]
 
| UnitMeasureCode
 
| UnitMeasureCode
 
| SizeUnitMeasureCode
 
| SizeUnitMeasureCode
|-
+
|- valign="top"
 
| [[Production.Product_(table)|Production.Product]]
 
| [[Production.Product_(table)|Production.Product]]
 
| UnitMeasureCode
 
| UnitMeasureCode
 
| WeightUnitMeasureCode
 
| WeightUnitMeasureCode
|-
+
|- valign="top"
 
| [[Purchasing.ProductVendor_(table)|Purchasing.ProductVendor]]
 
| [[Purchasing.ProductVendor_(table)|Purchasing.ProductVendor]]
 
| UnitMeasureCode
 
| UnitMeasureCode
Line 96: Line 94:
 
| '''Referenced Object
 
| '''Referenced Object
  
|-
+
|- valign="top"
 
| Data Type
 
| Data Type
 
| Type
 
| Type
 
| [[dbo.Name_(type)|dbo.Name]]
 
| [[dbo.Name_(type)|dbo.Name]]
  
|-
+
|- valign="top"
 
| Schema
 
| Schema
 
| Schema
 
| Schema

Revision as of 23:17, 23 June 2010

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