<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > LoyPlanDetails Table |
Navigation: iVend Database Database > Tables >
iVend 6.6 Database Help
LoyPlanDetails Table
Collapse All Expand All
iVend Database Database : LoyPlanDetails Table |
Description
Stores the details of Loyalty Plan 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 |
PlanDetailKey |
Primary Key |
VarWChar |
50 |
|
|
|
|
|
PlanKey |
Reference Key of Plan. See also Plan. |
VarWChar |
50 |
|
|
|
|
Exempt |
Hold true/false |
Boolean |
1 |
|
|
|
|
MustProcess |
Hold true/false |
Boolean |
1 |
|
|
|
|
LoyCustomer |
Refers to the type of Loy Customer. Valid values are: All = 0, CustomerCode = 1, CustomerGroup = 2 |
Integer |
4 |
|
|
|
|
CustomerValue |
Reference Key of Customer/Customer Group. See also Customer/Customer Group. |
VarWChar |
50 |
|
|
|
|
SlabKey |
Reference Key of Slab. See also Slab. |
VarWChar |
50 |
|
|
|
|
CriteriaGroup |
Refers to the type of Criteria Group. Valid values are: All = 0, Items = 1, ItemGroup = 2, Promotion = 3, Layaway = 4, BillValue =5, BillQuantity = 6 |
Integer |
4 |
|
|
|
|
CriteriaValue |
Reference Key of Item/Item Group/Promotion/Layaway. See also Item/Item Group/Promotion/Layaway. |
VarWChar |
50 |
|
|
|
|
TransactionOn |
Refers to the type of Transaction On. Valid values are: Every = 0, Equal = 1, Greater = 2 |
Integer |
4 |
|
|
|
|
TransactionCount |
Specify the value of transaction count |
Integer |
4 |
|
|
|
|
CalculationBasis |
Refers to the type of Calculation Basis. Valid values are: Amount = 0, Quantity = 1 |
Integer |
4 |
|
|
|
|
CalculationOn |
Refers to the type of Calculation On. Valid values are: Every = 0, GreaterOrEqual = 1 |
Integer |
4 |
|
|
|
|
CalculationValue |
Specify the value of calculation |
Numeric |
9 (18,2) |
|
|
|
|
TenderKey |
Reference Key of Payment Type. See also Payment Type. |
VarWChar |
50 |
|
|
|
|
Award |
Refers to the type of Award. Valid values are: Point = 0, Currency = 1 |
Integer |
4 |
|
|
|
|
AwardValue |
Specify the award value. |
Numeric |
9 (18,2) |
|
|
|
|
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 |
|
|
|
Indexes
Index |
Description |
Primary |
Unique |
|
SQL
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [dbo].[LoyPlanDetails]( [PlanDetailKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [PlanKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Exempt] [bit] NOT NULL, [MustProcess] [bit] NOT NULL, [LoyCustomer] [int] NOT NULL, [CustomerValue] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [SlabKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [CriteriaGroup] [int] NOT NULL, [CriteriaValue] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [TransactionOn] [int] NOT NULL, [TransactionCount] [int] NOT NULL, [CalculationBasis] [int] NOT NULL, [CalculationOn] [int] NOT NULL, [CalculationValue] [numeric](18, 2) NULL, [TenderKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Award] [int] NOT NULL, [AwardValue] [numeric](18, 2) NOT 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, CONSTRAINT [PK_LoyPlanDetails] PRIMARY KEY CLUSTERED ( [PlanDetailKey] 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
© 2019 All Rights Reserved.
Send comments on this topic.