InvSerial Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

InvSerial Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

InvSerial Table

Collapse All Expand All

iVend Database Database : InvSerial Table

Description

Serial details gets affected when doing any transaction with the item which has been serial tracked.

Properties

Creation Date

4/13/2015 12:00 PM

File Group

PRIMARY

Text File Group

PRIMARY

System Object

dbimages_boolean-false

Published for Replication

dbimages_boolean-false

Rows

128

Data Space Used

32.00 KB

Index Space Used

48.00 KB

Columns

 

Column Name

Description

Datatype

Length

Allow Nulls

Default

Formula

Primary Key

SerialKey

System-generated primary key.

VarWChar

50

 

 

 

 

SerialNumber

Value is the unique serial number of product.

VarWChar

50

 

 

 

 

WarehouseKey

Value is the reference key of warehouse where the serial exist. See also Warehouse.

VarWChar

50

 

 

 

 

ProductKey

Value is the reference key of product to which the serial belongs. See also Product.

VarWChar

50

 

 

 

 

CommentKey

Value is the reference key of comment. See also Comment.

VarWChar

50

dbimages_tick

 

 

 

AdmissionDate

Value is the date when serial received.

DBTimeStamp

4

dbimages_tick

 

 

 

ExpirationDate

Value is the date when serial will expired.

DBTimeStamp

4

dbimages_tick

 

 

 

ManufacturingDate

Value is the manufacturing date of serial.

DBTimeStamp

4

dbimages_tick

 

 

 

Status

Value which denotes the current status of the serial availability.

Valid values are:

NotAvailable = 0

InStore = 1

Sold = 2

OnRent = 3 (For future use)

OnLayaway = 4

Lost = 5 (For future use)

Integer

4

 

 

 

 

SystemNumber

For future use.

Integer

4

dbimages_tick

 

 

 

ManufacturerSerialNumber

For future use.

VarWChar

50

dbimages_tick

 

 

 

LotNumber

For future use.

VarWChar

50

dbimages_tick

 

 

 

InternalSerialNumber

For future use.

VarWChar

50

dbimages_tick

 

 

 

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

 

 

 

 

OriginalSerialKey

Serial key that was allocated to this serial number at the time of serial creation

VarWChar

50

 

 

 

 

Price

Stores the Price for the Serial Items.

Numeric

9 (20,5)

 

((0.00))

 

 

Details

For future use

LongVarWChar

16

dbimages_tick

 

 

 

LocationKey

Reference Key of Location. See also InvLocation.

VarWChar

50

dbimages_tick

 

 

 

Comments

Stores comments.

VarWChar

4000

dbimages_tick

 

 

Indexes

Index

Description

Primary

Unique

IX_InvSerial

 

 

 

PK_InvSerial

 

dbimages_tick

dbimages_tick

Objects that depend on InvSerial

 

Database Object

Object Type

Description

Dep Level

BarCodeResolution procedure

BarCodeResolution

Stored Procedure

 

1

CancelStockTransfer procedure

CancelStockTransfer

Stored Procedure

 

1

CreateTillCount procedure

CreateTillCount

Stored Procedure

 

1

DataNotification procedure

DataNotification

Stored Procedure

 

1

ExecuteInventoryItemLogUpdate procedure

ExecuteInventoryItemLogUpdate

Stored Procedure

 

2

GetMobileReplicationData procedure

GetMobileReplicationData

Stored Procedure

 

1

GoodsIssueReport procedure

GoodsIssueReport

Stored Procedure

 

1

GoodsReceiptPOReport procedure

GoodsReceiptPOReport

Stored Procedure

 

1

GoodsReceiptReport procedure

GoodsReceiptReport

Stored Procedure

 

1

Integration_Consolidated_Transaction procedure

Integration_Consolidated_Transaction

Stored Procedure

 

1

Integration_GoodsIssue_SerialBatch procedure

Integration_GoodsIssue_SerialBatch

Stored Procedure

 

1

Integration_GoodsReceiptSerialBatch procedure

Integration_GoodsReceiptSerialBatch

Stored Procedure

 

1

Integration_GoodsReceiptSerialBatchShortReceived procedure

Integration_GoodsReceiptSerialBatchShortReceived

Stored Procedure

 

1

Integration_GoodsReturnSerialBatch procedure

Integration_GoodsReturnSerialBatch

Stored Procedure

 

1

Integration_StockTransferSerialBatch procedure

Integration_StockTransferSerialBatch

Stored Procedure

 

1

InventoryItemSerialStatusUpdates procedure

InventoryItemSerialStatusUpdates

Stored Procedure

 

1

InvWarehouseInventoryLocation procedure

InvWarehouseInventoryLocation

Stored Procedure

 

1

StockTransferReport procedure

StockTransferReport

Stored Procedure

 

1

TrgSBOSerialUpdate trigger

TrgSBOSerialUpdate

Trigger

Handles updates made to Serial table from ERP system (Business One in this case)

1

TrxCompleteTransactionUpdates procedure

TrxCompleteTransactionUpdates

Stored Procedure

 

2

TrxInventoryUpdateSerialNumber procedure

TrxInventoryUpdateSerialNumber

Stored Procedure

 

1

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[InvSerial](

[SerialKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[SerialNumber] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[WarehouseKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[ProductKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[CommentKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[AdmissionDate] [datetime] NULL,

[ExpirationDate] [datetime] NULL,

[ManufacturingDate] [datetime] NULL,

[Status] [int] NOT NULL,

[SystemNumber] [int] NULL,

[ManufacturerSerialNumber] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[LotNumber] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[InternalSerialNumber] [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,

[IsDeleted] [bit] NOT NULL,

[OriginalSerialKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[Price] [decimal](20, 5) NOT NULL,

[Details] [ntext] COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[LocationKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[Comments] [nvarchar](4000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

CONSTRAINT [PK_InvSerial] PRIMARY KEY CLUSTERED

(

[SerialKey] ASC

)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]

) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

ALTER TABLE [dbo].[InvSerial] ADD CONSTRAINT [DF_InvSerial_Price] DEFAULT ((0.00)) FOR [Price]

See Also

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.