<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > InvInventoryCount Table |
Navigation: iVend Database Database > Tables >
iVend 6.6 Database Help
InvInventoryCount Table
Collapse All Expand All
iVend Database Database : InvInventoryCount Table |
Description
Stores the master data for the Inventory counting
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 |
InventoryCountKey |
Value is the system generated Primary Key of the table. |
VarWChar |
50 |
|
|
|
|
|
Id |
Value is the Id of the Inventory Count |
VarWChar |
20 |
|
|
|
|
Description |
Refers to the description for the Inventory Count |
VarWChar |
100 |
|
|
|
|
CountingDate |
Stores the creation date of the Inventory count. |
DBTimeStamp |
4 |
|
|
|
|
CountedBy |
Stores the User Id, who did the Inventory count. |
VarWChar |
50 |
|
|
|
|
Status |
Stores the Status of the count. |
Integer |
4 |
|
|
|
|
PriceListKey |
Reference Key of Price List. See also Price List |
VarWChar |
50 |
|
((0)) |
|
|
CommentKey |
Reference Key of Comment. See also Comment |
VarWChar |
50 |
|
|
|
|
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 |
|
|
|
|
WarehouseKey |
The warehouse associated with the Inventory. See also Warehouse |
VarWChar |
50 |
|
((0)) |
|
|
UseStartQuantity |
Values is the Start Quantity for the C ounting. |
Boolean |
1 |
((0)) |
|
|
|
Comments |
Stores comments. |
VarWChar |
4000 |
|
|
|
|
IsApproved |
|
Boolean |
1 |
|
|
|
|
ApprovedBy |
|
VarWChar |
50 |
|
|
|
|
Approved |
|
DBTimeStamp |
4 |
|
|
Indexes
Index |
Description |
Primary |
Unique |
|
Objects that depend on InvInventoryCount
|
Database Object |
Object Type |
Description |
Dep Level |
Stored Procedure |
|
1 |
||
View |
|
1 |
SQL
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [dbo].[InvInventoryCount]( [InventoryCountKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Id] [nvarchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Description] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [CountingDate] [datetime] NOT NULL, [CountedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Status] [int] NOT NULL, [PriceListKey] [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 NOT NULL, [Created] [datetime] NOT NULL, [ModifiedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Modified] [datetime] NOT NULL, [WarehouseKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [UseStartQuantity] [bit] NULL, [Comments] [nvarchar](4000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [IsApproved] [bit] NULL, [ApprovedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Approved] [datetime] NULL, CONSTRAINT [PK_InvInventoryCount] PRIMARY KEY CLUSTERED ( [InventoryCountKey] 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].[InvInventoryCount] ADD CONSTRAINT [DF_InvInventoryCount_PriceListKey] DEFAULT ((0)) FOR [PriceListKey] ALTER TABLE [dbo].[InvInventoryCount] ADD CONSTRAINT [DF_InvInventoryCount_WarehouseKey] DEFAULT ((0)) FOR [WarehouseKey] ALTER TABLE [dbo].[InvInventoryCount] ADD CONSTRAINT [DF__InvInvent__UseSt__05CEBF1D] DEFAULT ((0)) FOR [UseStartQuantity] |
See Also
© 2019 All Rights Reserved.
Send comments on this topic.