<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > PrcSpecialPriceDiscountGroupQuantity Table |
Navigation: iVend Database Database > Tables >
iVend 6.6 Database Help
PrcSpecialPriceDiscountGroupQuantity Table
Collapse All Expand All
iVend Database Database : PrcSpecialPriceDiscountGroupQuantity Table |
Description
Stores the discount information based on quantity defined for a 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 |
DiscountGroupQuantityKey |
Primary Key |
VarWChar |
50 |
|
|
|
|
|
PriceDiscountGroupDateKey |
Reference Key of Special Price Discount Group Date . See also Special Price Discount Group Date |
VarWChar |
50 |
|
|
|
|
Quantity |
Refers to the quantity of the associated products |
Numeric |
9 (20,5) |
|
|
|
|
Price |
Defines Price in price list according to quantity |
Numeric |
9 (20,5) |
|
|
|
|
DiscountType |
Discount type applicable. Valid values are: None = 0 Amount = 1 Percent = 2 |
Integer |
4 |
|
|
|
|
Discount |
Stores the discount value in amount or percent |
Numeric |
9 (20,5) |
|
|
|
|
Created |
Date of creation of this record |
DBTimeStamp |
4 |
|
|
|
|
Modified |
Date of last modification of this record |
DBTimeStamp |
4 |
|
|
|
|
CreatedBy |
Reference of user who has created this record. See also Security User |
VarWChar |
50 |
|
|
|
|
ModifiedBy |
Reference of user who has modified this record. See also Security User |
VarWChar |
50 |
|
|
|
|
IsDeleted |
Value is True if the record has been deleted from the system. Record is always Soft Deleted |
Boolean |
1 |
|
|
|
|
QuantityLineNumber |
Stores the Sequence number of the Price List (based on Quantity) when the multiple price list is defined |
Integer |
4 |
|
|
|
Indexes
Index |
Description |
Primary |
Unique |
|
|
|
|
|
SQL
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [dbo].[PrcSpecialPriceDiscountGroupQuantity]( [DiscountGroupQuantityKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [PriceDiscountGroupDateKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Quantity] [numeric](20, 5) NOT NULL, [Price] [numeric](20, 5) NOT NULL, [DiscountType] [int] NOT NULL, [Discount] [numeric](20, 5) NOT NULL, [Created] [datetime] NOT NULL, [Modified] [datetime] NOT NULL, [CreatedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [ModifiedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [IsDeleted] [bit] NOT NULL, [QuantityLineNumber] [int] NOT NULL, CONSTRAINT [PK_PrcSpecialPriceDiscountGroupQuantity] PRIMARY KEY CLUSTERED ( [DiscountGroupQuantityKey] 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.