SchSchedule Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

SchSchedule Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

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

dbimages_boolean-false

Published for Replication

dbimages_boolean-false

Rows

2

Data Space Used

8.00 KB

Index Space Used

8.00 KB

Columns

 

Column Name

Description

Datatype

Length

Allow Nulls

Default

Formula

Primary Key

ScheduleKey

Primary Key

VarWChar

50

 

 

 

 

Id

Id of Schedule

VarWChar

40

dbimages_tick

 

 

 

Description

Description of Schedule

VarWChar

100

dbimages_tick

 

 

 

Type

Type of Job. 1 - Report, 2 - Query, 3 - SendNotificationToLoyaltyCustomers, 4 - LoyaltyPointsExpiry

Integer

4

dbimages_tick

 

 

 

StartDate

Start Date for schedule, on which it should start executing the schedule

DBTimeStamp

4

dbimages_tick

 

 

 

StartTime

Start Time for schedule, combined with Start Date, the time it should start executing the schedule

DBTimeStamp

4

dbimages_tick

 

 

 

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

dbimages_tick

 

 

 

IntervalType

Type of Interval when Recurrence is 8 - ForEvery. 0 -None, 1 - Minutes, 2 - Hours, 3 - Days, 4 - Weeks, 5 - Months

Integer

4

dbimages_tick

 

 

 

Interval

Interval value with Interval Type

Integer

4

dbimages_tick

 

 

 

EndType

When the schedule will stop the execution if the schedule. 0 - NoEnd , 1 - AfterRepeatingSpecifiedTimes, 2 - EndDate

Integer

4

dbimages_tick

 

 

 

RepeatTimes

When EndType is 1 - AfterRepeatingSpecifiedTimes. How many times the schedule will be executed

Integer

4

dbimages_tick

 

 

 

EndDate

End Date for schedule, on which it should stop executing the schedule

DBTimeStamp

4

dbimages_tick

 

 

 

EndTime

End Time for schedule, combined with End Date, at what time it should stop executing the schedule

DBTimeStamp

4

dbimages_tick

 

 

 

Configuration

More information about job. For example, contains parameter info for Report type job

VarWChar

4000

dbimages_tick

 

 

 

IsEnabled

Whether the Schedule is enabled for execution.

Boolean

1

dbimages_tick

 

 

 

CreatedBy

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

VarWChar

50

dbimages_tick

 

 

 

Created

Date of creation of this record

DBTimeStamp

4

dbimages_tick

 

 

 

ModifiedBy

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

VarWChar

50

dbimages_tick

 

 

 

Modified

Date of last modification of this record

DBTimeStamp

4

dbimages_tick

 

 

 

IsDeleted

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

Boolean

1

dbimages_tick

 

 

 

SourceKey

Detail of Source - Report Id for Report type Scheduler, Query for Query type Schedule

VarWChar

50

dbimages_tick

 

 

 

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

dbimages_tick

 

 

 

RunOnRequest

true if enabled for SMS Response. Need to define SMSShortCode also

Boolean

1

dbimages_tick

 

 

 

MailTo

CC address(es) for email, separated by comma() or semi-colon(;)

VarWChar

4000

dbimages_tick

 

 

 

MailCC

CC address(es) for email, separated by comma() or semi-colon(;)

VarWChar

4000

dbimages_tick

 

 

 

Subject

Subject text for eMail

VarWChar

4000

dbimages_tick

 

 

 

Body

Email body Text

VarWChar

4000

dbimages_tick

 

 

 

MailFrom

From address for the email

VarWChar

100

dbimages_tick

 

 

 

IsSystem

1 - System, otherwise 0. System type schedules will not be visible from UI to the user

Boolean

1

dbimages_tick

 

 

 

EmailSMSTemplateKey

Stores the Em ail smstemplate key for Schedule

VarWChar

50

dbimages_tick

 

 

 

OnSunday

Stores the On sunday for Schedule

Boolean

1

dbimages_tick

 

 

 

OnMonday

Stores the On monday for Schedule

Boolean

1

dbimages_tick

 

 

 

OnTuesday

Stores the On tuesday for Schedule

Boolean

1

dbimages_tick

 

 

 

OnWednesday

Stores the On wednesday for Schedule

Boolean

1

dbimages_tick

 

 

 

OnThursday

Stores the On thursday for Schedule

Boolean

1

dbimages_tick

 

 

 

OnFriday

Stores the On friday for Schedule

Boolean

1

dbimages_tick

 

 

 

OnSaturday

Stores the On saturday for Schedule

Boolean

1

dbimages_tick

 

 

 

SendType

 

Integer

4

dbimages_tick

((0))

 

Indexes

Index

Description

Primary

Unique

PK_SchSchedule

 

dbimages_tick

dbimages_tick

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

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.