InvStockTransfer Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

InvStockTransfer Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

InvStockTransfer Table

Collapse All Expand All

iVend Database Database : InvStockTransfer Table

Description

Stores stock transfer details

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

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

StockTransferKey

Primary Key

VarWChar

50

 

 

 

 

FromWarehouseKey

Reference key of the originating warehouse from which the stock is transferred. See also Warehouse

VarWChar

50

dbimages_tick

 

 

 

ToWarehouseKey

Reference key of the warehouse to which the stock is transferred. See also Warehouse

VarWChar

50

dbimages_tick

 

 

 

SiteId

Refers to the Site Id

Integer

4

 

 

 

 

BusinessDate

Refers to the date on which the stock transfer is done

DBTimeStamp

4

 

 

 

 

RequestNumber

Reference number of stock transfer

VarWChar

50

 

 

 

 

RequestedDate

Requested date for stock transfer, on which stock transfer will be done

DBTimeStamp

4

 

 

 

 

ReferenceNumber1

Refers to the reference no 1

VarWChar

50

dbimages_tick

 

 

 

ReferenceNumber2

Refers to the reference no 2

VarWChar

50

dbimages_tick

 

 

 

Status

Status of Stock Transfer

Valid values are:

Open = 0

Closed = 1

Integer

4

 

 

 

 

CommentKey

Reference key of the comment. See also Comment

VarWChar

50

dbimages_tick

 

 

 

BranchCode

For future use

VarWChar

50

dbimages_tick

 

 

 

AccountingID

Maps to the unique id in the ERP system

VarWChar

50

dbimages_tick

 

 

 

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

dbimages_tick

 

 

 

SourceType

Value which denotes the source of Current Stock Transfer

Integer

4

 

 

 

 

SourceKey

Value is the key of the source selected.

VarWChar

50

 

((0))

 

 

EventKey

Stores the key associated with an event such as Goods Sales.

VarWChar

50

 

((0))

 

 

POSDocumentNumberSeriesKey

Reference Key of POSDocumentNumberSeriesKey. See RtlPosDocumentNumberSeries

VarWChar

50

dbimages_tick

((0))

 

 

BusinessPartnerType

Valid values are:

None = 0,

Customer = 1,

Vendor = 2

Integer

4

dbimages_tick

 

 

 

BusinessPartnerKey

Reference key for the Business Partner

VarWChar

50

dbimages_tick

 

 

 

ReasonCodeKey

Reference key of reason code of stock transfer.

VarWChar

50

dbimages_tick

((0))

 

 

FromLocationKey

Reference Key of Location. See also InvLocation.

VarWChar

50

dbimages_tick

 

 

 

ToLocationKey

Reference Key of Location. See also InvLocation.

VarWChar

50

dbimages_tick

 

 

 

RowRevision

Rowversion is used as a mechanism for version-stamping table rows.

Binary

8

 

 

 

 

PriceListKey

Reference Key for the Price List. See PrcPriceList

VarWChar

50

dbimages_tick

 

 

 

Comments

Stores comments.

LongVarWChar

16

dbimages_tick

 

 

 

SurchargeTotal

Stores total surcharge on stock transfer.

Integer

4

dbimages_tick

 

 

 

Id

 

VarWChar

20

dbimages_tick

 

 

 

Description

 

VarWChar

100

dbimages_tick

 

 

 

IsDeleted

 

Boolean

1

dbimages_tick

 

 

Indexes

Index

Description

Primary

Unique

PK_InvStockTransfer

 

dbimages_tick

dbimages_tick

Objects that depend on InvStockTransfer

 

Database Object

Object Type

Description

Dep Level

CancelStockTransfer procedure

CancelStockTransfer

Stored Procedure

 

1

Integration_GoodsReceipt procedure

Integration_GoodsReceipt

Stored Procedure

 

1

Integration_StockTransfer procedure

Integration_StockTransfer

Stored Procedure

 

1

Integration_StockTransferSerialBatch procedure

Integration_StockTransferSerialBatch

Stored Procedure

 

1

ReplicationRecordsToSend procedure

ReplicationRecordsToSend

Stored Procedure

 

1

Rpt_ItemWithoutSale function

Rpt_ItemWithoutSale

User Defined Function

 

2

rptOpeningBalance function

rptOpeningBalance

User Defined Function

 

1

rptOpeningBalance_dailyClosingBal function

rptOpeningBalance_dailyClosingBal

User Defined Function

 

1

rptOpeningBalance_Location function

rptOpeningBalance_Location

User Defined Function

 

1

StockTransferReport procedure

StockTransferReport

Stored Procedure

 

1

vw_InventoryCost view

vw_InventoryCost

View

 

1

vw_InventoryMovement view

vw_InventoryMovement

View

 

1

vwAnalytics_OpenStockTransferReceipt view

vwAnalytics_OpenStockTransferReceipt

View

 

1

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[InvStockTransfer](

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

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

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

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

[BusinessPartnerType] [int] NULL,

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

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

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

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

[RowRevision] [timestamp] NOT NULL,

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

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

[SurchargeTotal] [int] 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_InvStockTransfer] PRIMARY KEY CLUSTERED

(

[StockTransferKey] 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].[InvStockTransfer] ADD CONSTRAINT [DF_InvStockTransfer_SourceKey] DEFAULT ((0)) FOR [SourceKey]

ALTER TABLE [dbo].[InvStockTransfer] ADD CONSTRAINT [DF_InvStockTransfer_EventKey] DEFAULT ((0)) FOR [EventKey]

ALTER TABLE [dbo].[InvStockTransfer] ADD CONSTRAINT [DF_InvStockTransfer_POSDocumentNumberSeriesKey] DEFAULT ((0)) FOR [POSDocumentNumberSeriesKey]

ALTER TABLE [dbo].[InvStockTransfer] ADD CONSTRAINT [DF_InvStockTransfer_ReasonCodeKey] DEFAULT ((0)) FOR [ReasonCodeKey]

See Also

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.