Purchasing.ProductVendor Table

Information

NameProductVendor
SchemaPurchasing
Row Count406
Data Size32 KB
Index Size48 KB
Reserved Size80 KB
Unused Size0 KB
Created14.10.2005 1:58:35
Modified14.10.2005 1:59:54

Extended Properties

NameTypeProperty NameValue
ProductVendorTABLEMS_DescriptionCross-reference table mapping vendors with the products they supply.

Columns

PKKeyIdentityNameData TypeAllow NullsCollationReferencesDefaultComputedCompute Expression
   ProductIDint  Production.Product.ProductID
 
 
 
   VendorIDint  Purchasing.Vendor.VendorID
 
 
 
   AverageLeadTimeint   
 
 
 
   StandardPricemoney   
 
 
 
   LastReceiptCostmoney   
 
 
 
   LastReceiptDatedatetime   
 
 
 
   MinOrderQtyint   
 
 
 
   MaxOrderQtyint   
 
 
 
   OnOrderQtyint   
 
 
 
   UnitMeasureCodenchar(6) SQL_Latin1_General_CP1_CI_ASProduction.UnitMeasure.UnitMeasureCode
 
 
 
   ModifiedDatedatetime   
(getdate())
 
 

Indexes

NameTypePrimaryUniqueColumns
PK_ProductVendor_ProductID_VendorIDClustered  ProductID, VendorID
IX_ProductVendor_UnitMeasureCodeNonClustered  UnitMeasureCode
IX_ProductVendor_VendorIDNonClustered  VendorID

Check Constraints

NameColumnEnabledTrustedExpression
CK_ProductVendor_AverageLeadTimeAverageLeadTime  ([AverageLeadTime]>=(1))
CK_ProductVendor_StandardPriceStandardPrice  ([StandardPrice]>(0.00))
CK_ProductVendor_LastReceiptCostLastReceiptCost  ([LastReceiptCost]>(0.00))
CK_ProductVendor_MinOrderQtyMinOrderQty  ([MinOrderQty]>=(1))
CK_ProductVendor_MaxOrderQtyMaxOrderQty  ([MaxOrderQty]>=(1))
CK_ProductVendor_OnOrderQtyOnOrderQty  ([OnOrderQty]>=(0))

Foreign Key Constraints

NameTypeReferenced Table
FK_ProductVendor_Product_ProductIDForeign keyProduction.Product
FK_ProductVendor_UnitMeasure_UnitMeasureCodeForeign keyProduction.UnitMeasure
FK_ProductVendor_Vendor_VendorIDForeign keyPurchasing.Vendor

Triggers

NameActivates onInstead OfFor ReplicationEnabledCreatedModified
Purchasing.uProductVendorUPDATE   14.10.2005 1:59:5414.10.2005 1:59:54