<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > InvStockTransferRequest Table |
Navigation: iVend Database Database > Tables >
iVend 6.6 Database Help
InvStockTransferRequest Table
Collapse All Expand All
iVend Database Database : InvStockTransferRequest Table |
Description
Defines the information for the generation of the Stock Transfer request
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 |
StockTransferRequestKey |
Stores the Primary Key for the Stock Transfer Request |
VarWChar |
50 |
|
|
|
|
|
FromWarehouseKey |
Reference Key of the Originating warehouse. This value in updated only in case a receipt is done against a Stock Transfer. See also Warehouse |
VarWChar |
50 |
|
|
|
|
ToWarehouseKey |
Reference key of Warehouse where goods are received. See also Warehouse |
VarWChar |
50 |
|
|
|
|
SiteId |
Stores the SiteID of the store from where the Stock Transfer Request has been generated. |
Integer |
4 |
|
|
|
|
BusinessDate |
Date of Business |
DBTimeStamp |
4 |
|
|
|
|
RequestNumber |
Stores the Request number For the Current Stock transfer. |
VarWChar |
50 |
|
|
|
|
RequestedDate |
Stores the Date on which the Stock transfered has been initiated. |
DBTimeStamp |
4 |
|
|
|
|
ReferenceNumber1 |
Specify the reference number of the stock transfer shipment transaction to be searched. |
VarWChar |
50 |
|
|
|
|
ReferenceNumber2 |
Specify the reference number of the stock transfer shipment transaction to be searched. |
VarWChar |
50 |
|
|
|
|
Status |
Stores the status of the transaction |
Integer |
4 |
|
|
|
|
CommentKey |
Stores the any comment for the transaction. |
VarWChar |
50 |
|
|
|
|
BranchCode |
Refers to the branch code of the warehouse. |
VarWChar |
50 |
|
|
|
|
AccountingID |
Maps to the unique id in the ERP system |
VarWChar |
50 |
|
|
|
|
Created |
Date of creation of this record |
DBTimeStamp |
4 |
|
|
|
|
CreatedBy |
Reference of user who has created this record. See also Security User |
VarWChar |
50 |
|
|
|
|
Modified |
Date of last modification of this record |
DBTimeStamp |
4 |
|
|
|
|
ModifiedBy |
Reference of user who has modified this record. See also Security User |
VarWChar |
50 |
|
|
|
|
SalesPersonKey |
Reference key of the Sales person. See also Employee |
VarWChar |
50 |
|
|
|
|
SourceType |
Stores the Source type for the Stock transafer Request. Valid values are: None = 0, Manual = 1, MRP = 2 |
Integer |
4 |
|
|
|
|
ReasonCodeKey |
Reference key of reason code of stock transfer request. |
VarWChar |
50 |
((0)) |
|
|
|
RowRevision |
Rowversion is used as a mechanism for version-stamping table rows. |
Binary |
8 |
|
|
|
|
ToLocationKey |
Reference Key of Location. See also InvLocation. |
VarWChar |
50 |
|
|
|
|
AcceptanceStatus |
The valid Values are Pending = 0 Accepted = 1 PartialAccepted = 2 Rejected = 3 All = 4 |
Integer |
4 |
((0)) |
|
|
|
Comments |
Stores comments. |
VarWChar |
4000 |
|
|
|
|
Id |
|
VarWChar |
20 |
|
|
|
|
Description |
|
VarWChar |
100 |
|
|
|
|
IsDeleted |
|
Boolean |
1 |
|
|
Indexes
Index |
Description |
Primary |
Unique |
|
Objects that depend on InvStockTransferRequest
|
Database Object |
Object Type |
Description |
Dep Level |
Stored Procedure |
|
1 |
||
Stored Procedure |
|
1 |
||
View |
|
1 |
SQL
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [dbo].[InvStockTransferRequest]( [StockTransferRequestKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [FromWarehouseKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [ToWarehouseKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [SiteId] [int] NOT NULL, [BusinessDate] [datetime] NOT NULL, [RequestNumber] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [RequestedDate] [datetime] NOT NULL, [ReferenceNumber1] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [ReferenceNumber2] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Status] [int] NOT NULL, [CommentKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [BranchCode] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [AccountingID] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Created] [datetime] NOT NULL, [CreatedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Modified] [datetime] NOT NULL, [ModifiedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [SalesPersonKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [SourceType] [int] NOT NULL, [ReasonCodeKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [RowRevision] [timestamp] NOT NULL, [ToLocationKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [AcceptanceStatus] [int] NULL, [Comments] [nvarchar](4000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Id] [nvarchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Description] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [IsDeleted] [bit] NULL, CONSTRAINT [PK_InvStockTransferRequest] PRIMARY KEY CLUSTERED ( [StockTransferRequestKey] 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].[InvStockTransferRequest] ADD CONSTRAINT [DF_InvStockTransferRequest_ReasonCodeKey] DEFAULT ((0)) FOR [ReasonCodeKey] ALTER TABLE [dbo].[InvStockTransferRequest] ADD CONSTRAINT [DF__InvStockT__Accep__045B77F7] DEFAULT ((0)) FOR [AcceptanceStatus] |
See Also
© 2019 All Rights Reserved.
Send comments on this topic.