Editing Sales.SpecialOffer (table)
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
− | |- | + | |- |
| '''Table | | '''Table | ||
| Sales.SpecialOffer | | Sales.SpecialOffer | ||
− | |- | + | |- |
− | |||
− | |||
|} | |} | ||
− | + | ||
{| 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 17: | Line 15: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
− | | ''' | + | | '''PK |
− | + | | '''Index | |
− | |- | + | |
+ | |- | ||
| SpecialOfferID | | SpecialOfferID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
− | | | + | | PK_SpecialOffer_SpecialOfferID |
− | |- | + | | |
+ | |- | ||
| Description | | Description | ||
| nvarchar(255) | | nvarchar(255) | ||
| not null | | not null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| DiscountPct | | DiscountPct | ||
| smallmoney | | smallmoney | ||
| not null | | not null | ||
| ((0.00)) | | ((0.00)) | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| Type | | Type | ||
| nvarchar(50) | | nvarchar(50) | ||
| not null | | not null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| Category | | Category | ||
| nvarchar(50) | | nvarchar(50) | ||
| not null | | not null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| StartDate | | StartDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| EndDate | | EndDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| MinQty | | MinQty | ||
| int | | int | ||
| not null | | not null | ||
| ((0)) | | ((0)) | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| MaxQty | | MaxQty | ||
| int | | int | ||
| null | | null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| rowguid | | rowguid | ||
| uniqueidentifier | | uniqueidentifier | ||
| not null | | not null | ||
| (newid()) | | (newid()) | ||
− | | | + | | |
− | |- | + | | AK_SpecialOffer_rowguid |
+ | |- | ||
| ModifiedDate | | ModifiedDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| (getdate()) | | (getdate()) | ||
− | | | + | | |
+ | | | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{| 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 141: | Line 104: | ||
| '''Column | | '''Column | ||
| '''Referencing Column | | '''Referencing Column | ||
− | + | ||
− | |- | + | |- |
| [[Sales.SpecialOfferProduct_(table)|Sales.SpecialOfferProduct]] | | [[Sales.SpecialOfferProduct_(table)|Sales.SpecialOfferProduct]] | ||
| SpecialOfferID | | SpecialOfferID | ||
| SpecialOfferID | | SpecialOfferID | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== automatically generated == | == automatically generated == | ||
Line 169: | Line 116: | ||
| '''Table | | '''Table | ||
| Sales.SpecialOffer | | Sales.SpecialOffer | ||
− | |- | + | |- |
+ | |||
| '''Description | | '''Description | ||
| Sale discounts lookup table. | | Sale discounts lookup table. | ||
|- | |- | ||
+ | |||
|} | |} | ||
Line 189: | Line 138: | ||
| not null | | not null | ||
| | | | ||
− | | Primary key for SpecialOffer records. | + | | Primary key for SpecialOffer records.PK_SpecialOffer_SpecialOfferID |
|- valign="top" | |- valign="top" | ||
| Description | | Description | ||
Line 195: | Line 144: | ||
| not null | | not null | ||
| | | | ||
− | | Discount description. | + | | Discount description. |
|- valign="top" | |- valign="top" | ||
| DiscountPct | | DiscountPct | ||
Line 201: | Line 150: | ||
| not null | | not null | ||
| (0.00) | | (0.00) | ||
− | | Discount precentage. | + | | Discount precentage. |
|- valign="top" | |- valign="top" | ||
| Type | | Type | ||
Line 207: | Line 156: | ||
| not null | | not null | ||
| | | | ||
− | | Discount type category. | + | | Discount type category. |
|- valign="top" | |- valign="top" | ||
| Category | | Category | ||
Line 213: | Line 162: | ||
| not null | | not null | ||
| | | | ||
− | | Group the discount applies to such as Reseller or Customer. | + | | Group the discount applies to such as Reseller or Customer. |
|- valign="top" | |- valign="top" | ||
| StartDate | | StartDate | ||
Line 219: | Line 168: | ||
| not null | | not null | ||
| | | | ||
− | | Discount start date. | + | | Discount start date. |
|- valign="top" | |- valign="top" | ||
| EndDate | | EndDate | ||
Line 225: | Line 174: | ||
| not null | | not null | ||
| | | | ||
− | | Discount end date. | + | | Discount end date. |
|- valign="top" | |- valign="top" | ||
| MinQty | | MinQty | ||
Line 231: | Line 180: | ||
| not null | | not null | ||
| (0) | | (0) | ||
− | | Minimum discount percent allowed. | + | | Minimum discount percent allowed. |
|- valign="top" | |- valign="top" | ||
| MaxQty | | MaxQty | ||
Line 237: | Line 186: | ||
| null | | null | ||
| | | | ||
− | | Maximum discount percent allowed. | + | | Maximum discount percent allowed. |
|- valign="top" | |- valign="top" | ||
| rowguid | | rowguid | ||
Line 243: | Line 192: | ||
| not null | | not null | ||
| (NEWID()) | | (NEWID()) | ||
− | | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample. | + | | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.AK_SpecialOffer_rowguid |
|- valign="top" | |- valign="top" | ||
| ModifiedDate | | ModifiedDate | ||
Line 249: | Line 198: | ||
| not null | | not null | ||
| (GETDATE()) | | (GETDATE()) | ||
− | | Date and time the record was last updated. | + | | Date and time the record was last updated. |
|} | |} | ||
Line 264: | Line 213: | ||
| SpecialOfferID | | SpecialOfferID | ||
| SpecialOfferID | | SpecialOfferID | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} |