LoyPrePrintedCard Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

LoyPrePrintedCard Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

LoyPrePrintedCard Table

Collapse All Expand All

iVend Database Database : LoyPrePrintedCard Table

Description

Stores the Header detail of Loyalty PrePrinted Cards 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

PrePrintedCardKey

Primary Key

VarWChar

50

 

 

 

 

ReceiptNumber

Hold the receipt number for the Card

VarWChar

20

dbimages_tick

 

 

 

ReceiptDate

Date printed on the Receipt

DBTimeStamp

4

dbimages_tick

 

 

 

StoreKey

Reference Key of Store. See also Store.

VarWChar

50

 

 

 

 

Quantity

Referes to the Quantity of the Cards

Integer

4

 

 

 

 

Comment

Refers to the Comment while adding the card in the System

VarWChar

500

dbimages_tick

 

 

 

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

 

 

 

 

ApplicableForEnterprise

Value is true if the card is applicable for enterprise

Boolean

1

 

((0))

 

Indexes

Index

Description

Primary

Unique

PK_LoyPrePrintedCard

 

dbimages_tick

dbimages_tick

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[LoyPrePrintedCard](

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

[ReceiptNumber] [nvarchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[ReceiptDate] [datetime] NULL,

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

[Quantity] [int] NOT NULL,

[Comment] [nvarchar](500) COLLATE SQL_Latin1_General_CP1_CI_AS 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,

[ApplicableForEnterprise] [bit] NOT NULL,

CONSTRAINT [PK_LoyPrePrintedCard] PRIMARY KEY CLUSTERED

(

[PrePrintedCardKey] 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].[LoyPrePrintedCard] ADD CONSTRAINT [DF__LoyPrePri__Appli__32A16594] DEFAULT ((0)) FOR [ApplicableForEnterprise]

See Also

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.