<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > InvHistoricalSales Table |
Navigation: iVend Database Database > Tables >
iVend 6.6 Database Help
InvHistoricalSales Table
Collapse All Expand All
iVend Database Database : InvHistoricalSales Table |
Description
Stores the Historic sales records
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 |
|
ForecastPlanningKey |
Reference Key of Forecast Planning. See also Forecast Planning. |
VarWChar |
50 |
|
|
|
|
ForecastMethod |
Refers to the type of Forecasting Method. Valid values are: ExpertSelection = 0, ExponentialSmoothing = 1, BoxJenkins = 2, SimppleMovingAverage = 4, Discrete = 5, IntermittentData = 6, CurveFitting = 12, VerySimpleModels = 14 |
SmallInt |
2 |
|
|
|
|
ForecastSubMethod |
Refers to the type of Forecasting Sub Method. For Forecasting Method = ExponentialSmoothing Valid values are: Auto = 0, Simple = 1, Holt = 2, Winter = 3 For Forecasting Method = CurveFittingType Valid values are: Auto = 0, StraightLine = 1, Quadratic = 2, Exponential = 3 GrowthCurve = 4 |
SmallInt |
2 |
|
|
|
|
ActualDate |
The date on which the transaction is done. |
DBTimeStamp |
4 |
|
|
|
|
WarehouseKey |
Reference Key ofwarehouse. |
VarWChar |
50 |
|
|
|
|
ProductKey |
Reference Key of product. |
VarWChar |
50 |
|
|
|
|
Quantity |
Refers to the quantity that has been put on sales |
Numeric |
9 (20,5) |
|
|
|
|
Level1 |
Hold the value of hierarchy node selected in forecast planning |
VarWChar |
100 |
|
|
|
|
Level2 |
Hold the value of hierarchy node which is child of Level1 hierarchy node |
VarWChar |
100 |
|
|
|
|
Level3 |
Hold the value of hierarchy node which is child of Level2 hierarchy node |
VarWChar |
100 |
|
|
|
|
Level4 |
Hold the value of hierarchy node which is child of Level3 hierarchy node |
VarWChar |
100 |
|
|
|
|
Level5 |
Hold the value of hierarchy node which is child of Level4 hierarchy node |
VarWChar |
100 |
|
|
|
|
Level6 |
Hold the value of hierarchy node which is child of Level5 hierarchy node |
VarWChar |
100 |
|
|
|
|
Level7 |
Hold the value of hierarchy node which is child of Level6 hierarchy node |
VarWChar |
100 |
|
|
|
|
Level8 |
Hold the value of hierarchy node which is child of Level7 hierarchy node |
VarWChar |
100 |
|
|
|
|
Level9 |
Hold the value of hierarchy node which is child of Level8 hierarchy node |
VarWChar |
100 |
|
|
|
|
Level10 |
Hold the value of hierarchy node which is child of Level9 hierarchy node |
VarWChar |
100 |
|
|
|
|
Level11 |
Hold the value of hierarchy node which is child of Level10 hierarchy node |
VarWChar |
100 |
|
|
|
|
Level12 |
Hold the value of hierarchy node which is child of Level11 hierarchy node |
VarWChar |
100 |
|
|
|
|
Level13 |
Hold the value of hierarchy node which is child of Level12 hierarchy node |
VarWChar |
100 |
|
|
|
|
Level14 |
Hold the value of hierarchy node which is child of Level13 hierarchy node |
VarWChar |
100 |
|
|
|
|
Level15 |
Hold the value of hierarchy node which is child of Level14 hierarchy node |
VarWChar |
100 |
|
|
Objects that depend on InvHistoricalSales
|
Database Object |
Object Type |
Description |
Dep Level |
Stored Procedure |
|
1 |
SQL
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [dbo].[InvHistoricalSales]( [ForecastPlanningKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [ForecastMethod] [smallint] NOT NULL, [ForecastSubMethod] [smallint] NOT NULL, [ActualDate] [datetime] 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, [Quantity] [decimal](20, 5) NULL, [Level1] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Level2] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Level3] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Level4] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Level5] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Level6] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Level7] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Level8] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Level9] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Level10] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Level11] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Level12] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Level13] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Level14] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Level15] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ) ON [PRIMARY] |
See Also
© 2019 All Rights Reserved.
Send comments on this topic.