PrcSpecialPriceListDate Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

PrcSpecialPriceListDate Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

PrcSpecialPriceListDate Table

Collapse All Expand All

iVend Database Database : PrcSpecialPriceListDate Table

Description

Defines discounts applicable to products for specified date range.

Properties

Creation Date

4/13/2015 12:00 PM

File Group

PRIMARY

Text File Group

 

System Object

dbimages_boolean-false

Published for Replication

dbimages_boolean-false

Rows

132

Data Space Used

32.00 KB

Index Space Used

48.00 KB

Columns

 

Column Name

Description

Datatype

Length

Allow Nulls

Default

Formula

Primary Key

SpecialPriceListDateKey

Primary Key

VarWChar

50

 

 

 

 

SpecialPriceListKey

Reference Key of Special Price List

VarWChar

50

 

 

 

 

Price

Price of the product

Numeric

9 (20,5)

 

 

 

 

DiscountType

Discount type applicable.

Valid values are:

None = 0

Amount = 1

Percent = 2

Integer

4

 

 

 

 

Discount

Discount in amount or percentage

Numeric

9 (20,5)

 

 

 

 

FromDate

Date from which the special pricing would be applicable

DBTimeStamp

4

 

 

 

 

ToDate

Date to which the special pricing would be applicable

DBTimeStamp

4

dbimages_tick

 

 

 

AutoUpdt

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

 

 

 

 

PriceListKey

Reference Key of Price List. See also Price List

VarWChar

50

 

 

 

 

Created

Date of creation of this record

DBTimeStamp

4

 

 

 

 

Modified

Date of last modification of this record

DBTimeStamp

4

dbimages_tick

 

 

 

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

dbimages_tick

 

 

 

IsDeleted

Value is True if the record has been deleted from the system. Record is always Soft Deleted

Boolean

1

 

 

 

 

DateLineNumber

Stores the Sequence number of the Price List (based on date range) when the multiple price list is defined for different dates

Integer

4

 

((0))

 

 

CurrencyKey

Reference Key for currency

VarWChar

50

 

((0))

 

Indexes

Index

Description

Primary

Unique

IX_PrcSpecialPriceListDate

 

 

 

PK_PrcSpecialPriceListDate

 

dbimages_tick

dbimages_tick

Objects that depend on PrcSpecialPriceListDate

 

Database Object

Object Type

Description

Dep Level

uspGetItemPrice procedure

uspGetItemPrice

Stored Procedure

 

2

uspGetItemSpecialPrice procedure

uspGetItemSpecialPrice

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].[PrcSpecialPriceListDate](

[SpecialPriceListDateKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[SpecialPriceListKey] [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,

[FromDate] [datetime] NOT NULL,

[ToDate] [datetime] NULL,

[AutoUpdt] [bit] NOT NULL,

[Expand] [bit] NOT NULL,

[PriceListKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[Created] [datetime] NOT NULL,

[Modified] [datetime] NULL,

[CreatedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[ModifiedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[IsDeleted] [bit] NOT NULL,

[DateLineNumber] [int] NOT NULL,

[CurrencyKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

CONSTRAINT [PK_PrcSpecialPriceListDate] PRIMARY KEY CLUSTERED

(

[SpecialPriceListDateKey] 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].[PrcSpecialPriceListDate] ADD CONSTRAINT [DF_PrcSpecialPriceListDate_DateLineNumber] DEFAULT ((0)) FOR [DateLineNumber]

ALTER TABLE [dbo].[PrcSpecialPriceListDate] ADD CONSTRAINT [DF_PrcSpecialPriceListDate_CurrencyKey] DEFAULT ((0)) FOR [CurrencyKey]

See Also

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.