|
<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > SchSchedule Table |
Navigation: iVend Database Database > Tables >
iVend 6.6 Database Help
SchSchedule Table
Collapse All Expand All
iVend Database Database : SchSchedule Table |
Description
Stores the schedule details
Properties
Creation Date |
4/13/2015 12:00 PM |
File Group |
PRIMARY |
Text File Group |
|
System Object |
|
Published for Replication |
|
Rows |
2 |
Data Space Used |
8.00 KB |
Index Space Used |
8.00 KB |
Columns
|
Column Name |
Description |
Datatype |
Length |
Allow Nulls |
Default |
Formula |
|
ScheduleKey |
Primary Key |
VarWChar |
50 |
|
|
|
|
Id |
Id of Schedule |
VarWChar |
40 |
|
|
|
|
Description |
Description of Schedule |
VarWChar |
100 |
|
|
|
|
Type |
Type of Job. 1 - Report, 2 - Query, 3 - SendNotificationToLoyaltyCustomers, 4 - LoyaltyPointsExpiry |
Integer |
4 |
|
|
|
|
StartDate |
Start Date for schedule, on which it should start executing the schedule |
DBTimeStamp |
4 |
|
|
|
|
StartTime |
Start Time for schedule, combined with Start Date, the time it should start executing the schedule |
DBTimeStamp |
4 |
|
|
|
|
Recurrence |
Defines how the the Schedule will be executed repeatedly. 0 - NoRepeat, 1 - Minute, 2 - Hourly, 3 - Daily, 4 - Weekly, 5 - Weekdays, 6 - Monthly, 7 - Yearly, 8 - ForEvery |
Integer |
4 |
|
|
|
|
IntervalType |
Type of Interval when Recurrence is 8 - ForEvery. 0 -None, 1 - Minutes, 2 - Hours, 3 - Days, 4 - Weeks, 5 - Months |
Integer |
4 |
|
|
|
|
Interval |
Interval value with Interval Type |
Integer |
4 |
|
|
|
|
EndType |
When the schedule will stop the execution if the schedule. 0 - NoEnd , 1 - AfterRepeatingSpecifiedTimes, 2 - EndDate |
Integer |
4 |
|
|
|
|
RepeatTimes |
When EndType is 1 - AfterRepeatingSpecifiedTimes. How many times the schedule will be executed |
Integer |
4 |
|
|
|
|
EndDate |
End Date for schedule, on which it should stop executing the schedule |
DBTimeStamp |
4 |
|
|
|
|
EndTime |
End Time for schedule, combined with End Date, at what time it should stop executing the schedule |
DBTimeStamp |
4 |
|
|
|
|
Configuration |
More information about job. For example, contains parameter info for Report type job |
VarWChar |
4000 |
|
|
|
|
IsEnabled |
Whether the Schedule is enabled for execution. |
Boolean |
1 |
|
|
|
|
CreatedBy |
Reference of user who has created this record. See also Security User |
VarWChar |
50 |
|
|
|
|
Created |
Date of creation of this record |
DBTimeStamp |
4 |
|
|
|
|
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 |
|
|
|
|
SourceKey |
Detail of Source - Report Id for Report type Scheduler, Query for Query type Schedule |
VarWChar |
50 |
|
|
|
|
SMSShortCode |
SMS Short code for identifying the Schedule. Matching job executes on receiving the SMS from the user defined from Human Resources. Executes only on enabling RunOnRequest |
VarWChar |
50 |
|
|
|
|
RunOnRequest |
true if enabled for SMS Response. Need to define SMSShortCode also |
Boolean |
1 |
|
|
|
|
MailTo |
CC address(es) for email, separated by comma() or semi-colon(;) |
VarWChar |
4000 |
|
|
|
|
MailCC |
CC address(es) for email, separated by comma() or semi-colon(;) |
VarWChar |
4000 |
|
|
|
|
Subject |
Subject text for eMail |
VarWChar |
4000 |
|
|
|
|
Body |
Email body Text |
VarWChar |
4000 |
|
|
|
|
MailFrom |
From address for the email |
VarWChar |
100 |
|
|
|
|
IsSystem |
1 - System, otherwise 0. System type schedules will not be visible from UI to the user |
Boolean |
1 |
|
|
|
|
EmailSMSTemplateKey |
Stores the Em ail smstemplate key for Schedule |
VarWChar |
50 |
|
|
|
|
OnSunday |
Stores the On sunday for Schedule |
Boolean |
1 |
|
|
|
|
OnMonday |
Stores the On monday for Schedule |
Boolean |
1 |
|
|
|
|
OnTuesday |
Stores the On tuesday for Schedule |
Boolean |
1 |
|
|
|
|
OnWednesday |
Stores the On wednesday for Schedule |
Boolean |
1 |
|
|
|
|
OnThursday |
Stores the On thursday for Schedule |
Boolean |
1 |
|
|
|
|
OnFriday |
Stores the On friday for Schedule |
Boolean |
1 |
|
|
|
|
OnSaturday |
Stores the On saturday for Schedule |
Boolean |
1 |
|
|
|
|
SendType |
|
Integer |
4 |
|
((0)) |
|
Indexes
Index |
Description |
Primary |
Unique |
|
|
|
SQL
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [dbo].[SchSchedule]( [ScheduleKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Id] [nvarchar](40) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Description] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Type] [int] NULL, [StartDate] [datetime] NULL, [StartTime] [datetime] NULL, [Recurrence] [int] NULL, [IntervalType] [int] NULL, [Interval] [int] NULL, [EndType] [int] NULL, [RepeatTimes] [int] NULL, [EndDate] [datetime] NULL, [EndTime] [datetime] NULL, [Configuration] [nvarchar](4000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [IsEnabled] [bit] NULL, [CreatedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Created] [datetime] NULL, [ModifiedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Modified] [datetime] NULL, [IsDeleted] [bit] NULL, [SourceKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [SMSShortCode] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [RunOnRequest] [bit] NULL, [MailTo] [nvarchar](4000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [MailCC] [nvarchar](4000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Subject] [nvarchar](4000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Body] [nvarchar](4000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [MailFrom] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [IsSystem] [bit] NULL, [EmailSMSTemplateKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [OnSunday] [bit] NULL, [OnMonday] [bit] NULL, [OnTuesday] [bit] NULL, [OnWednesday] [bit] NULL, [OnThursday] [bit] NULL, [OnFriday] [bit] NULL, [OnSaturday] [bit] NULL, [SendType] [int] NULL, CONSTRAINT [PK_SchSchedule] PRIMARY KEY CLUSTERED ( [ScheduleKey] 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].[SchSchedule] ADD CONSTRAINT [Cons_SchSchedule_SendType] DEFAULT ((0)) FOR [SendType] |
See Also
© 2019 All Rights Reserved.
Send comments on this topic.