Difference between revisions of "Production.ProductListPriceHistory (table)"

From dbscript Online Help
Jump to: navigation, search
Line 96: Line 96:
 
| not null
 
| not null
 
|  
 
|  
| Product identification number. Foreign key to Product.ProductIDPK_ProductListPriceHistory_ProductID_StartDate
+
| Product identification number. Foreign key to Product.ProductID<br />PK_ProductListPriceHistory_ProductID_StartDate
 
|- valign="top"
 
|- valign="top"
 
| StartDate
 
| StartDate
Line 102: Line 102:
 
| not null
 
| not null
 
|  
 
|  
| List price start date.PK_ProductListPriceHistory_ProductID_StartDate
+
| List price start date.<br />PK_ProductListPriceHistory_ProductID_StartDate
 
|- valign="top"
 
|- valign="top"
 
| EndDate
 
| EndDate
Line 108: Line 108:
 
| null
 
| null
 
|  
 
|  
| List price end date
+
| List price end date<br />
 
|- valign="top"
 
|- valign="top"
 
| ListPrice
 
| ListPrice
Line 114: Line 114:
 
| not null
 
| not null
 
|  
 
|  
| Product list price.
+
| Product list price.<br />
 
|- valign="top"
 
|- valign="top"
 
| ModifiedDate
 
| ModifiedDate
Line 120: Line 120:
 
| not null
 
| not null
 
| (GETDATE())
 
| (GETDATE())
| Date and time the record was last updated.
+
| Date and time the record was last updated.<br />
 
|}
 
|}
  

Revision as of 01:10, 27 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.ProductID
PK_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