LoyNotification Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

LoyNotification Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

LoyNotification Table

Collapse All Expand All

iVend Database Database : LoyNotification Table

Description

Stores the details of Loyalty Email & SMS notofaication in the system.

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

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

NotificationKey

Primary Key

VarWChar

50

 

 

 

 

Id

Specify the Id of notification

VarWChar

20

 

 

 

 

Description

Specify the description of notification

VarWChar

200

dbimages_tick

 

 

 

Event

Specify the Event for which you want to sent an email

Integer

4

dbimages_tick

 

 

 

EmailSMSTemplateKey

Reference Key of Email SMS Template. See also Email SMS Template.

VarWChar

50

dbimages_tick

 

 

 

IsConfigurable

Hold true/false

Boolean

1

 

((0))

 

 

Duration

Specify the duration id of email

Integer

4

 

((0))

 

 

FromEmail

Specify from email Id

VarWChar

100

 

 

 

 

DisplayName

Specify the display name

VarWChar

100

dbimages_tick

 

 

 

IsDeleted

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

Boolean

1

 

 

 

 

Created

Date of creation of this record

DBTimeStamp

4

 

 

 

 

CreatedBy

Reference of user who has created this record. See also Security User

VarWChar

50

 

 

 

 

Modified

Date of last modification of this record

DBTimeStamp

4

 

 

 

 

ModifiedBy

Reference of user who has modified this record. See also Security User

VarWChar

50

 

 

 

 

LoyaltyConfigKey

Reference Key of CfgLoyaltyConfig. See also CfgLoyaltyConfig

VarWChar

50

 

((0))

 

 

PointsExpiringInDays

Specify the N Point away from next level value to trigger the email notification

Integer

4

dbimages_tick

 

 

 

PointsAwayFromNextLevel

Point which will expire in next mentioned days

Integer

4

dbimages_tick

 

 

Indexes

Index

Description

Primary

Unique

PK_LoyNotification

 

dbimages_tick

dbimages_tick

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[LoyNotification](

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

[Id] [nvarchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[Description] [nvarchar](200) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[Event] [int] NULL,

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

[IsConfigurable] [bit] NOT NULL,

[Duration] [int] NOT NULL,

[FromEmail] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[DisplayName] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[IsDeleted] [bit] NOT NULL,

[Created] [datetime] NOT NULL,

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

[Modified] [datetime] NOT NULL,

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

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

[PointsExpiringInDays] [int] NULL,

[PointsAwayFromNextLevel] [int] NULL,

CONSTRAINT [PK_LoyNotification] PRIMARY KEY CLUSTERED

(

[NotificationKey] 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].[LoyNotification] ADD CONSTRAINT [LoyNotification_IsConfigurable] DEFAULT ((0)) FOR [IsConfigurable]

ALTER TABLE [dbo].[LoyNotification] ADD CONSTRAINT [LoyNotification_Duration] DEFAULT ((0)) FOR [Duration]

ALTER TABLE [dbo].[LoyNotification] ADD CONSTRAINT [DF__LoyNotifi__Loyal__6438C128] DEFAULT ((0)) FOR [LoyaltyConfigKey]

See Also

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.