Scheduling-Database Views Reference
Scheduling-Database Views Reference
Database Views
Reference Guide
The information in this document is subject to change without notice and should not be construed as a commitment
by Kronos Incorporated. Kronos Incorporated assumes no responsibility for any errors that may appear in this
manual. This document or any part thereof may not be reproduced in any form without the written permission of
Kronos Incorporated. All rights reserved. Copyright 2011.
Altitude, Altitude Dream, Cambridge Clock, CardSaver, Datakeeper, Datakeeper Central, eForce, Gatekeeper,
Gatekeeper Central, Imagekeeper, Jobkeeper Central, Keep.Trac, Kronos, Kronos Touch ID, the Kronos logo, My
Genies, PeoplePlanner, PeoplePlanner & Design, Schedule Manager & Design, ShiftLogic, ShopTrac, ShopTrac
Pro, StarComm, StarPort, StarSaver, StarTimer, TeleTime, Timekeeper, Timekeeper Central, TimeMaker, Unicru,
Visionware, Workforce Accruals, Workforce Central, Workforce Decisions, Workforce Express, Workforce Genie,
and Workforce TeleTime are registered trademarks of Kronos Incorporated or a related company. Altitude MPP,
Altitude MPPXpress, Altitude Pairing, Altitude PBS, Comm.Mgr, CommLink, DKC/Datalink, eDiagnostics, Experts at
Improving the Performance of People and Business, FasTrack, Hireport, HR and Payroll Answerforce, HyperFind,
Kronos 4500 Touch ID, Kronos 4500, Kronos 4510, Kronos Acquisition, Kronos e-Central, Kronos InTouch, Kronos
KnowledgePass, Kronos TechKnowledgy, KronosWorks, KVC OnDemand, Labor Plus, Momentum Essentials,
Momentum Online, Momentum, MPPXpress, Overall Labor Effectiveness, Schedule Assistant, Smart Scheduler,
Smart View, Start Quality, Start WIP, Starter Series, StartLabor, TeleStaff, Timekeeper Decisions, Timekeeper Web,
VisionPlus, Winstar Elite, WIP Plus, Workforce Absence Manager, Workforce Acquisition, Workforce Activities,
Workforce Analytics, Workforce Attendance, Workforce Central Portal, Workforce Connect, Workforce Employee,
Workforce ESP, Workforce Forecast Manager, Workforce HR, Workforce Leave, Workforce Manager, Workforce
MobileTime, Workforce Operations Planner, Workforce Payroll, Workforce Record Manager, Workforce Recruiter,
Workforce Scheduler, Workforce Smart Scheduler, Workforce Tax Filing, Workforce Timekeeper, Workforce View,
and Workforce Worksheet are trademarks of Kronos Incorporated or a related company.
The source code for Equinox is available for free download at www.eclipse.org.
All other trademarks or registered trademarks used herein are the property of their respective owners and are used
for identification purposes only.
When using and applying the information generated by Kronos products, customers should ensure that they comply
with the applicable requirements of federal and state law, such as the Fair Labor Standards Act. Nothing in this
Guide shall be construed as an assurance or guaranty that Kronos products comply with any such laws.
Published by Kronos Incorporated
297 Billerica Road, Chelmsford, Massachusetts 01824-4119 USA
Phone: 978-250-9800, Fax: 978-367-5900
Kronos Incorporated Global Support: 1-800-394-HELP (1-800-394-4357)
For links to information about international subsidiaries of Kronos Incorporated, go to
http://www.kronos.com
Product Version
Release Date
6.3
December 2011
Contents
Chapter 1
This chapter describes the suite system database views. Using views simplifies the
process of retrieving database records for display or reports.
This chapter contains the following sections:
Chapter 1
About Views
The advantage of using a view is that a view masks the complexities of the
database. The view makes multiple complex tables look like a single table. The
columns of a view originate in multiple tables of the suite database. The columns
are logically grouped so all the information you typically need about a functional
area is available from a single view or from a join of two related views.
A view does not exist in the database as a physical object. Instead, the view
columns map to a set of tables where real data is stored. If the underlying details
of a table column change, the view continues to provide the correct data based on
the columns that are mapped to the view.
At the execution of an SQL SELECT statement on the view or a request to create
a standard suite report, the view extracts data from one or more of the tables
within its definition.
Note: The INSERT, UPDATE, and DELETE SQL statements are invalid for suite
views.
Performance Considerations
To maintain the advantage of working with a single view instead of multiple
tables, fine-tune the SQL queries as much as possible.
Records are extracted using SELECT statements, which pinpoint only the data
that you want to retrieve. Follow these performance rules:
Avoid using additional SQL functions (such as MIN, MAX, SUM); they
require more reads and might impact performance.
In a SELECT statement, specify only the columns that you need for the data
that you want to extract. Restricting the number of column reads enhances
system performance.
Specify column data values in the SQL WHERE clause for all performance
columns.
Views can have relationships to other views through one or more columns.
Based on these columns, one or more views can be joined in a single SQL
statement. The number of columns from the two tables must be equal.
Chapter 1
The format of the data contained in a column. For more information about data
types, refer to the documentation for your relational database management
system.
null constraint
The value of a view indicates whether a column can contain null values or must
contain a value. You can find the value for each view in Chapter 2, Scheduling
Views in the Column Data sections.
unique identifier
One or more columns uniquely identify each row in a view. When data values are
provided in an SQL WHERE clause, only a single row is returned from the view
for all columns that are specified in the unique identifier.
Chapter 2
Scheduling Views
Column data
Column name
Null constraint
Chapter 2
Scheduling Views
V_SCHEDWCOVERAGE
The V_SCHEDWCOVERAGE view stores information that is needed for the
Location Schedule with Coverage report.
10
Column
Oracle
SQL Server
Null Constraint
CALENDARDATE
Date
DateTime
Null
PERSONFULLNM
nVarChar2(64)
nVarChar(64)
Null
PRIMORGNMPATHTXT
nVarChar2(1000)
nVarChar(1000)
Null
SPANID
Number(10)
Int
Null
SPANNM
nVarChar2(50)
nVarChar(50)
Null
SPANSTART
Date
DateTime
Null
SPANEND
Date
DateTime
Null
SPANTYPEID
Number(10)
Int
Null
EMPLOYEEID
Number(10)
Int
Null
PRIMORGJOBID
Number(10)
Int
Null
ORGJOBIDSID
Number(10)
Int
Null
JOBORDER
Number(10)
Int
Null
SHIFTID
Number(10)
Int
Null
SHIFTDTLPAYCODENM nVarChar2(50)
nVarChar(50)
Null
SHIFTLABELNM
nVarChar2(30)
nVarChar(30)
Null
GROUPORGNMPATH
nVarChar(500)
nVarChar(500)
Null
ISPARTIALSHIFTSW
Number(1)
Int
Null
ISSHIFTHASXFERSW
Number(1)
Int
Null
SHIFTSTARTDTM
Date
DateTime
Null
SHIFTENDDTM
Date
DateTime
Null
SHIFTMAXBYDATENUM Number(10)
Int
Null
FTE
Number(10)
Int
Null
PAYCODEID
Number(10)
Int
Null
CONTRIBUTES
Number(10)
Int
Null
V_SCHEDWCOVERAGE
Column
Oracle
SQL Server
Null Constraint
SHIFTNUM
Number(10)
Int
Null
PLUSPOSITION
Number(10)
Int
Null
XPOSITION
Number(10)
Int
Null
MONTHGROUP
Number(10)
Int
Null
Column Definitions
CALENDARDATE The Calendar Date column contains the date of the daily
schedule.
PERSONFULLNM The Person Full Name column contains the full name of
the user that posted the schedule, which includes last name, first name, and middle
initial.
PRIMORGNMPATHTXT The Primary Organization Path Text column
contains a concatenation of the organization names (delimited by slashes) of the
ancestor organizations up to the root of the Organizational Map hierarchy for this
organizational job.
SPANID The Span ID column contains the identity of the shift or schedule
zone.
SPANNM The Span Name column contains the name of the shift or schedule
zone.
SPANSTART The Shift Start column contains the start time of the shift or
schedule zone.
SPANEND The Shift End column contains the end time of the shift or
schedule zone
SPANTYPEID The Span Type ID column contains a number that identifies
the type of span, such as shift or schedule zone. This column is a foreign key that
refers to the SPANTYPE table.
EMPLOYEEID The Employee ID column identifies the employee whose
daily schedule it is. This column is a foreign key to the EMPLOYEEID column in
the JAIDS table.
11
Chapter 2
Scheduling Views
12
V_SCHEDWCOVERAGE
13
Chapter 2
Scheduling Views
VP_ASSIGNSCHEDULE
The Assigned Schedule view stores information about shift and shift-segment
details that are assigned to an employee.
14
Column
Oracle
SQL Server
Null Constraint
SHIFTSTARTDATE
Date
DateTime
Not Null
SHIFTENDDATE
Date
DateTime
Not Null
SHIFTSTARTTIME
Date
DateTime
Null
SHIFTENDTIME
Date
DateTime
Null
SHIFTTYPE
VarChar2(30)
nVarChar(30)
Not Null
SHIFTSEGMENTTYPE
VarChar2(30)
nVarChar(30)
Null
SHIFTCODENAME
VarChar2(30)
nVarChar(30)
Null
SHIFTCODECOMMENT
VarChar2(250)
nVarChar(250)
Null
GRPSCHEDULENAME
VarChar2(50)
nVarChar(50)
Null
WORKRULENAME
VarChar2(50)
nVarChar(50)
Null
LABORACCTNAME
VarChar2(230)
nVarChar(230)
Null
LABORLEVELNAME1
VarChar2(50)
nVarChar(50)
Null
LABORLEVELNAME2
VarChar2(50)
nVarChar(50)
Null
LABORLEVELNAME3
VarChar2(50)
nVarChar(50)
Null
LABORLEVELNAME4
VarChar2(50)
nVarChar(50)
Null
LABORLEVELNAME5
VarChar2(50)
nVarChar(50)
Null
LABORLEVELNAME6
VarChar2(50)
nVarChar(50)
Null
LABORLEVELNAME7
VarChar2(50)
nVarChar(50)
Null
PERSONFULLNAME
VarChar2(64)
nVarChar(64)
Null
PERSONNUM
VarChar2(15)
nVarChar(15)
Not Null
FTSTDHRSQTY
Number(16,6)
Decimal(16,6)
Null
CURRPAYPERIODSTART Date
DateTime
Null
CURRPAYPERIODEND
Date
DateTime
Null
PREVPAYPERIODSTART Date
DateTime
Null
VP_ASSIGNSCHEDULE
Column
Oracle
SQL Server
Null Constraint
PREVPAYPERIODEND
Date
DateTime
Null
NEXTPAYPERIODSTART Date
DateTime
Null
NEXTPAYPERIODEND
Date
DateTime
Null
SHIFTSEGMENTID
Number(10)
Int
Null
SHIFTID
Number(10)
Int
Not Null
SHIFTTYPEID
Number(10)
Int
Not Null
PAYCODEID
Number(10)
Int
Null
DATASOURCEID
Number(10)
Int
Null
LABORACCTID
Number(10)
Int
Null
EMPLOYEEID
Number(10)
Int
Not Null
PERSONID
Number(10)
Int
Not Null
ORGPATHTXT
DATASOURCEID
VP_DATASOURCE
DATASOURCEID
EMPLOYEEID
VP_EMPLOYEEV42 EMPLOYEEID
EMPLOYEEID
VP_SCHEDULE
EMPLOYEEID
GRPSCHEDULENAME
VP_SCHEDULE
GRPSCHEDULENAME
SHIFTID
VP_SCHEDULE
SHIFTID
SHIFTSEGMENTID
VP_SCHEDULE
SHIFTSEGMENTID
Column Definitions
SHIFTSTARTDATE The Shift Start Date column contains the date when the
schedule pattern begins.
SHIFTENDDATE This Shift End Date column contains the date when the
schedule patterns ends.
SHIFTSTARTTIME The Shift Start Time column contains the time when the
shift segment is applied to the shift.
15
Chapter 2
Scheduling Views
SHIFTENDTIME The Shift End Time column contains the last time that the
shift segment is applied to the shift.
SHIFTTYPE The Shift Type column contains the type of shift, such as daily,
weekly, or monthly.
SHIFTSEGMENTTYPE The Shift Segment Type column contains the type
of shift segment, such as break or meal.
SHIFTCODENAME The Shift Code Name column contains the name of the
shift code.
SHIFTCODECOMMENT The Shift Code Comment column contains any
comments that are added to the shift code.
GRPSCHEDULENAME The Group Schedule Name column contains the
name of the group schedule that is applied to the shift or shift segment.
WORKRULENAME The Work Rule Name column contains the name of the
work rule that is applied to the shift or shift segment.
LABORACCTNAME The Labor Account Name column contains the name
of the labor account to which the schedule is assigned. The name is a
concatenation of the existing labor levels, up to seven.
LABORLEVELNAME1 The Labor Level Name 1 column contains the name
of the first labor level.
LABORLEVELNAME2 The Labor Level Name 2 column contains the name
of the second labor level.
LABORLEVELNAME3 The Labor Level Name 3 column contains the name
of the third labor level.
LABORLEVELNAME4 The Labor Level Name 4 column contains the name
of the fourth labor level.
LABORLEVELNAME5 The Labor Level Name 5 column contains the name
of the fifth labor level.
LABORLEVELNAME6 The Labor Level Name 6 column contains the name
of the sixth labor level.
LABORLEVELNAME7 The Labor Level Name 7 column contains the name
of the seventh labor level.
16
VP_ASSIGNSCHEDULE
17
Chapter 2
Scheduling Views
18
VP_DAILYSCHEDULE
VP_DAILYSCHEDULE
The Daily Schedule view stores information about the daily schedule for an
employee.
Column
Oracle
SQL Server
Null Constraint
EMPLOYEEID
Number(10)
Int
Not Null
SHIFTID
Number(10)
Int
Not Null
SHIFTSTARTDATE
Date
DateTime
Not Null
SHIFTSTARTTIME
Date
DateTime
Null
SHIFTENDDATE
Date
DateTime
Not Null
SHIFTENDTIME
Date
DateTime
Null
SEGMENTLABORACCTID Number(10)
Int
Null
SEGMENTWORKRULEID
Number(10)
Int
Null
SHIFTTYPE
VarChar2(30)
nVarChar(30)
Not Null
SHIFTSEGMENTTYPE
VarChar2(30)
nVarChar(30)
Null
PAYCODENAME
VarChar2(50)
nVarChar(50)
Null
PCEISMONEYAMOUNTSW Number(10)
Int
Null
PCEMONEYAMOUNT
Number(16,6)
Decimal(16,6)
Null
PCETIMEINSECONDS
Number(10)
Int
Null
PCELABORACCTID
Number(10)
Int
Null
ORGPATHTXT
VarChar2(1000)
EMPLOYEEID
EMPLOYEEID
VP_EMPLOYEEV42
Column Definitions
EMPLOYEEID The Employee ID column contains a system-generated
number that uniquely identifies the employee.
SHIFTID The Shift ID column contains the unique identification for the shift.
19
Chapter 2
Scheduling Views
SHIFTSTARTDATE The Shift Start Date column contains the date when the
schedule pattern starts.
SHIFTSTARTTIME The Shift Start Time column contains the time when the
shift segment is applied to the shift.
SHIFTENDDATE The Shift End Date column contains the date when the
schedule pattern ends.
SHIFTENDTIME The Shift End Time column contains the last time the shift
segment is applied to the shift.
SEGMENTLABORACCTID The Segment Labor Account ID column
contains the name of the labor account that is associated with the segment.
SEGMENTWORKRULEID The Segment Work Rule ID column contains
the name of the work rule that is associated with the segment.
SHIFTTYPE The Shift Type column contains the type of shift; for example,
weekly or monthly.
SHIFTSEGMENTTYPE The Shift Segment type contains the type of shift
segment.
PAYCODENAME The Pay Code Name column identifies the name of the pay
code.
PCEISMONEYAMOUNTSW The Pay Code Edit Is Money Amount Switch
column indicates whether the pay code edit is money or time. The possible values
are:
0 = The pay code contains time.
1 = The pay code contains money.
PCEMONEYAMOUNT The Pay Code Edit Money Amount column contains
the amount of money when the pay code edit is a money amount.
PCETIMEINSECONDS The Pay Code Edit Time In Seconds column
contains the time amount of the pay code edit, in seconds.
PCELABORACCTID The Pay Code Edit Labor Account ID column
identifies the labor account to which the pay code edit is made.
DELETEDSW The Deleted Switch column indicates deleted shift
assignments.
20
VP_DAILYSCHEDULE
21
Chapter 2
Scheduling Views
VP_PAYCODEEDITSCHD
The Pay Code Scheduled Edits view stores information about scheduled pay code
edits.
22
Column
Oracle
SQL Server
Null Constraint
SHIFTSTARTDATE
Date
DateTime
Not Null
SHIFTENDDATE
Date
DateTime
Not Null
GRPSCHEDULENAME
VarChar2(50)
nVarChar(50)
Null
PERSONFULLNAME
VarChar2(64)
nVarChar(64)
Null
PERSONNUM
VarChar2(15)
nVarChar(15)
Not Null
CURRPAYPERIODSTART
Date
DateTime
Null
CURRPAYPERIODEND
Date
DateTime
Null
PREVPAYPERIODSTART
Date
DateTime
Null
PREVPAYPERIODEND
Date
DateTime
Null
NEXTPAYPERIODSTART
Date
DateTime
Null
NEXTPAYPERIODEND
Date
DateTime
Null
PAYCODENAME
VarChar2(50)
nVarChar(50)
Null
PCEISMONEYAMOUNTSW
Number(10)
Int
Null
PCEMONEYAMOUNT
Number(16,6)
Decimal(16,6)
Null
PCETIMEINSECONDS
Number(12)
Int
Null
PCELABORACCTNAME
VarChar2(230)
nVarChar(230)
Null
PCELABORLEVELNAME1
VarChar2(50)
nVarChar(50)
Null
PCELABORLEVELNAME2
VarChar2(50)
nVarChar(50)
Null
PCELABORLEVELNAME3
VarChar2(50)
nVarChar(50)
Null
PCELABORLEVELNAME4
VarChar2(50)
nVarChar(50)
Null
PCELABORLEVELNAME5
VarChar2(50)
nVarChar(50)
Null
PCELABORLEVELNAME6
VarChar2(50)
nVarChar(50)
Null
PCELABORLEVELNAME7
VarChar2(50)
nVarChar(50)
Null
SHIFTID
Number(10)
Int
Not Null
VP_PAYCODEEDITSCHD
Column
Oracle
SQL Server
Null Constraint
PAYCODEID
Number(10)
Int
Null
DATASOURCEID
Number(10)
Int
Null
PCELABORACCTID
Number(10)
Int
Null
PERSONID
Number(10)
Int
Not Null
EMPLOYEEID
Number(10)
Int
Not Null
Column
Related View
EMPLOYEEID
VP_EMPLOYEEV42
EMPLOYEEID
EMPLOYEEID
VP_SCHEDULE
EMPLOYEEID
GRPSCHEDULENAME VP_SCHEDULE
GRPSCHEDULENAME
SHIFTID
SHIFTID
VP_SCHEDULE
Column Definitions
SHIFTSTARTDATE The Shift Start Date column contains the date when the
shift starts.
SHIFTENDDATE The Shift End Date column contains the date when the
shift ends.
GRPSCHEDULENAME The Group Schedule Name contains the name of
the group schedule.
PERSONFULLNAME The Person Full Name column contains the person's
full name: last name, first name, and middle initial.
PERSONNUM The Person Number column contains the unique identification
number that is assigned to the person. The person number is stored as a character
string. Typically, only numeric values are stored in this attribute; however, you
can include one or more alphabetic characters.
CURRPAYPERIODSTART The Current Pay Period Start column contains
the date that the current pay period started.
CURRPAYPERIODEND The Current Pay Period End column contains the
date that the current pay period ends.
23
Chapter 2
Scheduling Views
24
VP_PAYCODEEDITSCHD
25
Chapter 2
Scheduling Views
VP_SCHEDULE
The Schedule view stores information about the assigned schedule, pay code edit
schedule, and unassigned group schedule.
26
Column
Oracle
SQL Server
Null Constraint
HOMELABORACCTNAME
VarChar2(230)
nVarChar(230)
Null
HOMELABORLEVELNAME1 VarChar2(50)
nVarChar(50)
Null
HOMELABORLEVELNAME2 VarChar2(50)
nVarChar(50)
Null
HOMELABORLEVELNAME3 VarChar2(50)
nVarChar(50)
Null
HOMELABORLEVELNAME4 VarChar2(50)
nVarChar(50)
Null
HOMELABORLEVELNAME5 VarChar2(50)
nVarChar(50)
Null
HOMELABORLEVELNAME6 VarChar2(50)
nVarChar(50)
Null
HOMELABORLEVELNAME7 VarChar2(50)
nVarChar(50)
Null
SHIFTSTARTDATE
Date
DateTime
Not Null
SHIFTENDDATE
Date
DateTime
Not Null
SHIFTSTARTTIME
Date
DateTime
Null
SHIFTENDTIME
Date
DateTime
Null
SHIFTTYPE
VarChar2(30)
nVarChar(30)
Null
SHIFTSEGMENTTYPE
VarChar2(30)
nVarChar(30)
Null
WORKRULENAME
VarChar2(50)
nVarChar(50)
Null
LABORACCTNAME
VarChar2(230)
nVarChar(230)
Null
LABORLEVELNAME1
VarChar2(50)
nVarChar(50)
Null
LABORLEVELNAME2
VarChar2(50)
nVarChar(50)
Null
LABORLEVELNAME3
VarChar2(50)
nVarChar(50)
Null
LABORLEVELNAME4
VarChar2(50)
nVarChar(50)
Null
LABORLEVELNAME5
VarChar2(50)
nVarChar(50)
Null
LABORLEVELNAME6
VarChar2(50)
nVarChar(50)
Null
LABORLEVELNAME7
VarChar2(50)
nVarChar(50)
Null
PERSONFULLNAME
VarChar2(64)
nVarChar(64)
Null
VP_SCHEDULE
Column
Oracle
SQL Server
Null Constraint
PERSONNUM
VarChar2(15)
nVarChar(15)
Not Null
FTSTDHRSQTY
Number(16,6)
Decimal(16,6)
Null
CURRPAYPERIODSTART
Date
DateTime
Null
CURRPAYPERIODEND
Date
DateTime
Null
PREVPAYPERIODSTART
Date
DateTime
Null
PREVPAYPERIODEND
Date
DateTime
Null
NEXTPAYPERIODSTART
Date
DateTime
Null
NEXTPAYPERIODEND
Date
DateTime
Null
PAYCODENAME
VarChar2(50)
nVarChar(50)
Null
PCEISMONEYAMOUNTSW
Number(10)
Int
Null
PCEMONEYAMOUNT
Number(16,6)
Decimal(16,6)
Null
PCETIMEINSECONDS
Number(10)
Int
Null
PCELABORACCTNAME
VarChar2(230)
nVarChar(230)
Null
PCELABORLEVELNAME1
VarChar2(50)
nVarChar(50)
Null
PCELABORLEVELNAME2
VarChar2(50)
nVarChar(50)
Null
PCELABORLEVELNAME3
VarChar2(50)
nVarChar(50)
Null
PCELABORLEVELNAME4
VarChar2(50)
nVarChar(50)
Null
PCELABORLEVELNAME5
VarChar2(50)
nVarChar(50)
Null
PCELABORLEVELNAME6
VarChar2(50)
nVarChar(50)
Null
PCELABORLEVELNAME7
VarChar2(50)
nVarChar(50)
Null
SHIFTID
Number(10)
Int
Not Null
PAYCODEID
Number(10)
Int
Null
LABORACCTID
Number(10)
Int
Null
PCELABORACCTID
Number(10)
Int
Null
EMPLOYEEID
Number(10)
Int
Not Null
PERSONID
Number(10)
Int
Not Null
ORGPATHTXT
27
Chapter 2
Scheduling Views
DATASOURCEDID
VP_DATASOURCE
DATASOURCEDID
EMPLOYEEID
VP_ASSIGNSCHEDULE
EMPLOYEEID
EMPLOYEEID
VP_EMPLOYEEV42
EMPLOYEEID
EMPLOYEEID
VP_SHIFTCOMMENTS
EMPLOYEEID
GRPSCHEDULENAME
VP_ASSIGNSCHEDULE
GRPSCHEDULENAME
GRPSCHEDULENAME
VP_PAYCODEEDITSCHD GRPSCHEDULENAME
SHIFTID
VP_ASSIGNSCHEDULE
SHIFTID
VP_PAYCODEEDITSCHD SHIFTID
SHIFTID
VP_SHIFTCOMMENTS
SHIFTID
SHIFTSEGMENTID
VP_ASSIGNSCHEDULE
SHIFTSEGMENTID
SHIFTID
Column Definitions
HOMELABORACCTNAME The Home Labor Account Name column
contains the name of the home labor account in this schedule.
HOMELABORLEVELNAME1 The Home Labor Level Name 1 column
contains the name of the first home labor level in the schedule.
HOMELABORLEVELNAME2 The Home Labor Level Name 2 column
contains the name of the second home labor level in the schedule.
HOMELABORLEVELNAME3 The Home Labor Level Name 3 column
contains the name of the third home labor level in the schedule.
HOMELABORLEVELNAME4 The Home Labor Level Name 4 column
contains the name of the fourth home labor level in the schedule.
HOMELABORLEVELNAME5 The Home Labor Level Name 5 column
contains the name of the fifth home labor level in the schedule.
HOMELABORLEVELNAME6 The Home Labor Level Name 6 column
contains the name of the sixth home labor level in the schedule.
HOMELABORLEVELNAME7 The Home Labor Level Name 7 column
contains the name of the seventh home labor level in the schedule.
28
VP_SCHEDULE
SHIFTSTARTDATE The Shift Start Date column contains the start date for
the shift.
SHIFTENDDATE The Shift End Date column contains the end date for the
shift.
SHIFTSTARTTIME The Shift Start Time column contains the start time for
the shift.
SHIFTENDTIME The Shift End Time column contains the end time for the
shift.
SHIFTTYPE The Shift Type column contains the type of shift; for example,
weekly or monthly.
SHIFTSEGMENTTYPE The Shift Segment Type column contains the name
of the shift segment type.
WORKRULENAME The Work Rule Name column contains the name of the
work rule that is applied to the shift or shift segment.
LABORACCTNAME The Labor Account Name column contains the name
of the labor account to which the schedule is assigned. The name is a
concatenation of the existing labor levels, up to seven levels.
LABORLEVELNAME1 The Labor Level Name 1 column contains the name
of the first labor level of the labor account to which the schedule is assigned.
LABORLEVELNAME2 The Labor Level Name 2 column contains the name
of the second labor level of the labor account to which the schedule is assigned.
LABORLEVELNAME3 The Labor Level Name 3 column contains the name
of the third labor level of the labor account to which the schedule is assigned.
LABORLEVELNAME4 The Labor Level Name 4 column contains the name
of the fourth labor level of the labor account to which the schedule is assigned.
LABORLEVELNAME5 The Labor Level Name 5 column contains the name
of the fifth labor level of the labor account to which the schedule is assigned.
LABORLEVELNAME6 The Labor Level Name 6 column contains the name
of the sixth labor level of the labor account to which the schedule is assigned.
LABORLEVELNAME7 The Labor Level Name 7 column contains the name
of the seventh labor level of the labor account to which the schedule is assigned.
29
Chapter 2
Scheduling Views
30
VP_SCHEDULE
31
Chapter 2
Scheduling Views
32
VP_SHIFTCOMMENTS
VP_SHIFTCOMMENTS
The Shift Comments view stores information about comments that are applied to
pay code edits.
Column
Oracle
SQL Server
Null Constraint
SHIFTSTARTDATE
Date
DateTime
Not Null
SHIFTENDDATE
Date
DateTime
Not Null
TERMINALCOMMENTCD Number(10)
Int
Null
COMMENTTEXT
VarChar2(254)
ENTEREDONDTM
Date
DateTime
Not Null
COMMENTACTIVESW
Number(10)
Int
Not Null
SHIFTID
Number(10)
Int
Not Null
DATASOURCEID
Number(10)
Int
Not Null
COMMENTID
Number(10)
Int
Not Null
Column
Related Views
SHIFTID
VP_SCHEDULE
SHIFTID
Column Definitions
SHIFTSTARTDATE The Shift Start Date column contains the start date for
the shift.
SHIFTENDDATE The Shift End Date column contains the end date for the
shift.
TERMINALCOMMENTCD This column contains the unique three-digit
device code number. This number is greater than 000 but less than 1000.
COMMENTTEXT The Comment Text column contains the unique text of the
comment.
33
Chapter 2
Scheduling Views
ENTEREDONDTM The Entered On Date Time column contains the date and
time when the row that represents a punch is inserted into the database. The
default value is the system date and time.
COMMENTACTIVESW The Active Switch column specifies whether the
comment is active or inactive. The possible values are:
0 = The comment is inactive.
1 (default) = The comment is active.
SHIFTID The Shift ID identifies the shift.
DATASOURCEID The Data Source ID column identifies the data source of
the pay code edit.
COMMENTID The Comment ID column contains a system-generated
number that uniquely identifies each comment record.
34