|
<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > PrcSpecialPriceDiscountGroup Table |
Navigation: iVend Database Database > Tables >
iVend 6.6 Database Help
PrcSpecialPriceDiscountGroup Table
Collapse All Expand All
iVend Database Database : PrcSpecialPriceDiscountGroup Table |
Description
Defines a list of all products which fall under a common discount group on the basis of belonging to a common Customer group, Product group or Manufacturer.
Properties
Creation Date |
4/13/2015 12:00 PM |
File Group |
PRIMARY |
Text File Group |
|
System Object |
|
Published for Replication |
|
Rows |
14 |
Data Space Used |
8.00 KB |
Index Space Used |
8.00 KB |
Columns
|
Column Name |
Description |
Datatype |
Length |
Allow Nulls |
Default |
Formula |
|
PriceDiscountGroupKey |
Primary Key |
VarWChar |
50 |
|
|
|
|
CustomerKey |
Reference key of Customer. See also Customer |
VarWChar |
50 |
|
|
|
|
PriceListKey |
Reference key of Price List. See also Price List |
VarWChar |
50 |
|
|
|
|
CustomerGroupKey |
Reference key of Customer Group. See also Customer Group |
VarWChar |
50 |
|
|
|
|
ProductGroupKey |
Reference key of Product Group. See also Product Group. |
VarWChar |
50 |
|
|
|
|
ManufacturerKey |
Reference key of Manufacturer. See also Manufacturer |
VarWChar |
50 |
|
|
|
|
DiscountType |
Type of discount for group Valid values are: None = 0 Amount = 1 Percent = 2 |
Integer |
4 |
|
|
|
|
Discount |
Discount in amount or percentage |
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 |
|
|
|
|
IsActive |
Value if True if the Discount Group is active |
Boolean |
1 |
|
|
|
|
ValidFrom |
Stores the Date from which the Discount group is Valid |
DBTimeStamp |
4 |
|
|
|
|
ValidTo |
Stores the Date till which the Discount group is Valid |
DBTimeStamp |
4 |
|
|
|
Indexes
Index |
Description |
Primary |
Unique |
|
|
|
Objects that depend on PrcSpecialPriceDiscountGroup
|
Database Object |
Object Type |
Description |
Dep Level |
|
Stored Procedure |
|
1 |
SQL
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [dbo].[PrcSpecialPriceDiscountGroup]( [PriceDiscountGroupKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [CustomerKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [PriceListKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [CustomerGroupKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [ProductGroupKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [ManufacturerKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS 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, [IsActive] [bit] NULL, [ValidFrom] [datetime] NULL, [ValidTo] [datetime] NULL, CONSTRAINT [PK_PrcSpecialPriceDiscountGroup] PRIMARY KEY CLUSTERED ( [PriceDiscountGroupKey] 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.