Welcome Guest, you are in: Login

devio dbscript ScrewTurn Wiki

RSS RSS

Navigation





Search the wiki
»

PoweredBy

Page History: Purchasing Vendor (table)

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: 2010/01/09 18:05


wikibot

TablePurchasing.Vendor
DescriptionCompanies from whom Adventure Works Cycles purchases parts or other goods.

ColumnData TypeNullableDefaultDescription / PK / Index
VendorIDintnot null Primary key for Vendor records.
PK_Vendor_VendorID
AccountNumberdbo.AccountNumbernot null Vendor account (identification) number.
AK_Vendor_AccountNumber
Namedbo.Namenot null Company name.
CreditRatingtinyintnot null 1 = Superior, 2 = Excellent, 3 = Above average, 4 = Average, 5 = Below average
PreferredVendorStatusdbo.Flagnot null((1))0 = Do not use if another vendor is available. 1 = Preferred over other vendors supplying the same product.
ActiveFlagdbo.Flagnot null((1))0 = Vendor no longer used. 1 = Vendor is actively used.
PurchasingWebServiceURLnvarchar(1024)null Vendor URL.
ModifiedDatedatetimenot null(getdate())Date and time the record was last updated.



Detail TableColumnReferencing Column
Purchasing.ProductVendorVendorIDVendorID
Purchasing.PurchaseOrderHeaderVendorIDVendorID
Purchasing.VendorAddressVendorIDVendorID
Purchasing.VendorContactVendorIDVendorID

TriggersType
dVendorINSTEAD OF DELETE

Dependency TypeObject TypeReferenced ObjectChild TypeChild Object
Data TypeTypedbo.AccountNumber
Data TypeTypedbo.Flag
Data TypeTypedbo.Name
ExecuteProceduredbo.uspLogErrorTriggerdVendor
ExecuteProceduredbo.uspPrintErrorTriggerdVendor

Reference TypeObject TypeReferencing Object
SelectViewPurchasing.vVendor

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam.