RepLoyaltyIntegrationLog Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

RepLoyaltyIntegrationLog Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

RepLoyaltyIntegrationLog Table

Collapse All Expand All

iVend Database Database : RepLoyaltyIntegrationLog Table

Description

Table used maintian the log for loyalty records

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

LoyaltyIntegrationKey

Primary key for the table

VarWChar

50

 

 

 

 

SourceType

Source type is the value for the object for which the operation is being performed

Integer

4

 

 

 

 

SourceKey

Refers to the Primary Key of the record to be integrated

VarWChar

50

 

 

 

 

OperationType

Valid values are:

Add = 0,

Update = 1,

SoftDelete = 2,

HardDelete = 3

SmallInt

2

 

 

 

 

Flag

Value is 0 or 1 depends upon processed record with error or not

Boolean

1

 

((0))

 

 

Status

Values is the status for a record.

Boolean

1

dbimages_tick

((0))

 

 

ErrorMessage

Value is the Error message while integrating loyalty

VarChar

5000

dbimages_tick

 

 

 

LogDatetime

Datetime for the processed record

DBTimeStamp

4

dbimages_tick

(getdate())

 

Indexes

Index

Description

Primary

Unique

PK__RepLoyal__3039AAFD0BF1ACC7

 

dbimages_tick

dbimages_tick

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[RepLoyaltyIntegrationLog](

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

[SourceType] [int] NOT NULL,

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

[OperationType] [smallint] NOT NULL,

[Flag] [bit] NOT NULL,

[Status] [bit] NULL,

[ErrorMessage] [varchar](5000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[LogDatetime] [datetime] NULL,

CONSTRAINT [PK__RepLoyal__3039AAFD0BF1ACC7] PRIMARY KEY CLUSTERED

(

[LoyaltyIntegrationKey] 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].[RepLoyaltyIntegrationLog] ADD CONSTRAINT [DF_RepLoyaltyIntegrationLog_Flag] DEFAULT ((0)) FOR [Flag]

ALTER TABLE [dbo].[RepLoyaltyIntegrationLog] ADD CONSTRAINT [DF_RepLoyaltyIntegrationLog_Status] DEFAULT ((0)) FOR [Status]

ALTER TABLE [dbo].[RepLoyaltyIntegrationLog] ADD CONSTRAINT [DF_RepLoyaltyIntegrationLog_LogDatetime] DEFAULT (getdate()) FOR [LogDatetime]

See Also

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.