<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > InvInventoryRevaluationDetail Table |
Navigation: iVend Database Database > Tables >
iVend 6.6 Database Help
InvInventoryRevaluationDetail Table
Collapse All Expand All
iVend Database Database : InvInventoryRevaluationDetail Table |
Description
Specifies the details for the Inventroy revaluation
Properties
Creation Date |
4/13/2015 12:00 PM |
File Group |
PRIMARY |
Text File Group |
PRIMARY |
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 |
InventoryRevaluationDetailKey |
system generated Primary key of the table. |
VarWChar |
50 |
|
|
|
|
|
InventoryRevaluationKey |
Reference key of inventory revaluation |
VarWChar |
50 |
|
|
|
|
ProductKey |
Reference key of product |
VarWChar |
50 |
|
|
|
|
WarehouseKey |
Reference Key of Warehouse. See also Warehouse. |
VarWChar |
50 |
|
|
|
|
InStockQuantity |
Value is the quantity of batch in stock. |
Integer |
4 |
|
((0)) |
|
|
AvailableQuantity |
Specifies available quantity. |
Integer |
4 |
|
((0)) |
|
|
CurrentCost |
Value is the current cost of the item |
Numeric |
9 (20,5) |
|
((0)) |
|
|
UpdatedCost |
Value when the cost of an item is updated from Inventory Revaluation View |
Numeric |
9 (20,5) |
|
((0)) |
|
|
ReasonCodeKey |
Reference key of reason code. |
VarWChar |
50 |
|
((0)) |
|
|
CommentKey |
Reference key of comment |
VarWChar |
50 |
((0)) |
|
|
|
CreatedBy |
Reference of user who has created this record. See also Security User |
VarWChar |
50 |
|
|
|
|
Created |
Date of creation of this record |
DBTimeStamp |
4 |
|
|
|
|
ModifiedBy |
Reference of user who has modified this record. See also Security User |
VarWChar |
50 |
|
|
|
|
Modified |
Date of last modification of this record |
DBTimeStamp |
4 |
|
|
|
|
IsDeleted |
Value is True if the record has been deleted from the system. Record is always Soft Deleted |
Boolean |
1 |
((0)) |
|
|
|
Comments |
Stores comments. |
VarWChar |
4000 |
|
|
Indexes
Index |
Description |
Primary |
Unique |
|
SQL
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [dbo].[InvInventoryRevaluationDetail]( [InventoryRevaluationDetailKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [InventoryRevaluationKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS 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, [InStockQuantity] [int] NOT NULL, [AvailableQuantity] [int] NOT NULL, [CurrentCost] [decimal](20, 5) NOT NULL, [UpdatedCost] [decimal](20, 5) NOT NULL, [ReasonCodeKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [CommentKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [CreatedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Created] [datetime] NULL, [ModifiedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Modified] [datetime] NULL, [IsDeleted] [bit] NULL, [Comments] [nvarchar](4000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, CONSTRAINT [PK_InvInventoryRevaluationDetail] PRIMARY KEY CLUSTERED ( [InventoryRevaluationDetailKey] 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].[InvInventoryRevaluationDetail] ADD CONSTRAINT [DF_InvInventoryRevaluationDetail_InStockQuantity] DEFAULT ((0)) FOR [InStockQuantity] ALTER TABLE [dbo].[InvInventoryRevaluationDetail] ADD CONSTRAINT [DF_InvInventoryRevaluationDetail_AvailableQuantity] DEFAULT ((0)) FOR [AvailableQuantity] ALTER TABLE [dbo].[InvInventoryRevaluationDetail] ADD CONSTRAINT [DF_InvInventoryRevaluationDetail_CurrentCost] DEFAULT ((0)) FOR [CurrentCost] ALTER TABLE [dbo].[InvInventoryRevaluationDetail] ADD CONSTRAINT [DF_InvInventoryRevaluationDetail_UpdatedCost] DEFAULT ((0)) FOR [UpdatedCost] ALTER TABLE [dbo].[InvInventoryRevaluationDetail] ADD CONSTRAINT [DF_InvInventoryRevaluationDetail_ReasonCodeKey] DEFAULT ((0)) FOR [ReasonCodeKey] ALTER TABLE [dbo].[InvInventoryRevaluationDetail] ADD CONSTRAINT [DF_InvInventoryRevaluationDetail_CommentKey] DEFAULT ((0)) FOR [CommentKey] ALTER TABLE [dbo].[InvInventoryRevaluationDetail] ADD CONSTRAINT [DF_InvInventoryRevaluationDetail_IsDeleted] DEFAULT ((0)) FOR [IsDeleted] |
See Also
© 2019 All Rights Reserved.
Send comments on this topic.