Production.ProductCostHistory (table)

From dbscript Online Help
Revision as of 23:54, 28 December 2009 by Bot (talk | contribs)
Jump to: navigation, search

wikibot

Table Production.ProductCostHistory
Description Changes in the cost 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_ProductCostHistory_ProductID_StartDate
StartDate datetime not null Product cost start date.
PK_ProductCostHistory_ProductID_StartDate
EndDate datetime null Product cost end date.
StandardCost money not null Standard cost of the product.
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.ufnGetProductStandardCost


automatically generated

Table Production.ProductCostHistory
Description Changes in the cost 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_ProductCostHistory_ProductID_StartDate
StartDate datetime not null Product cost start date.
PK_ProductCostHistory_ProductID_StartDate
EndDate datetime null Product cost end date.
StandardCost money not null Standard cost of the product.
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.ufnGetProductStandardCost