Difference between revisions of "Production.ProductListPriceHistory (table)"
| Line 68: | Line 68: | ||
| ProductID | | ProductID | ||
|} | |} | ||
| − | |||
== automatically generated == | == automatically generated == | ||
| Line 90: | Line 89: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
| − | | '''Description | + | | '''Description / PK / Index |
| − | |||
| − | |- | + | |- valign="top" |
| ProductID | | ProductID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
| − | | Product identification number. Foreign key to Product. | + | | Product identification number. Foreign key to Product.ProductIDPK_ProductListPriceHistory_ProductID_StartDate |
| − | + | |- valign="top" | |
| − | |- | ||
| StartDate | | StartDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| | | | ||
| − | | List price start date. | + | | List price start date.PK_ProductListPriceHistory_ProductID_StartDate |
| − | + | |- valign="top" | |
| − | |- | ||
| EndDate | | EndDate | ||
| datetime | | datetime | ||
| Line 113: | Line 109: | ||
| | | | ||
| List price end date | | List price end date | ||
| − | + | |- valign="top" | |
| − | |- | ||
| ListPrice | | ListPrice | ||
| money | | money | ||
| Line 120: | Line 115: | ||
| | | | ||
| Product list price. | | Product list price. | ||
| − | + | |- valign="top" | |
| − | |- | ||
| ModifiedDate | | ModifiedDate | ||
| datetime | | datetime | ||
| Line 127: | Line 121: | ||
| (GETDATE()) | | (GETDATE()) | ||
| Date and time the record was last updated. | | Date and time the record was last updated. | ||
| − | |||
|} | |} | ||
| Line 142: | Line 135: | ||
| ProductID | | ProductID | ||
| ProductID | | ProductID | ||
| + | |} | ||
| + | |||
| + | |||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Referencing Object | ||
| + | | '''Object Type | ||
| + | | '''Reference Type | ||
| + | |||
| + | |- | ||
| + | | [[dbo.ufnGetProductDealerPrice_(function)|dbo.ufnGetProductDealerPrice]] | ||
| + | | Function | ||
| + | | Select | ||
| + | |- | ||
| + | | [[dbo.ufnGetProductListPrice_(function)|dbo.ufnGetProductListPrice]] | ||
| + | | Function | ||
| + | | Select | ||
|} | |} | ||
Revision as of 23:57, 26 November 2009
wikibot
| Table | Production.ProductListPriceHistory |
| Column | Data Type | Nullable | Default | PK | Index |
| ProductID | int | not null | PK_ProductListPriceHistory_ProductID_StartDate | ||
| StartDate | datetime | not null | PK_ProductListPriceHistory_ProductID_StartDate | ||
| EndDate | datetime | null | |||
| ListPrice | money | not null | |||
| ModifiedDate | datetime | not null | (getdate()) |
| Relation | Column | Referenced Column |
| Production.Product | ProductID | ProductID |
automatically generated
| Table | Production.ProductListPriceHistory |
| Description | Changes in the list price of a product over time. |
| Column | Data Type | Nullable | Default | Description / PK / Index |
| ProductID | int | not null | Product identification number. Foreign key to Product.ProductIDPK_ProductListPriceHistory_ProductID_StartDate | |
| StartDate | datetime | not null | List price start date.PK_ProductListPriceHistory_ProductID_StartDate | |
| EndDate | datetime | null | List price end date | |
| ListPrice | money | not null | Product list price. | |
| ModifiedDate | datetime | not null | (GETDATE()) | Date and time the record was last updated. |
| Relation | Column | Referenced Column |
| Production.Product | ProductID | ProductID |
| Referencing Object | Object Type | Reference Type |
| dbo.ufnGetProductDealerPrice | Function | Select |
| dbo.ufnGetProductListPrice | Function | Select |