HisHistoricalSales Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

HisHistoricalSales Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

HisHistoricalSales Table

Collapse All Expand All

iVend Database Database : HisHistoricalSales Table

Description

Stores the historic value for the sales of product

Properties

Creation Date

4/13/2015 12:00 PM

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

HistoricalSalesKey

Primary Key

VarWChar

50

 

 

 

 

TransactionDate

Refers to the date of the transaction.

DBTimeStamp

4

 

 

 

 

WarehouseId

The warehouse associated with the store. See also Warehouse

VarWChar

20

 

 

 

 

ProductId

Product id fo the scanned item

VarWChar

20

 

 

 

 

Quantity

Refers to the quantity of the product

Numeric

9 (20,5)

 

 

 

Indexes

Index

Description

Primary

Unique

PK__HisHisto__8A07BE8D31F75A1E

 

dbimages_tick

dbimages_tick

Objects that depend on HisHistoricalSales

 

Database Object

Object Type

Description

Dep Level

Forecast procedure

Forecast

Stored Procedure

 

1

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[HisHistoricalSales](

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

[TransactionDate] [datetime] NOT NULL,

[WarehouseId] [nvarchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[ProductId] [nvarchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

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

CONSTRAINT [PK__HisHisto__8A07BE8D31F75A1E] PRIMARY KEY CLUSTERED

(

[HistoricalSalesKey] ASC

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

) ON [PRIMARY]

See Also

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.