InvInventoryLocation Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

InvInventoryLocation Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

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

dbimages_boolean-false

Published for Replication

dbimages_boolean-false

Rows

0

Data Space Used

0.00 KB

Index Space Used

0.00 KB

Columns

 

Column Name

Description

Datatype

Length

Allow Nulls

Default

Formula

Primary Key

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)

dbimages_tick

((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

IX_InvInventoryLocation

 

 

 

IX_InvInventoryLocation_1

 

 

 

PK_InvInventoryLocation

 

dbimages_tick

dbimages_tick

Objects that depend on InvInventoryLocation

 

Database Object

Object Type

Description

Dep Level

CancelStockTransfer procedure

CancelStockTransfer

Stored Procedure

 

1

GetBOMQuantity procedure

GetBOMQuantity

Stored Procedure

 

1

InventoryCount_Save procedure

InventoryCount_Save

Stored Procedure

 

1

InventoryItemQuantityUpdates procedure

InventoryItemQuantityUpdates

Stored Procedure

 

1

InventoryLocationQuantityUpdates procedure

InventoryLocationQuantityUpdates

Stored Procedure

Updates the inventory location quantity depending on the delata update

1

InvGetAllSelectedAttributeItemsList procedure

InvGetAllSelectedAttributeItemsList

Stored Procedure

 

3

InvWarehouseInventoryLocation procedure

InvWarehouseInventoryLocation

Stored Procedure

 

1

ReplicationRecordsToSend procedure

ReplicationRecordsToSend

Stored Procedure

 

1

Rpt_ItemWithoutSale function

Rpt_ItemWithoutSale

User Defined Function

 

1

TrxCompleteTransactionUpdates procedure

TrxCompleteTransactionUpdates

Stored Procedure

 

2

vw_InvInventoryItem view

vw_InvInventoryItem

View

 

1

vw_InvProductInventoryInfo view

vw_InvProductInventoryInfo

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

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.