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

From dbscript Online Help
Jump to: navigation, search
Line 5: Line 5:
 
| '''Table
 
| '''Table
 
| Production.ProductListPriceHistory
 
| Production.ProductListPriceHistory
 +
|- valign="top"
 +
| '''Description
 +
| Changes in the list price of a product over time.
 
|-
 
|-
 
|}
 
|}
Line 15: Line 18:
 
| '''Nullable
 
| '''Nullable
 
| '''Default
 
| '''Default
| '''PK
+
| '''Description / PK / Index
| '''Index
 
 
 
|-
+
|- valign="top"
 
| ProductID
 
| ProductID
 
| int
 
| int
 
| not null
 
| not null
 
|  
 
|  
| PK_ProductListPriceHistory_ProductID_StartDate
+
| Product identification number. Foreign key to Product.ProductID<br />PK_ProductListPriceHistory_ProductID_StartDate
|
+
|- valign="top"
|-
 
 
| StartDate
 
| StartDate
 
| datetime
 
| datetime
 
| not null
 
| not null
 
|  
 
|  
| PK_ProductListPriceHistory_ProductID_StartDate
+
| List price start date.<br />PK_ProductListPriceHistory_ProductID_StartDate
|
+
|- valign="top"
|-
 
 
| EndDate
 
| EndDate
 
| datetime
 
| datetime
 
| null
 
| null
 
|  
 
|  
|  
+
| List price end date<br />
|
+
|- valign="top"
|-
 
 
| ListPrice
 
| ListPrice
 
| money
 
| money
 
| not null
 
| not null
 
|  
 
|  
|  
+
| Product list price.<br />
|
+
|- valign="top"
|-
 
 
| ModifiedDate
 
| ModifiedDate
 
| datetime
 
| datetime
 
| not null
 
| not null
 
| (getdate())
 
| (getdate())
|  
+
| Date and time the record was last updated.<br />
|
 
 
|}
 
|}
  
Line 68: Line 65:
 
| ProductID
 
| ProductID
 
|}
 
|}
 +
 +
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Reference Type
 +
| '''Object Type
 +
| '''Referencing Object
 +
 +
|-
 +
| Select
 +
| Function
 +
| [[dbo.ufnGetProductDealerPrice_(function)|dbo.ufnGetProductDealerPrice]]
 +
 +
|-
 +
| Select
 +
| Function
 +
| [[dbo.ufnGetProductListPrice_(function)|dbo.ufnGetProductListPrice]]
 +
 +
|}
 +
 +
 +
 
== automatically generated ==
 
== automatically generated ==
  

Revision as of 23:54, 28 December 2009

wikibot

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


Reference Type Object Type Referencing Object
Select Function dbo.ufnGetProductDealerPrice
Select Function dbo.ufnGetProductListPrice


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


Dependency Type Object Type Referenced Object
Schema Schema Production


Reference Type Object Type Referencing Object
Select Function dbo.ufnGetProductDealerPrice
Select Function dbo.ufnGetProductListPrice