|
<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > InvSerialLog Table |
Navigation: iVend Database Database > Tables >
iVend 6.6 Database Help
InvSerialLog Table
Collapse All Expand All
iVend Database Database : InvSerialLog Table |
Description
Stores the Delta updates made to any serial in the system. This table gets affected when doing any inventory related transaction for a serial item.
Properties
Creation Date |
4/13/2015 12:00 PM |
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 |
|
InventorySerialLogKey |
Primary Key |
VarWChar |
50 |
|
|
|
|
SerialKey |
Reference key of the serial product. See also InvSerial |
VarWChar |
50 |
|
|
|
|
WarehouseKey |
Reference Key of the warehouse. See also Warehouse |
VarWChar |
50 |
|
|
|
|
ProductKey |
Reference Key of Product. See also Product |
VarWChar |
50 |
|
|
|
|
Status |
Status of serial item Valid values are: NotAvailable = 0 InStore = 1 Sold = 2 OnRent = 3 (For future use) OnLayaway = 4 Lost = 5 (For future use) |
Integer |
4 |
|
|
|
|
SourceType |
Refers to the incoming or outgoing source of the serial. Valid values are: External =-1 Unknown = 0 GoodsReceipt = 1 GoodsReceiptPO = 2 GoodsReceiptSTN = 3 StockTransfer = 4 KitBuildBreak = 5 StoreUseInventory = 6 SaleTransaction = 7 LayawayTransaction = 8 SpecialOrderTransaction = 9 |
Integer |
4 |
|
|
|
|
SourceKey |
Reference key of the source |
VarWChar |
50 |
|
|
|
|
SourceDetailKey |
Reference key of the source detail |
VarWChar |
50 |
|
|
|
|
LocationKey |
Reference Key of Location. See also InvLocation. |
VarWChar |
50 |
|
|
|
|
IsProcessed |
Value is true if the Serial Items are processed |
Boolean |
1 |
|
((0)) |
|
Indexes
Index |
Description |
Primary |
Unique |
|
|
|
Objects that depend on InvSerialLog
|
Database Object |
Object Type |
Description |
Dep Level |
|
Stored Procedure |
|
1 |
|
|
Stored Procedure |
|
1 |
|
|
Stored Procedure |
|
1 |
|
|
Trigger |
Handles updates made to Serial table from ERP system (Business One in this case) |
1 |
|
|
Stored Procedure |
|
1 |
|
|
Stored Procedure |
|
1 |
SQL
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [dbo].[InvSerialLog]( [InventorySerialLogKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [SerialKey] [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, [Status] [int] NOT NULL, [SourceType] [int] NOT NULL, [SourceKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [SourceDetailKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [LocationKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [IsProcessed] [bit] NULL, CONSTRAINT [PK_InvSerialLog] PRIMARY KEY CLUSTERED ( [InventorySerialLogKey] 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].[InvSerialLog] ADD CONSTRAINT [DF__InvSerial__IsPro__272FB2E8] DEFAULT ((0)) FOR [IsProcessed] |
See Also
© 2019 All Rights Reserved.
Send comments on this topic.