Difference between revisions of "Sales.SalesReason (table)"
| Line 124: | Line 124: | ||
| Sales.SalesReason | | Sales.SalesReason | ||
|- valign="top" | |- valign="top" | ||
| − | |||
| '''Description | | '''Description | ||
| Lookup table of customer purchase reasons. | | Lookup table of customer purchase reasons. | ||
|- | |- | ||
| − | |||
|} | |} | ||
Revision as of 07:00, 30 November 2009
wikibot
| Table | Sales.SalesReason |
| Column | Data Type | Nullable | Default | PK | Index |
| SalesReasonID | int | not null | PK_SalesReason_SalesReasonID | ||
| Name | dbo.Name | not null | |||
| ReasonType | dbo.Name | not null | |||
| ModifiedDate | datetime | not null | (getdate()) |
| Detail Table | Column | Referencing Column |
| Sales.SalesOrderHeaderSalesReason | SalesReasonID | SalesReasonID |
wikivalues
| Table Values | Sales.SalesReason |
| SalesReasonID | Name | ReasonType |
| 1 | Price | Other |
| 2 | On Promotion | Promotion |
| 3 | Magazine Advertisement | Marketing |
| 4 | Television Advertisement | Marketing |
| 5 | Manufacturer | Other |
| 6 | Review | Other |
| 7 | Demo Event | Marketing |
| 8 | Sponsorship | Marketing |
| 9 | Quality | Other |
| 10 | Other | Other |
automatically generated
| Table | Sales.SalesReason |
| Description | Lookup table of customer purchase reasons. |
| Column | Data Type | Nullable | Default | Description / PK / Index |
| SalesReasonID | int | not null | Primary key for SalesReason records. PK_SalesReason_SalesReasonID | |
| Name | Name | not null | Sales reason description. | |
| ReasonType | Name | not null | Category the sales reason belongs to. | |
| ModifiedDate | datetime | not null | (GETDATE()) | Date and time the record was last updated. |
| Detail Table | Column | Referencing Column |
| Sales.SalesOrderHeaderSalesReason | SalesReasonID | SalesReasonID |
| Dependency Type | Object Type | Referenced Object |
| Data Type | Type | dbo.Name |
| Schema | Schema | Sales |