Difference between revisions of "Purchasing.Vendor (table)"
Line 225: | Line 225: | ||
{| 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" | ||
+ | | '''Dependency Type | ||
+ | | '''Object Type | ||
| '''Referenced Object | | '''Referenced Object | ||
− | | ''' | + | |
− | | ''' | + | | '''Child Type |
+ | | '''Child Object | ||
|- | |- | ||
+ | | Data Type | ||
+ | | Type | ||
| [[dbo.AccountNumber_(type)|dbo.AccountNumber]] | | [[dbo.AccountNumber_(type)|dbo.AccountNumber]] | ||
+ | |||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | Data Type | ||
| Type | | Type | ||
+ | | [[dbo.Flag_(type)|dbo.Flag]] | ||
+ | |||
+ | | | ||
+ | | | ||
+ | |- | ||
| Data Type | | Data Type | ||
− | |||
− | |||
| Type | | Type | ||
− | |||
− | |||
| [[dbo.Name_(type)|dbo.Name]] | | [[dbo.Name_(type)|dbo.Name]] | ||
− | | | + | |
− | | | + | | |
+ | | | ||
|- | |- | ||
− | |||
| Schema | | Schema | ||
| Schema | | Schema | ||
+ | | [[Purchasing_(schema)|Purchasing]] | ||
+ | |||
+ | | | ||
+ | | | ||
|- | |- | ||
+ | | Execute | ||
+ | | Procedure | ||
| [[dbo.uspLogError_(procedure)|dbo.uspLogError]] | | [[dbo.uspLogError_(procedure)|dbo.uspLogError]] | ||
− | + | ||
− | |||
| Trigger | | Trigger | ||
| dVendor | | dVendor | ||
|- | |- | ||
+ | | Execute | ||
+ | | Procedure | ||
| [[dbo.uspPrintError_(procedure)|dbo.uspPrintError]] | | [[dbo.uspPrintError_(procedure)|dbo.uspPrintError]] | ||
− | + | ||
− | |||
| Trigger | | Trigger | ||
| dVendor | | dVendor | ||
Line 262: | Line 279: | ||
{| 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" | ||
+ | | '''Reference Type | ||
+ | | '''Object Type | ||
| '''Referencing Object | | '''Referencing Object | ||
− | |||
− | |||
|- | |- | ||
+ | | Select | ||
+ | | View | ||
| [[Purchasing.vVendor_(view)|Purchasing.vVendor]] | | [[Purchasing.vVendor_(view)|Purchasing.vVendor]] | ||
− | + | ||
− | |||
|} | |} |
Revision as of 07:35, 30 November 2009
wikibot
Table | Purchasing.Vendor |
Column | Data Type | Nullable | Default | PK | Index |
VendorID | int | not null | PK_Vendor_VendorID | ||
AccountNumber | dbo.AccountNumber | not null | AK_Vendor_AccountNumber | ||
Name | dbo.Name | not null | |||
CreditRating | tinyint | not null | |||
PreferredVendorStatus | dbo.Flag | not null | ((1)) | ||
ActiveFlag | dbo.Flag | not null | ((1)) | ||
PurchasingWebServiceURL | nvarchar(1024) | null | |||
ModifiedDate | datetime | not null | (getdate()) |
Detail Table | Column | Referencing Column |
Purchasing.ProductVendor | VendorID | VendorID |
Purchasing.PurchaseOrderHeader | VendorID | VendorID |
Purchasing.VendorAddress | VendorID | VendorID |
Purchasing.VendorContact | VendorID | VendorID |
Triggers | Type |
dVendor | INSTEAD OF DELETE |
automatically generated
Table | Purchasing.Vendor |
Description | Companies from whom Adventure Works Cycles purchases parts or other goods. |
Column | Data Type | Nullable | Default | Description / PK / Index |
VendorID | int | not null | Primary key for Vendor records. PK_Vendor_VendorID | |
AccountNumber | AccountNumber | not null | Vendor account (identification) number. AK_Vendor_AccountNumber | |
Name | Name | not null | Company name. | |
CreditRating | tinyint | not null | 1 = Superior, 2 = Excellent, 3 = Above average, 4 = Average, 5 = Below average | |
PreferredVendorStatus | Flag | not null | (1) | 0 = Do not use if another vendor is available. 1 = Preferred over other vendors supplying the same product. |
ActiveFlag | Flag | not null | (1) | 0 = Vendor no longer used. 1 = Vendor is actively used. |
PurchasingWebServiceURL | nvarchar(1024) | null | Vendor URL. | |
ModifiedDate | datetime | not null | (GETDATE()) | Date and time the record was last updated. |
Detail Table | Column | Referencing Column |
Purchasing.ProductVendor | VendorID | VendorID |
Purchasing.PurchaseOrderHeader | VendorID | VendorID |
Purchasing.VendorAddress | VendorID | VendorID |
Purchasing.VendorContact | VendorID | VendorID |
Triggers | Type |
dVendor | INSTEAD OF DELETE |
Dependency Type | Object Type | Referenced Object | Child Type | Child Object |
Data Type | Type | dbo.AccountNumber | ||
Data Type | Type | dbo.Flag | ||
Data Type | Type | dbo.Name | ||
Schema | Schema | Purchasing | ||
Execute | Procedure | dbo.uspLogError | Trigger | dVendor |
Execute | Procedure | dbo.uspPrintError | Trigger | dVendor |
Reference Type | Object Type | Referencing Object |
Select | View | Purchasing.vVendor |