ProPromotionBuySide Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

ProPromotionBuySide Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

ProPromotionBuySide Table

Collapse All Expand All

iVend Database Database : ProPromotionBuySide Table

Description

Stores the Buy side data for a promotion

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

6

Data Space Used

8.00 KB

Index Space Used

24.00 KB

Columns

 

Column Name

Description

Datatype

Length

Allow Nulls

Default

Formula

Primary Key

PromotionBuyKey

Primary Key

VarWChar

50

 

 

 

 

PromotionKey

Reference Key of promotion. See also promotion

VarWChar

50

 

 

 

 

SourceType

Stores the value for the Product type Valid values are Product = 0 ProductGroup = 1 ProductCategory = 2 GiftCard = 3 Coupon = 4

Integer

4

 

 

 

 

SourceKey

Stores the value based on the Source Type chosen

VarWChar

50

 

 

 

 

Quantity

Refers to the quantity on which promotion is offered

Numeric

9 (20,5)

dbimages_tick

 

 

 

Amount

Defines the Count of the redemption done for the defined Promotion

Numeric

9 (20,5)

dbimages_tick

 

 

 

IsMandatory

Value is true if it is a mandatory item in order to get the Promotional offer.

Boolean

1

 

 

 

 

UOMKey

Refers to the UOM key. See InvUOM

VarWChar

50

dbimages_tick

 

 

Indexes

Index

Description

Primary

Unique

IX_ProPromotionBuySide

 

 

 

PK_ProPromotionBuySide

 

dbimages_tick

dbimages_tick

Objects that depend on ProPromotionBuySide

 

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

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

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

[SourceType] [int] NOT NULL,

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

[Quantity] [decimal](20, 5) NULL,

[Amount] [decimal](20, 5) NULL,

[IsMandatory] [bit] NOT NULL,

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

CONSTRAINT [PK_ProPromotionBuySide] PRIMARY KEY CLUSTERED

(

[PromotionBuyKey] 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.