<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > LoySlab Table |
Navigation: iVend Database Database > Tables >
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 |
|
Published for Replication |
|
Rows |
0 |
Data Space Used |
0.00 KB |
Index Space Used |
0.00 KB |
Columns
|
Column Name |
Description |
Datatype |
Length |
Allow Nulls |
Default |
Formula |
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 |
|
|
|
|
Id |
Specify the Id of slab |
VarWChar |
20 |
|
|
|
|
Description |
Specify the description of slab |
VarWChar |
100 |
|
|
|
|
MinimumValue |
hold the minimum value of slab |
Numeric |
9 (18,5) |
|
|
|
|
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 |
|
|
|
|
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 |
|
Objects that depend on LoySlab
|
Database Object |
Object Type |
Description |
Dep Level |
Stored Procedure |
|
1 |
||
View |
|
1 |
||
View |
|
1 |
||
Stored Procedure |
|
1 |
||
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
© 2019 All Rights Reserved.
Send comments on this topic.