<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > RepLoyaltyIntegrationLog Table |
Navigation: iVend Database Database > Tables >
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 |
|
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 |
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 |
((0)) |
|
|
|
ErrorMessage |
Value is the Error message while integrating loyalty |
VarChar |
5000 |
|
|
|
|
LogDatetime |
Datetime for the processed record |
DBTimeStamp |
4 |
(getdate()) |
|
Indexes
Index |
Description |
Primary |
Unique |
|
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
© 2019 All Rights Reserved.
Send comments on this topic.