ProPromotionGetSide Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

ProPromotionGetSide Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

ProPromotionGetSide Table

Collapse All Expand All

iVend Database Database : ProPromotionGetSide Table

Description

Stores the Get Side data for a promotion defined

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

PromotionGetKey

Primary Key

VarWChar

50

 

 

 

 

PromotionKey

Reference Key of promotion. See also promotion

VarWChar

50

dbimages_tick

 

 

 

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 that is offered during the promotional offer

Numeric

9 (20,5)

 

 

 

 

DiscountType

Discount type applicable. Valid values are: None = 0 Amount = 1 Percent = 2

Integer

4

 

 

 

 

Discount

Stores the discount value to be applied baesd on Discount type chosen

Numeric

9 (20,5)

 

 

 

 

IsMandatory

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

Boolean

1

 

 

 

 

AutoAddInTransaction

Value is true if the promotional item has to be added Automatically during the transacation.

Boolean

1

 

((0))

 

 

UOMKey

Refers to the UOM key. See InvUOM

VarWChar

50

dbimages_tick

 

 

Indexes

Index

Description

Primary

Unique

IX_ProPromotionGetSide

 

 

 

PK_ProPromotionGetSide

 

dbimages_tick

dbimages_tick

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[ProPromotionGetSide](

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

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

[SourceType] [int] NOT NULL,

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

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

[DiscountType] [int] NOT NULL,

[Discount] [decimal](20, 5) NOT NULL,

[IsMandatory] [bit] NOT NULL,

[AutoAddInTransaction] [bit] NOT NULL,

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

CONSTRAINT [PK_ProPromotionGetSide] PRIMARY KEY CLUSTERED

(

[PromotionGetKey] 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].[ProPromotionGetSide] ADD CONSTRAINT [DF_ProPromotionGetSide_AutoAdd] DEFAULT ((0)) FOR [AutoAddInTransaction]

See Also

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.