Difference between revisions of "Sales.SalesReason (table)"
Line 117: | Line 117: | ||
| Other | | Other | ||
|} | |} | ||
− | |||
== automatically generated == | == automatically generated == | ||
Line 139: | Line 138: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
− | | '''Description | + | | '''Description / PK / Index |
− | |||
− | |- | + | |- valign="top" |
| SalesReasonID | | SalesReasonID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
− | | Primary key for SalesReason records. | + | | Primary key for SalesReason records.PK_SalesReason_SalesReasonID |
− | + | |- valign="top" | |
− | |- | ||
| Name | | Name | ||
| Name | | Name | ||
Line 155: | Line 152: | ||
| | | | ||
| Sales reason description. | | Sales reason description. | ||
− | + | |- valign="top" | |
− | |- | ||
| ReasonType | | ReasonType | ||
| Name | | Name | ||
Line 162: | Line 158: | ||
| | | | ||
| Category the sales reason belongs to. | | Category the sales reason belongs to. | ||
− | + | |- valign="top" | |
− | |- | ||
| ModifiedDate | | ModifiedDate | ||
| datetime | | datetime | ||
Line 169: | Line 164: | ||
| (GETDATE()) | | (GETDATE()) | ||
| Date and time the record was last updated. | | Date and time the record was last updated. | ||
− | |||
|} | |} | ||
Line 184: | Line 178: | ||
| SalesReasonID | | SalesReasonID | ||
| SalesReasonID | | SalesReasonID | ||
+ | |} | ||
+ | |||
+ | |||
+ | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
+ | |- style="background:silver" | ||
+ | | '''Referenced Object | ||
+ | | '''Object Type | ||
+ | | '''Dependency Type | ||
+ | |||
+ | |- | ||
+ | | [[dbo.Name_(type)|dbo.Name]] | ||
+ | | Type | ||
+ | | Data Type | ||
|} | |} |
Revision as of 00:58, 27 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 |
Referenced Object | Object Type | Dependency Type |
dbo.Name | Type | Data Type |