<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > PrcSpecialPriceListMaster Table |
Navigation: iVend Database Database > Tables >
iVend 6.6 Database Help
PrcSpecialPriceListMaster Table
Collapse All Expand All
iVend Database Database : PrcSpecialPriceListMaster Table |
Description
Defines special prices applicable for customer and product combinations.
Properties
Creation Date |
4/13/2015 12:00 PM |
File Group |
PRIMARY |
Text File Group |
|
System Object |
|
Published for Replication |
|
Rows |
204 |
Data Space Used |
48.00 KB |
Index Space Used |
56.00 KB |
Columns
|
Column Name |
Description |
Datatype |
Length |
Allow Nulls |
Default |
Formula |
SpecialPriceListKey |
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 |
|
|
|
|
BasePriceListKey |
Reference key of base price list |
VarWChar |
50 |
|
|
|
|
ProductKey |
Reference key of Product. See also Product |
VarWChar |
50 |
|
|
|
|
Price |
Priceo of the product in the list |
Numeric |
9 (20,5) |
|
|
|
|
DiscountType |
Discount type applicable. Valid values are: None = 0 Amount = 1 Percent = 2 |
Integer |
4 |
|
|
|
|
Discount |
Discount amount or percentage |
Numeric |
9 (20,5) |
|
|
|
|
AutoUpdate |
Flag to check whether the price is auto updated or not. |
Boolean |
1 |
|
|
|
|
Expand |
Flag to check whether this special pricing is expanded further on more parameters. |
Boolean |
1 |
|
|
|
|
CanOverrideAtStore |
For future use |
Boolean |
1 |
|
|
|
|
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 |
|
|
|
|
CurrencyKey |
Reference Key for currency |
VarWChar |
50 |
|
((0)) |
|
|
SubsidiaryKey |
Reference key of the Subsidiary. See also Subsidiary |
VarWChar |
50 |
((0)) |
|
|
|
IsActive |
Speicifes whether the Special Price List is active or not. Only active Special Price Lists are allowed to be used for selection. |
Boolean |
1 |
((1)) |
|
|
|
ValidFrom |
Applicabilty date starts from |
DBTimeStamp |
4 |
|
|
|
|
ValidTo |
Applicabilty date ends from |
DBTimeStamp |
4 |
|
|
Indexes
Index |
Description |
Primary |
Unique |
|
|
|
|
|
Objects that depend on PrcSpecialPriceListMaster
|
Database Object |
Object Type |
Description |
Dep Level |
Stored Procedure |
|
1 |
||
Stored Procedure |
Determines the price of the Product for the customer specified and other parameters |
1 |
SQL
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [dbo].[PrcSpecialPriceListMaster]( [SpecialPriceListKey] [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, [BasePriceListKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [ProductKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Price] [numeric](20, 5) NOT NULL, [DiscountType] [int] NOT NULL, [Discount] [numeric](20, 5) NOT NULL, [AutoUpdate] [bit] NOT NULL, [Expand] [bit] NOT NULL, [CanOverrideAtStore] [bit] 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, [CurrencyKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [SubsidiaryKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [IsActive] [bit] NULL, [ValidFrom] [datetime] NULL, [ValidTo] [datetime] NULL, CONSTRAINT [PK_PrcSpecialPriceListMaster] PRIMARY KEY CLUSTERED ( [SpecialPriceListKey] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] ALTER TABLE [dbo].[PrcSpecialPriceListMaster] ADD CONSTRAINT [DF_PrcSpecialPriceListMaster_CurrencyKey] DEFAULT ((0)) FOR [CurrencyKey] ALTER TABLE [dbo].[PrcSpecialPriceListMaster] ADD CONSTRAINT [DF__PrcSpecia__Subsi__7286E07F] DEFAULT ((0)) FOR [SubsidiaryKey] ALTER TABLE [dbo].[PrcSpecialPriceListMaster] ADD CONSTRAINT [DF_PrcSpecialPriceListMaster_IsActive] DEFAULT ((1)) FOR [IsActive] |
See Also
© 2019 All Rights Reserved.
Send comments on this topic.