Difference between revisions of "Purchasing.VendorAddress (table)"
| (4 intermediate revisions by the same user not shown) | |||
| 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 | ||
| Purchasing.VendorAddress | | Purchasing.VendorAddress | ||
| − | |- | + | |- valign="top" |
| + | | '''Description | ||
| + | | Cross-reference mapping vendors and addresses. | ||
|} | |} | ||
| − | + | === 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 15: | Line 17: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
| − | | ''' | + | | '''Description |
| − | + | ||
| − | + | |- valign="top" | |
| − | |- | ||
| VendorID | | VendorID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
| − | | | + | | Primary key. Foreign key to Vendor.VendorID. |
| − | + | |- valign="top" | |
| − | |- | ||
| AddressID | | AddressID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
| − | | | + | | Primary key. Foreign key to Address.AddressID. |
| − | + | |- valign="top" | |
| − | |- | ||
| AddressTypeID | | AddressTypeID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
| − | | | + | | Address type. Foreign key to AddressType.AddressTypeID. |
| − | + | |- valign="top" | |
| − | |- | ||
| ModifiedDate | | ModifiedDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| (getdate()) | | (getdate()) | ||
| − | | | + | | 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 | ||
| + | |- valign="top" | ||
| + | | PK_VendorAddress_VendorID_AddressID | ||
| + | | VendorID, AddressID | ||
| + | |} | ||
| + | === Indexes === | ||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Index | ||
| + | | '''Type | ||
| + | | '''Columns | ||
| + | |- valign="top" | ||
| + | | IX_VendorAddress_AddressID | ||
| + | | | ||
| + | | AddressID | ||
| + | |} | ||
| + | |||
| + | === Foreign Keys === | ||
{| 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 55: | Line 74: | ||
| '''Column | | '''Column | ||
| '''Referenced Column | | '''Referenced Column | ||
| − | + | ||
| − | |- | + | |- valign="top" |
| [[Person.Address_(table)|Person.Address]] | | [[Person.Address_(table)|Person.Address]] | ||
| AddressID | | AddressID | ||
| AddressID | | AddressID | ||
| − | |- | + | |- valign="top" |
| [[Person.AddressType_(table)|Person.AddressType]] | | [[Person.AddressType_(table)|Person.AddressType]] | ||
| AddressTypeID | | AddressTypeID | ||
| AddressTypeID | | AddressTypeID | ||
| − | |- | + | |- valign="top" |
| [[Purchasing.Vendor_(table)|Purchasing.Vendor]] | | [[Purchasing.Vendor_(table)|Purchasing.Vendor]] | ||
| VendorID | | VendorID | ||
| VendorID | | VendorID | ||
|} | |} | ||
| + | |||
| + | === References === | ||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Dependency Type | ||
| + | | '''Object Type | ||
| + | | '''Referenced Object | ||
| + | |||
| + | |- valign="top" | ||
| + | | Schema | ||
| + | | Schema | ||
| + | | [[Purchasing_(schema)|Purchasing]] | ||
| + | |||
| + | |} | ||
| + | |||
| + | === Dependencies === | ||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Reference Type | ||
| + | | '''Object Type | ||
| + | | '''Referencing Object | ||
| + | |||
| + | |- valign="top" | ||
| + | | Select | ||
| + | | View | ||
| + | | [[Purchasing.vVendor_(view)|Purchasing.vVendor]] | ||
| + | |||
| + | |} | ||
| + | |||
| + | |||
== automatically generated == | == automatically generated == | ||
| Line 76: | Line 125: | ||
| Purchasing.VendorAddress | | Purchasing.VendorAddress | ||
|- valign="top" | |- valign="top" | ||
| − | |||
| '''Description | | '''Description | ||
| Cross-reference mapping vendors and addresses. | | Cross-reference mapping vendors and addresses. | ||
|- | |- | ||
| − | |||
|} | |} | ||
| Line 143: | Line 190: | ||
{| 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 | ||
| − | |||
| − | |||
|- | |- | ||
| − | |||
| Schema | | Schema | ||
| Schema | | Schema | ||
| + | | [[Purchasing_(schema)|Purchasing]] | ||
| + | |||
|} | |} | ||
| Line 156: | Line 204: | ||
{| 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]] | ||
| − | + | ||
| − | |||
|} | |} | ||
Latest revision as of 23:17, 23 June 2010
Contents
wikibot[edit]
| Table | Purchasing.VendorAddress |
| Description | Cross-reference mapping vendors and addresses. |
Columns[edit]
| Column | Data Type | Nullable | Default | Description |
| VendorID | int | not null | Primary key. Foreign key to Vendor.VendorID. | |
| AddressID | int | not null | Primary key. Foreign key to Address.AddressID. | |
| AddressTypeID | int | not null | Address type. Foreign key to AddressType.AddressTypeID. | |
| ModifiedDate | datetime | not null | (getdate()) | Date and time the record was last updated. |
Primary Key[edit]
| Primary Key | Columns |
| PK_VendorAddress_VendorID_AddressID | VendorID, AddressID |
Indexes[edit]
| Index | Type | Columns |
| IX_VendorAddress_AddressID | AddressID |
Foreign Keys[edit]
| Relation | Column | Referenced Column |
| Person.Address | AddressID | AddressID |
| Person.AddressType | AddressTypeID | AddressTypeID |
| Purchasing.Vendor | VendorID | VendorID |
References[edit]
| Dependency Type | Object Type | Referenced Object |
| Schema | Schema | Purchasing |
Dependencies[edit]
| Reference Type | Object Type | Referencing Object |
| Select | View | Purchasing.vVendor |
automatically generated[edit]
| Table | Purchasing.VendorAddress |
| Description | Cross-reference mapping vendors and addresses. |
| Column | Data Type | Nullable | Default | Description / PK / Index |
| VendorID | int | not null | Primary key. Foreign key to Vendor.VendorID. PK_VendorAddress_VendorID_AddressID | |
| AddressID | int | not null | Primary key. Foreign key to Address.AddressID. PK_VendorAddress_VendorID_AddressIDIX_VendorAddress_AddressID | |
| AddressTypeID | int | not null | Address type. Foreign key to AddressType.AddressTypeID. | |
| ModifiedDate | datetime | not null | (GETDATE()) | Date and time the record was last updated. |
| Relation | Column | Referenced Column |
| Person.Address | AddressID | AddressID |
| Person.AddressType | AddressTypeID | AddressTypeID |
| Purchasing.Vendor | VendorID | VendorID |
| Dependency Type | Object Type | Referenced Object |
| Schema | Schema | Purchasing |
| Reference Type | Object Type | Referencing Object |
| Select | View | Purchasing.vVendor |