ProCustomerPromotion Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

ProCustomerPromotion Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

ProCustomerPromotion Table

Collapse All Expand All

iVend Database Database : ProCustomerPromotion Table

Description

Stores the promotion information for every customer when doing promotional transaction.This data would be used later to validate how many times a promotion is applied to the customer.

Properties

Creation Date

12/21/2016 6:39 PM

File Group

PRIMARY

Text File Group

 

System Object

dbimages_boolean-false

Published for Replication

dbimages_boolean-false

Rows

0

Data Space Used

0.00 KB

Index Space Used

0.00 KB

Columns

 

Column Name

Description

Datatype

Length

Allow Nulls

Default

Formula

Primary Key

CustomerPromotionKey

System generated Primary key of the table

VarWChar

50

 

 

 

 

CustomerKey

Refers to the customer to which promotion was applied

VarWChar

50

 

 

 

 

PromotionKey

Refers to the promotion which was applied to the customer

VarWChar

50

 

 

 

 

LoyaltyId

Loyalty Id for loyalty members on which special days promotion was applied

VarWChar

50

dbimages_tick

 

 

Indexes

Index

Description

Primary

Unique

IX_ProCustomerPromotion

 

 

 

PK_ProCustomerPromotion

 

dbimages_tick

dbimages_tick

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[ProCustomerPromotion](

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

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

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

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

CONSTRAINT [PK_ProCustomerPromotion] PRIMARY KEY CLUSTERED

(

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