LoySlab Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

LoySlab Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

LoySlab Table

Collapse All Expand All

iVend Database Database : LoySlab Table

Description

Stores Loyalty Slab configured 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

SlabKey

Primary Key

VarWChar

50

 

 

 

 

SlabVersion

Refers to the Slab version - Number of times a Slab has been modified can be tracked here

VarWChar

50

dbimages_tick

 

 

 

Id

Specify the Id of slab

VarWChar

20

 

 

 

 

Description

Specify the description of slab

VarWChar

100

dbimages_tick

 

 

 

MinimumValue

hold the minimum value of slab

Numeric

9 (18,5)

dbimages_tick

 

 

 

PointsConversionFactor

Holds the value used to convert the Loyalty points

Integer

4

 

 

 

 

PointsToLocalCurrency

Holds the value used to convert the Loyalty points to local Currency

Numeric

9 (18,5)

 

 

 

 

RedemptionPercent

How much percentage of the Loyalty points can be redeemed in a transaction

Integer

4

 

 

 

 

IsDeleted

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

Boolean

1

dbimages_tick

 

 

 

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))

 

 

RedemptionInMultiples

Stores redemption in multiples values

Integer

4

 

((0))

 

Indexes

Index

Description

Primary

Unique

PK_LoySlab

 

dbimages_tick

dbimages_tick

Objects that depend on LoySlab

 

Database Object

Object Type

Description

Dep Level

Loy_GetPointsSummaryForPortalIntegration procedure

Loy_GetPointsSummaryForPortalIntegration

Stored Procedure

 

1

Loyalty_ActiveBillValue view

Loyalty_ActiveBillValue

View

 

1

Loyalty_ActiveTransactionCount view

Loyalty_ActiveTransactionCount

View

 

1

LoyUpdatePointSummary procedure

LoyUpdatePointSummary

Stored Procedure

 

1

Rpt_ActiveLoyalty function

Rpt_ActiveLoyalty

User Defined Function

 

1

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[LoySlab](

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

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

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

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

[MinimumValue] [numeric](18, 5) NULL,

[PointsConversionFactor] [int] NOT NULL,

[PointsToLocalCurrency] [numeric](18, 5) NOT NULL,

[RedemptionPercent] [int] NOT NULL,

[IsDeleted] [bit] 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,

[RedemptionInMultiples] [int] NOT NULL,

CONSTRAINT [PK_LoySlab] PRIMARY KEY CLUSTERED

(

[SlabKey] 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].[LoySlab] ADD CONSTRAINT [DF__LoySlab__Loyalty__63449CEF] DEFAULT ((0)) FOR [LoyaltyConfigKey]

ALTER TABLE [dbo].[LoySlab] ADD CONSTRAINT [DF__LoySlab__Redempt__3C6AC6F0] DEFAULT ((0)) FOR [RedemptionInMultiples]

See Also

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.