|
<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > InvProductCost Table |
Navigation: iVend Database Database > Tables >
iVend 6.6 Database Help
InvProductCost Table
Collapse All Expand All
iVend Database Database : InvProductCost Table |
Description
Store the historical cost of the product.
Properties
Creation Date |
4/13/2015 12:00 PM |
File Group |
PRIMARY |
Text File Group |
|
System Object |
|
Published for Replication |
|
Rows |
0 |
Data Space Used |
0.00 KB |
Index Space Used |
0.00 KB |
Columns
|
Column Name |
Description |
Datatype |
Length |
Allow Nulls |
Default |
Formula |
|
ProductCostKey |
Primary key for the table |
VarWChar |
50 |
|
|
|
|
InventoryItemKey |
Reference key for the Inventory item |
VarWChar |
50 |
|
|
|
|
EffectiveDate |
Value is the date from which the product cost will get effective |
DBTimeStamp |
4 |
|
|
|
|
Cost |
Value is the cost of the product |
Numeric |
9 (20,5) |
|
|
|
|
ProductKey |
Reference key for the product |
VarWChar |
50 |
|
|
|
|
WarehouseKey |
Reference key for the warehouse |
VarWChar |
50 |
|
|
|
|
Created |
Date of creation of this record |
DBTimeStamp |
4 |
|
|
|
|
Modified |
Date of last modification of this record |
DBTimeStamp |
4 |
|
|
|
|
CreatedBy |
Reference of user who has created this record. See also Security User |
VarWChar |
50 |
|
|
|
|
ModifiedBy |
Reference of user who has modified this record. See also Security User |
VarWChar |
50 |
|
|
|
|
IsDeleted |
Value is True if the record has been deleted from the system. Record is always Soft Deleted |
Boolean |
1 |
|
((0)) |
|
|
SubsidiaryKey |
Reference key of the Subsidiary. See also Subsidiary |
VarWChar |
50 |
|
((0)) |
|
Indexes
Index |
Description |
Primary |
Unique |
|
|
|
Objects that depend on InvProductCost
|
Database Object |
Object Type |
Description |
Dep Level |
|
Stored Procedure |
|
1 |
|
|
User Defined Function |
|
1 |
|
|
User Defined Function |
|
1 |
|
|
Stored Procedure |
|
1 |
|
|
View |
|
1 |
|
|
View |
|
1 |
|
|
View |
|
1 |
SQL
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [dbo].[InvProductCost]( [ProductCostKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [InventoryItemKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [EffectiveDate] [datetime] NOT NULL, [Cost] [numeric](20, 5) NOT NULL, [ProductKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [WarehouseKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Created] [datetime] NOT NULL, [Modified] [datetime] NULL, [CreatedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [ModifiedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [IsDeleted] [bit] NOT NULL, [SubsidiaryKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, CONSTRAINT [PK_InvProductCost] PRIMARY KEY CLUSTERED ( [ProductCostKey] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] ALTER TABLE [dbo].[InvProductCost] ADD CONSTRAINT [DF_InvProductCost_IsDeleted] DEFAULT ((0)) FOR [IsDeleted] ALTER TABLE [dbo].[InvProductCost] ADD CONSTRAINT [DF__InvProduc__Subsi__7C9A5A9E] DEFAULT ((0)) FOR [SubsidiaryKey] |
See Also
© 2019 All Rights Reserved.
Send comments on this topic.