<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > CfgReferralSetup Table |
Navigation: iVend Database Database > Tables >
iVend 6.6 Database Help
CfgReferralSetup Table
Collapse All Expand All
iVend Database Database : CfgReferralSetup Table |
Description
Defines the Loyalty Refferal Setup in the system.
Properties
Creation Date |
11/5/2015 4:59 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 |
ReferralSetupKey |
System generated Primary key of the table. |
VarWChar |
50 |
|
|
|
|
|
ThresholdPoints |
setup the threashold points to award the bonus points to referee |
Integer |
4 |
|
|
|
|
ThresholdCurrency |
setup the threashold currecy to award the bonus currency to referee |
Numeric |
9 (18,4) |
|
|
|
|
AwardBonusPoints |
Award bonus points to referee when referred member cross the threshold points |
Integer |
4 |
|
|
|
|
IsDeleted |
Value is True if the record has been deleted from the system. Record is always Soft Deleted |
Boolean |
1 |
|
((0)) |
|
|
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 |
|
|
|
|
AwardBonusCurrency |
Award bonus currency to referee when referred member cross the threshold currency |
Integer |
4 |
|
|
|
|
LoyaltyConfigKey |
Refers to the key of the Loyalty program .See also Loyalty Program |
VarWChar |
50 |
|
((0)) |
|
Indexes
Index |
Description |
Primary |
Unique |
|
SQL
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [dbo].[CfgReferralSetup]( [ReferralSetupKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [ThresholdPoints] [int] NULL, [ThresholdCurrency] [numeric](18, 4) NULL, [AwardBonusPoints] [int] 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, [AwardBonusCurrency] [int] NULL, [LoyaltyConfigKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, CONSTRAINT [PK_CfgThresholdSetup] PRIMARY KEY CLUSTERED ( [ReferralSetupKey] 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].[CfgReferralSetup] ADD CONSTRAINT [DF_CfgThresholdSetup_IsDeleted] DEFAULT ((0)) FOR [IsDeleted] ALTER TABLE [dbo].[CfgReferralSetup] ADD CONSTRAINT [DF__CfgReferr__Loyal__6DC22B62] DEFAULT ((0)) FOR [LoyaltyConfigKey] |
See Also
© 2019 All Rights Reserved.
Send comments on this topic.