ProPromotionApplicabilityMaster Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

ProPromotionApplicabilityMaster Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

ProPromotionApplicabilityMaster Table

Collapse All Expand All

iVend Database Database : ProPromotionApplicabilityMaster Table

Description

Stores the values for a promotion applicablity on special days or time

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

14

Data Space Used

8.00 KB

Index Space Used

24.00 KB

Columns

 

Column Name

Description

Datatype

Length

Allow Nulls

Default

Formula

Primary Key

PromotionApplicabilityKey

Primary Key

VarWChar

50

 

 

 

 

SourceType

Stores the value for the Promotion Applicability Valid Values are BonusBuys = 0 Coupon = 1

Integer

4

dbimages_tick

 

 

 

SourceKey

Refers to the source key of the chosen promotion applicability

VarWChar

50

 

 

 

 

Sunday

Value is True if the promotion is applicable on Sunday

Boolean

1

 

 

 

 

SundayStartTime

Stores the start time for the promotion on Sunday

DBTimeStamp

4

dbimages_tick

 

 

 

SundayEndTime

Stores the End time for the promotion on Sunday

DBTimeStamp

4

dbimages_tick

 

 

 

Monday

Value is True if the promotion is applicable on Monday

Boolean

1

 

 

 

 

MondayStartTime

Stores the start time for the promotion on Monday

DBTimeStamp

4

dbimages_tick

 

 

 

MondayEndTime

Stores the End time for the promotion on Monday

DBTimeStamp

4

dbimages_tick

 

 

 

Tuesday

Value is True if the promotion is applicable on Tuesday

Boolean

1

 

 

 

 

TuesdayStartTime

Stores the start time for the promotion on Tuesday

DBTimeStamp

4

dbimages_tick

 

 

 

TuesdayEndTime

Stores the End time for the promotion on Tuesday

DBTimeStamp

4

dbimages_tick

 

 

 

Wednesday

Value is True if the promotion is applicable on Wednesday

Boolean

1

 

 

 

 

WednesdayStartTime

Stores the start time for the promotion on Wednesday

DBTimeStamp

4

dbimages_tick

 

 

 

WednesdayEndTime

Stores the End time for the promotion on Wednesday

DBTimeStamp

4

dbimages_tick

 

 

 

Thrusday

Value is True if the promotion is applicable on Thursday

Boolean

1

 

 

 

 

ThrusdayStartTime

Stores the start time for the promotion on Thursday

DBTimeStamp

4

dbimages_tick

 

 

 

ThrusdayEndTime

Stores the End time for the promotion on Thursday

DBTimeStamp

4

dbimages_tick

 

 

 

Friday

Value is True if the promotion is applicable on Friday

Boolean

1

 

 

 

 

FridayStartTime

Stores the start time for the promotion on Friday

DBTimeStamp

4

dbimages_tick

 

 

 

FridayEndTime

Stores the End time for the promotion on Friday

DBTimeStamp

4

dbimages_tick

 

 

 

Saturday

Value is True if the promotion is applicable on Saturday

Boolean

1

 

 

 

 

SaturdayStartTime

Stores the start time for the promotion on Saturday

DBTimeStamp

4

dbimages_tick

 

 

 

SaturdayEndTime

Stores the End time for the promotion on Saturday

DBTimeStamp

4

dbimages_tick

 

 

Indexes

Index

Description

Primary

Unique

IX_ProPromotionApplicabilityMaster

 

 

 

PK_ProPromotionApplicabilityMaster

 

dbimages_tick

dbimages_tick

Objects that depend on ProPromotionApplicabilityMaster

 

Database Object

Object Type

Description

Dep Level

GetValidPromotionsForProduct procedure

GetValidPromotionsForProduct

Stored Procedure

 

1

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[ProPromotionApplicabilityMaster](

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

[SourceType] [int] NULL,

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

[Sunday] [bit] NOT NULL,

[SundayStartTime] [datetime] NULL,

[SundayEndTime] [datetime] NULL,

[Monday] [bit] NOT NULL,

[MondayStartTime] [datetime] NULL,

[MondayEndTime] [datetime] NULL,

[Tuesday] [bit] NOT NULL,

[TuesdayStartTime] [datetime] NULL,

[TuesdayEndTime] [datetime] NULL,

[Wednesday] [bit] NOT NULL,

[WednesdayStartTime] [datetime] NULL,

[WednesdayEndTime] [datetime] NULL,

[Thrusday] [bit] NOT NULL,

[ThrusdayStartTime] [datetime] NULL,

[ThrusdayEndTime] [datetime] NULL,

[Friday] [bit] NOT NULL,

[FridayStartTime] [datetime] NULL,

[FridayEndTime] [datetime] NULL,

[Saturday] [bit] NOT NULL,

[SaturdayStartTime] [datetime] NULL,

[SaturdayEndTime] [datetime] NULL,

CONSTRAINT [PK_ProPromotionApplicabilityMaster] PRIMARY KEY CLUSTERED

(

[PromotionApplicabilityKey] 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

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.