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

From dbscript Online Help
Jump to: navigation, search
Line 140: Line 140:
 
{| 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"
 +
| '''Dependency Type
 +
| '''Object Type
 
| '''Referenced Object
 
| '''Referenced Object
| '''Object Type
 
| '''Dependency Type
 
  
 
|-
 
|-
| [[.Production_(schema)|.Production]]
 
 
| Schema
 
| Schema
 
| Schema
 
| Schema
 +
| [[Production_(schema)|Production]]
 +
 
|}
 
|}
  
Line 153: Line 154:
 
{| 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"
 +
| '''Reference Type
 +
| '''Object Type
 
| '''Referencing Object
 
| '''Referencing Object
| '''Object Type
 
| '''Reference Type
 
  
 
|-
 
|-
 +
| Select
 +
| Function
 
| [[dbo.ufnGetProductDealerPrice_(function)|dbo.ufnGetProductDealerPrice]]
 
| [[dbo.ufnGetProductDealerPrice_(function)|dbo.ufnGetProductDealerPrice]]
 +
 +
|-
 +
| Select
 
| Function
 
| Function
| Select
 
|-
 
 
| [[dbo.ufnGetProductListPrice_(function)|dbo.ufnGetProductListPrice]]
 
| [[dbo.ufnGetProductListPrice_(function)|dbo.ufnGetProductListPrice]]
| Function
+
 
| Select
 
 
|}
 
|}

Revision as of 07:35, 30 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


Dependency Type Object Type Referenced Object
Schema Schema Production


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