|
<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > InvInventoryLocation Table |
Navigation: iVend Database Database > Tables >
iVend 6.6 Database Help
InvInventoryLocation Table
Collapse All Expand All
iVend Database Database : InvInventoryLocation Table |
Description
Stores the location information for the Inventory available at different locations
Properties
Creation Date |
9/18/2015 10:05 AM |
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 |
|
InventoryLocationKey |
Primary Key |
VarWChar |
50 |
|
|
|
|
ProductKey |
Reference Key of Product. See also InvProduct. |
VarWChar |
50 |
|
|
|
|
WarehouseKey |
Reference Key of Warehouse. See also InvWarehouse. |
VarWChar |
50 |
|
|
|
|
LocationKey |
Reference Key of Location. See also InvLocation. |
VarWChar |
50 |
|
|
|
|
InStockQuantity |
Refers to the quntity in stock |
Numeric |
9 (20,5) |
|
((0)) |
|
|
InReturnQuantity |
For future use |
Numeric |
9 (20,5) |
|
((0)) |
|
|
OnLayawayQuantity |
Refers to the quantity that has been put on layaways |
Numeric |
9 (20,5) |
|
((0)) |
|
|
OnOrderQuantity |
Refers to the quantity that has been put on special order |
Numeric |
9 (20,5) |
|
((0)) |
|
|
OnFulFillmentQuantity |
Refers to the quantity that needs to be fulfilled |
Numeric |
9 (20,5) |
|
((0)) |
|
|
AvailableQuantity |
Refers to the total available quantity at the current location |
Numeric |
9 (20,5) |
|
((0)) |
|
|
AllocatedQuantity |
For future use |
Numeric |
9 (20,5) |
|
((0)) |
|
|
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 created this record. See also Security User |
VarWChar |
50 |
|
|
|
Indexes
Index |
Description |
Primary |
Unique |
|
|
|
|
|
|
|
|
|
|
|
Objects that depend on InvInventoryLocation
|
Database Object |
Object Type |
Description |
Dep Level |
|
Stored Procedure |
|
1 |
|
|
Stored Procedure |
|
1 |
|
|
Stored Procedure |
|
1 |
|
|
Stored Procedure |
|
1 |
|
|
Stored Procedure |
Updates the inventory location quantity depending on the delata update |
1 |
|
|
Stored Procedure |
|
3 |
|
|
Stored Procedure |
|
1 |
|
|
Stored Procedure |
|
1 |
|
|
User Defined Function |
|
1 |
|
|
Stored Procedure |
|
2 |
|
|
View |
|
1 |
|
|
View |
|
2 |
SQL
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [dbo].[InvInventoryLocation]( [InventoryLocationKey] [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, [LocationKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [InStockQuantity] [decimal](20, 5) NOT NULL, [InReturnQuantity] [decimal](20, 5) NOT NULL, [OnLayawayQuantity] [decimal](20, 5) NOT NULL, [OnOrderQuantity] [decimal](20, 5) NOT NULL, [OnFulFillmentQuantity] [decimal](20, 5) NOT NULL, [AvailableQuantity] [decimal](20, 5) NOT NULL, [AllocatedQuantity] [decimal](20, 5) NULL, [Created] [datetime] NOT NULL, [Modified] [datetime] NOT NULL, [CreatedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [ModifiedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, CONSTRAINT [PK_InvInventoryLocation] PRIMARY KEY CLUSTERED ( [InventoryLocationKey] 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].[InvInventoryLocation] ADD CONSTRAINT [DF_InvInventoryItemLocation_InStockQuantity] DEFAULT ((0)) FOR [InStockQuantity] ALTER TABLE [dbo].[InvInventoryLocation] ADD CONSTRAINT [DF_InvInventoryItemLocation_InReturnQuantity] DEFAULT ((0)) FOR [InReturnQuantity] ALTER TABLE [dbo].[InvInventoryLocation] ADD CONSTRAINT [DF_InvInventoryItemLocation_OnLayawayQuantity] DEFAULT ((0)) FOR [OnLayawayQuantity] ALTER TABLE [dbo].[InvInventoryLocation] ADD CONSTRAINT [DF_InvInventoryItemLocation_OnOrderQuantity] DEFAULT ((0)) FOR [OnOrderQuantity] ALTER TABLE [dbo].[InvInventoryLocation] ADD CONSTRAINT [DF_InvInventoryItemLocation_OnFulFillmentQuantity] DEFAULT ((0)) FOR [OnFulFillmentQuantity] ALTER TABLE [dbo].[InvInventoryLocation] ADD CONSTRAINT [DF_InvInventoryItemLocation_AvailableQuantity] DEFAULT ((0)) FOR [AvailableQuantity] ALTER TABLE [dbo].[InvInventoryLocation] ADD CONSTRAINT [DF_InvInventoryLocation_AllocatedQuantity] DEFAULT ((0)) FOR [AllocatedQuantity] |
See Also
© 2019 All Rights Reserved.
Send comments on this topic.