<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > HisHistoricalSales Table |
Navigation: iVend Database Database > Tables >
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 |
|
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 |
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 |
|
Objects that depend on HisHistoricalSales
|
Database Object |
Object Type |
Description |
Dep Level |
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
© 2019 All Rights Reserved.
Send comments on this topic.