LoyCardTransfer Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

LoyCardTransfer Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

LoyCardTransfer Table

Collapse All Expand All

iVend Database Database : LoyCardTransfer Table

Description

Stores the Header detail of Loyalty Card Transfer 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

LoyaltyCardTransferkey

Primary Key

VarWChar

50

 

 

 

 

CardTransferNumber

Value is auto generated document number series for card transfer

VarWChar

50

 

 

 

 

ToCustomerKey

Reference Key of Loyalty Card Information. See also Loyalty Card Information.

VarWChar

50

dbimages_tick

 

 

 

StoreKey

Reference Key of Store. See also Store.

VarWChar

50

dbimages_tick

 

 

 

PointsBeforeTransfer

Hold the avaliable points of Loyalty customer before transfer

Integer

4

dbimages_tick

 

 

 

CurrencyBeforeTransfer

Hold the avaliable currency of Loyalty customer before transfer

Numeric

9 (18,0)

dbimages_tick

 

 

 

PointsAfterTransfer

Hold the avaliable points of Loyalty customer after transfer

Integer

4

dbimages_tick

 

 

 

CurrencyAfterTransfer

Hold the avaliable currency of Loyalty customer after transfer

Numeric

9 (18,0)

dbimages_tick

 

 

 

SlabKeyBeforeTransfer

Hold the slab of Loyalty customer before transfer

VarWChar

50

dbimages_tick

 

 

 

SlabKeyAfterTransfer

Hold the slab of Loyalty customer after transfer

VarWChar

50

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

 

 

 

 

ModifiedBy

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

VarWChar

50

 

 

 

 

Modified

Date of last modification of this record

DBTimeStamp

4

 

 

 

 

IsDeleted

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

Boolean

1

 

 

 

 

LoyaltyConfigKey

Reference Key of CfgLoyaltyConfig. See also CfgLoyaltyConfig

VarWChar

50

 

((0))

 

Indexes

Index

Description

Primary

Unique

PK_LoyCardTransfer

 

dbimages_tick

dbimages_tick

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[LoyCardTransfer](

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

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

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

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

[PointsBeforeTransfer] [int] NULL,

[CurrencyBeforeTransfer] [decimal](18, 0) NULL,

[PointsAfterTransfer] [int] NULL,

[CurrencyAfterTransfer] [decimal](18, 0) NULL,

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

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

[Created] [datetime] NOT NULL,

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

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

[Modified] [datetime] NOT NULL,

[IsDeleted] [bit] NOT NULL,

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

CONSTRAINT [PK_LoyCardTransfer] PRIMARY KEY CLUSTERED

(

[LoyaltyCardTransferkey] 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].[LoyCardTransfer] ADD CONSTRAINT [DF__LoyCardTr__Loyal__6809520C] DEFAULT ((0)) FOR [LoyaltyConfigKey]

See Also

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.