Você está na página 1de 76

Workforce Task

Management
Database Tables
Reference Guide
An administrators guide to all of the
Workforce Task Management tables in
the Workforce Central database.

Kronos Workforce Central suite version 7.0

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 2013.
Altitude, Altitude Dream, Cambridge Clock, CardSaver, Datakeeper, Datakeeper Central, eForce, Gatekeeper,
Gatekeeper Central, Imagekeeper, Jobkeeper Central, Keep.Trac, Kronos, Kronos InTouch, 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 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 Task Management, 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
Document Revision History
Document Revision

Product Version

Release Date

Operations Planner 7.0

June 2013

Contents

Contents

Preface
Product documentation .................................................................................. 5
Extending the online help .............................................................................. 7
Chapter 1: Task Management Database Tables
PERSONFILTERTYPE .............................................................................. 10
PLANNEDTASK ........................................................................................ 11
PLANNEDTASKSTR ................................................................................. 13
PLANNEDTASKTYPE .............................................................................. 14
REQREVIEW .............................................................................................. 15
REQREVIEWTYPE .................................................................................... 17
REVIEWERPERSON ................................................................................. 18
WTMAPPROVALFLOW ........................................................................... 19
WTMAPPROVALFLOWDEF ................................................................... 21
WTMAPPROVALFLOWPRSASGMNT ................................................... 23
WTMAPPROVALFLOWTYP ................................................................... 25
WTMAPPROVALSTATE .......................................................................... 26
WTMATTACHMENTCLASS ................................................................... 27
WTMATTACHMENTTYP ........................................................................ 29
WTMCOMPLETESTATUS ....................................................................... 30
WTMDAILYORGTASKHOUR ................................................................. 31
WTMFCPROJECTMM .............................................................................. 32
WTMFCSITEPROFMM ............................................................................. 33
WTMIMPACTEDSITEMM ....................................................................... 34
WTMORGTASKSTATUS ......................................................................... 36
WTMPROJAPPROVALSTATUS .............................................................. 38
WTMPROJAPPROVERMM ...................................................................... 40
WTMPROJATTACHMENTS .................................................................... 42
WTMPROJCURRAPPRVSTATUSMM .................................................... 44

Contents

WTMPROJECT ...........................................................................................45
WTMPROJECTPRIORITY .........................................................................49
WTMPROJECTSTATUS ............................................................................50
WTMPROJECTTASKMM .........................................................................51
WTMPROJECTTYPE .................................................................................52
WTMPROJECTURLS .................................................................................54
WTMSITEORGTASKMM .........................................................................55
WTMSITEPROFILE ...................................................................................56
WTMSITEPROFILESET ............................................................................58
WTMSITEPROFILESETMM .....................................................................60
WTMSITEPROFPROJMM .........................................................................61
WTMSITEPROJECTHRS ...........................................................................62
WTMSITEPROJHRSALLOC .....................................................................64
WTMSITEPROJTASKHRS ........................................................................66
WTMSITESTATUSMM .............................................................................68
WTMSITESTRTGYALLOCHRS ...............................................................69
WTMSTRATEGICTASKMM ....................................................................70
WTMSTRTSKFCCATHRSMM .................................................................72
WTMSTRTSKSPROFHRSMM ..................................................................74
WTMTSKCOMPLTSTATMM ...................................................................75

Preface

Product documentation
Comprehensive documentation accompanies all the suite products.
The documentation is role-based. It provides explanations and procedures from
the point of view of:

Product users

Managers and supervisors

Employees

System Administrators

Application programmers

Database managers

Documentation includes:

Online Help
Click Help at the right end of the vendor identification bar on any application
page to bring up the Help system. The Table of Contents, Index, and a Search
tool are available in the left pane.
The Help system can be extended to include custom information. In most
suite products, it can also be:

Translated to a language other than English

Customized, by making substitutions for terms

See Extending the online help on page 7.

Preface

A Documentation CD for each product


The CD contains product manuals in PDF and HTML format. To view or print
a PDF document, you must use Adobe Acrobat Reader v5.0 or later. You can
download a free Acrobat Reader from the Adobe Web site.
Manuals on the CDs include, but are not limited to:

Planning, installation, and upgrading guides

Users guides

Administrators guides

Database tables and views reference guides

Best practices guides

Programmers guides

Developers Toolkit reference guides

Quick References for employees, managers, and supervisors

A merged documentation application


You can merge several selected HTML documents to make them available
through one browser window, accessed by a single Table of Contents, a
merged Index, and a single search mechanism. Instructions inside the CD case
explain how to create a set of merged documents.

Extending the online help

Extending the online help


Translation and Customization
Translation changes the text from one language to anotherfor example, from
English to German. The Help can be translated from any language that is available
on the system. For example, if the French language pack is installed, the Help can
be translated from French to Japanese.
Customization changes some terminology while retaining the same language.
For example, if a company uses the term Associates instead of employees, the
word employees can be changed to Associates throughout the Help.
The Translation and Customization Toolkit contains software tools and
instructions that facilitate the translation and customization of the user interface,
including the online Help. Either exercise can usually be accomplished without
additional help from the vendor. The Toolkit includes the Guide to Translating and
Customizing.

Adding information
When a user clicks the View Helper Tabs button on an online Help page, a
Custom tab appears. Each topic here refers to an empty Custom Info file whose
content can be modified. An administrator or programmer can add custom
information to this tab. Custom information can include links to other files.
New information can expand existing Help topics or add new topics, such as sitespecific tips, guidelines, terms, and support information. For example, a company
might add guidelines for historical edits and deadlines for timecard approval by
managers and employees. Relevant Help topics can link to other documents, such
as the company policy manual. Note that information in Custom Info or in linked
files is not included in the TOC, Search, or Index for online Help.
Instructions for adding custom information are on the View Helper Tabs >
Custom tab.

Preface

Chapter 1

Task Management Database Tables

This chapter describes the Workforce Central Task Management database tables
that you can use as sources of data for reports. For information about other tables
in the Workforce Central database, see the Workforce Timekeeper Database Tables
Reference Guide.
Caution: This information is provided to help you extract data from the database.
Do not alter the structure of the database or modify the data contained in the
database tables. If you do, your database will almost certainly fail. The Import
tables are the only tables into which you can enter data directly.
The following information is provided for each table:

Column names

Data types and lengths

Null constraints

Index names (if applicable)

Definitions for each column

Chapter 1

Task Management Database Tables

PERSONFILTERTYPE
The Person Filter Type table contains the predefined filter types for reviewer list.
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

PERSONFILTERTYPEID (pk)

Number(12)

Int

Not Null

PERSONFILTERTYPENM

nVarChar2(50)

nVarChar(50)

Not Null

REQREVIEWTYPEID (fk)

Number(12)

Int

Null

Column Definitions
PERSONFILTERTYPEID The Person Filter Type ID column contains a
system-generated value that uniquely identifies the person filter type. This column
is the primary key for the table.
PERSONFILTERTYPENM The Person Filter Type Name column contains
the name of the person filter type.
REQREVIEWTYPEID The Request Review Type ID column contains a
system-generated value that uniquely identifies the request review type. This
column is a foreign key that references the REQREVIEWTYPE table.

10

PLANNEDTASK

PLANNEDTASK
The Planned Task table contains information about planned tasks.
Dependent Tables

PLANNEDTASKSTR

WTMSITESTRTGYALLOCHRS

WTMSTRATEGICTASKMM

WTMSITEPROJTASKHRS

WTMPROJECTTASKMM

WTMTSKCOMPLTSTATMM

WTMPROJECTTASKMM

ORGTASK

Columns, Data Types, and Null Constraints


Column Name

Oracle

SQL Server

Null Constraint

PLANNEDTASKID (pk)

Number(12)

Int

Not Null

PLANNEDTASKNM

nVarChar2(50)

nVarChar(50)

Not Null

PLANNEDTASKDSC

nVarChar2(250)

nVarChar(250)

Null

DURATIONMINUTES

Number(16,6)

Decimal(16,6)

Null

ROOTSW

Number(12)

Int

Not Null

STARTDTM

Date

DateTime

Not Null

ENDDTM

Date

DateTime

Not Null

PLANNEDTASKTYPID (fk)

Number(12)

Int

Not Null

ACTIVESW

Number(12)

Int

Not Null

UPDATEDTM

Date

DateTime

Not Null

VERSIONCNT

Number(12)

Int

Not Null

Indexes
Index Name

Column Name

Unique?

X1_PLANNEDTASK

ROOTSW

No

11

Chapter 1

Task Management Database Tables

Column Definitions
PLANNEDTASKID The Planned Task ID column contains a systemgenerated number that uniquely identifies the planned task. This column is the
primary key for the table.
PLANNEDTASKNM The Planned Task Name column contains the name of
the planned task.
PLANNEDTASKDSC The Planned Task Description column contains the
description of the planned task.
DURATIONMINUTES The Duration Minutes column contains the duration
in minutes.
ROOTSW The Root Switch column indicates if the planned task has a
root.The possible values are:
0 = The planned task does not have a root.
1 = The planned task has a root.
STARTDTM The Start Date Time column contains the starting date and time
of the planned task.
ENDDTM The End Date Time column contains the ending date and time of
the planned task.
PLANNEDTASKTYPID The Planned Task Type ID column contains a
system-generated number that uniquely identifies the planned task type. This key
is a foreign key that references the PLANNEDTASKTYPE table.
ACTIVESW The Active Switch column indicates whether this planned task is
the active task.
UPDATEDTM The Update Date Time column contains the date and time that
the planned task was created or modified.
VERSIONCNT The Version Count column is for internal system use only.

12

PLANNEDTASKSTR

PLANNEDTASKSTR
The Planned Task STR table contains information on the planned task.
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

PLANNEDTASKID (pk, fk)

Number(12)

Int

Not Null

SUBPLANNEDTASKID (pk, fk)

Number(12)

Int

Not Null

ROOTPLANNEDTASKID (pk, fk)

Number(12)

Int

Not Null

TASKSEQUENCENUM

Number(12)

Int

Not Null

Indexes
Index Name

Column Name

Unique?

X1_PLANNEDTASKSTR

SUBPLANNEDTASKID

No

X2_PLANNEDTASKSTR

ROOTPLANNEDTASKID

No

Column Definitions
PLANNEDTASKID The Planned Task ID column contains a systemgenerated number that uniquely identifies the planned task. This column is half of
a composite primary key for the table. This column is a foreign key that references
the PLANNEDTASK table.
SUBPLANNEDTASKID The Subplanned Task ID column contains a systemgenerated number that uniquely identifies the subplanned task. This column is
half of a composite primary key for the table. This column is a foreign key that
references the PLANNEDTASK table.
ROOTPLANNEDTASKID The Root Planned Task ID column contains a
system-generated number that uniquely identifies the root planned task.This
column is half of a composite primary key for the table.This column is a foreign
key that references the PLANNEDTASK table.
TASKSEQUENCENUM The Task Sequence Number column contain the
number of the task sequence.

13

Chapter 1

Task Management Database Tables

PLANNEDTASKTYPE
The Planned Task Type table contains information about the types of planned
tasks.
Dependent Table: PLANNEDTASK
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

PLANNEDTASKTYPEID (pk)

Number(12)

Int

Not Null

PLANNEDTASKTYPENM

nVarChar2(50)

nVarChar(50)

Not Null

Indexes
Index Name

Column Name

Unique?

XU1_PLANNEDTASKTYPE

PLANNEDTASKTYPENM

Yes

Column Definitions
PLANNEDTASKTYPEID The Planned Task Type ID column contains a
system-generated number that uniquely identifies the planned task type. This
column is the primary key for the table.
PLANNEDTASKTYPENM The Planned Task Type Name column contains
the name of the planned task type.

14

REQREVIEW

REQREVIEW
The Request Review table contains the reviewer list.
Dependent Tables

WTMAPPROVALFLOWPRSA
SGMNT

Columns, Data Types, and Null Constraints


Column Name

Oracle

SQL Server

Null Constraint

REQREVIEWID (pk)

Number(12)

Int

Not Null

REQREVIEWNM

nVarChar2(50)

nVarChar(50)

Not Null

REQREVIEWDSC

nVarChar2(250)

nVarChar(250)

Null

ACTIVESW

Number(1)

Int

Not Null

UPDATEDBYUSRACCTID

Number(12)

Int

Not Null

UPDATEDTM

Date

DateTime

Not Null

VERSIONCNT

Number(12)

Int

Not Null

REQREVIEWTYPEID (fk)

Number(12)

Int

Not Null

Indexes
Index Name

Columns

Unique?

X1_REQREVIEW

REQREVIEWTYPEID

No

XU1_REQREVIEW

REQREVIEWNM

Yes

Column Definitions
REQREVIEWID The Request Review ID column contains a systemgenerated value that uniquely identifies the request review. This column is the
primary key for the table.
REQREVIEWNM The Request Review Name column contains the name of
the request review.
REQREVIEWDSC The Request Review Description column contains a
description of the request review.

15

Chapter 1

Task Management Database Tables

ACTIVESW The Active Switch column indicates if the request review is


active. The possible values are:
0 = The request review is not active.
1 = The request review is active.
UPDATEDBYUSRACCTID The Updated By User Account ID column
contains a value that identifies the user who updated the reviewer list information.
UPDATEDTM The Update Date Time column contains the date and time
when the request review was last updated.
VERSIONCNT The Version Count column is for internal system use only.
REQREVIEWTYPEID The Request Review Type ID column contains a
system-generated value that uniquely identifies the request review type. This
column is a foreign key that references the REQREVIEWTYPE table.

16

REQREVIEWTYPE

REQREVIEWTYPE
The Request Review Type table contains information on the request review type.
Dependent Tables

PERSONFILTERTYPE

REQREVIEW

Columns, Data Types, and Null Constraints


Column Name

Oracle

SQL Server

Null Constraint

REQREVIEWTYPEID (pk)

Number(12)

Int

Not Null

REQREVIEWTYPENM

nVarChar2(50)

nVarChar(50)

Not Null

REVIEWERFILTERCLSTXT

nVarChar2(250)

nVarChar(250)

Null

Indexes
Index Name

Columns

Unique?

XU1_REQREVIEWTYPE

REQREVIEWTYPENM

Yes

Column Definitions
REQREVIEWTYPEID The Request Review Type ID column contains a
value that identifies the type of request review. This column is the primary key for
the table.
REQREVIEWTYPENM The Request Review Type Name column contains
the name of the request review type name.
REVIEWERFILTERCLSTXT The Reviewer Filter Class Text contains the
implementation business class to fetch the reviewer list.

17

Chapter 1

Task Management Database Tables

REVIEWERPERSON
The Reviewer Person table contains information on the reviewer person.
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

REVIEWERPERSONID (pk)

Number(12)

Int

Not Null

REQREVIEWDTLID (fk)

Number(12)

Int

Not Null

WFCPERSONID (fk)

Number(12)

Int

Not Null

ORDERNUM

Number(1)

Int

Not Null

Column Definitions
REVIEWERPERSONID The Reviewer Person ID column contains a
system-generated value that uniquely identifies the reviewer person. This column
is the primary key for the table.
REQREVIEWDTLID The Request Review Detail ID column contains a
value that identifies the request review type. This column is a foreign key that
references the REQREVIEWDTL table.
WFCPERSONID The Person ID column contains a system-generated value
that uniquely identifies the Person. This column is a foreign key that references
the PERSON table.
ORDERNUM The Ordering Number identifies the order of reviewers.

18

WTMAPPROVALFLOW

WTMAPPROVALFLOW
The Approval Flow table contains the approval flow information for approval
flow definition.
Dependent Tables

WTMAPPROVALFLOWPRSA
SGMNT

WTMPROJAPPROVALSTATU
S

Columns, Data Types, and Null Constraints


Column Name

Oracle

SQL Server

Null Constraint

WTMAPPROVALFLOWID (pk)

Number(12)

Int

Not Null

WTMAPPROVALFLOWTYPID (fk)

Number(12)

Int

Not Null

APPROVERNUM

Number(12)

Int

Not Null

ISPEERREVIEWSW

Number(1)

Int

Not Null

WTMPROJECTTYPEID (fk)

Number(12)

Int

Null

WTMAPPROVALFLOWDEFID (fk)

Number(12)

Int

Null

Indexes
Index Name

Columns

Unique?

X1_WTMAPPROVALFLOW

WTMAPPROVALFLOWDEFID No

XU1_WTMAPPROVALFLOW WTMAPPROVALFLOWTYPID Yes


WTMPROJECTTYPEID
APPROVERNUM

Column Definitions
WTMAPPROVALFLOWID The Approval Flow ID column contains a
system-generated value that uniquely identifies the approval flow. This column is
the primary key for the table.
WTMAPPROVALFLOWTYPID The Approval Flow Type ID column
contains a system-generated value that identifies the approval flow type. This
column is a foreign key that references the WTMAPPROVALFLOWTYP table.

19

Chapter 1

Task Management Database Tables

APPROVERNUM The Approver Number column contains the number of the


approver.
ISPEERREVIEWSW The Is Peer Review Switch column indicates if the
approval flow is peer reviewed.
0 = The approval flow is not peer reviewed.
1 = The approval flow is peer review.
WTMPROJECTTYPEID The Project Type ID column contains a value that
identifies the project type. This column is a foreign key that references the
WTMPROJECTTYPE table.
WTMAPPROVALFLOWDEFID The Approval Flow Definition ID column
contains the approval flow definition. This column is a foreign key that references
the WTMAPPROVALFLOWDEF table.

20

WTMAPPROVALFLOWDEF

WTMAPPROVALFLOWDEF
The Approval Flow Definition table contains the approval flow definition setup
information.
Dependent Tables

WTMAPPROVALFLOW

Columns, Data Types, and Null Constraints


Column Name

Oracle

SQL Server

Null Constraint

WTMAPPROVALFLOWDEFID (pk)

Number(12)

Int

Not Null

WTMAPPROVALFLOWDEFNM

nVarChar2(50)

nVarChar(50)

Not Null

WTMAPPROVALFLOWDEFDSC

nVarChar2(250)

nVarChar(250)

Null

ACTIVESW

Number(1)

Int

Not Null

VERSIONCNT

Number(12)

Int

Not Null

NOTIFAPPROVREQMSGID (fk)

Number(12)

Int

Null

NOTIFAPPROVALMSGID (fk)

Number(12)

Int

Null

NOTIFAPPROVALCANCELID (fk)

Number(12)

Int

Null

Indexes
Index Name

Columns

Unique?

X1_WTMAPPROVALFLOWD NOTIFAPPROVREQMSGID
EF

No

X2_WTMAPPROVALFLOWD NOTIFAPPROVALMSGID
EF

No

X3_WTMAPPROVALFLOWD NOTIFAPPROVALCANCELID No
EF

Column Definitions
WTMAPPROVALFLOWDEFID The Approval Flow Definition ID column
contains a system-generated value that uniquely identifies the approval flow. This
column is the primary key for the table.

21

Chapter 1

Task Management Database Tables

WTMAPPROVALFLOWDEFNM The Approval Flow Definition Name


column contains the name of the approval flow definition.
WTMAPPROVALFLOWDEFDSC The Approval Flow Definition
Description column contains a description of the approval flow definition.
ACTIVESW The Active Switch column indicates if the approval flow
definition is active. The possible values are:
0 = The approval flow definition is not active.
1 = The approval flow definition is active.
VERSIONCNT The Version Count column is for system use only.
NOTIFAPPROVREQMSGID The Notify Approval Request Message ID
column contains a system-generated value that uniquely identifies the notify
approval request message. This column is a foreign key that references the
NOTIFEVENTINST table.
NOTIFAPPROVALMSGID The Notify Approval Message ID column
contains a system-generated value that uniquely identifies the notify approval
message. This column is a foreign key that references the NOTIFEVENTINST
table.
NOTIFAPPROVALCANCELID The Notify Approval Cancel ID column
contains a system-generated value that uniquely identifies the notify approval
cancel. This column is a foreign key that references the NOTIFEVENTINST
table.

22

WTMAPPROVALFLOWPRSASGMNT

WTMAPPROVALFLOWPRSASGMNT
The Approval Flow Person Assignment table contains the association of reviewer
list with the approval work flow step.
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

WTMAPPROVALFLOWPRSASGMNTID Number(12)
(pk)

Int

Not Null

WTMAPPROVALFLOWID (fk)

Number(12)

Int

Not Null

REQREVIEWID (fk)

Number(12)

Int

Not Null

WTMPROJECTTYPEID (fk)

Number(12)

Int

Null

Indexes
Index Name

Columns

Unique?

X1_WTMAPPROVALFLOWPR WTMAPPROVALFLOWID
SASGMNT

No

X2_WTMAPPROVALFLOWPR WTMPROJECTTYPEID
SASGMNT

No

X3_WTMAPPROVALFLOWPR REQREVIEWID
SASGMNT

No

Column Definitions
WTMAPPROVALFLOWPRSASGMNTID The Approval Flow Person
Assignment ID column contains a system-generated value that uniquely identifies
the approval flow person assignment. This column is the primary key for the table.
WTMAPPROVALFLOWID The Approval Flow ID column contains a
system-generated value that uniquely identifies the approval flow. This column is
a foreign key that references the WTMAPPROVALFLOW table.
REQREVIEWID The Request Review ID column contains a systemgenerated value that uniquely identifies the reviewer list. This column is a foreign
key that references the REQREVIEW table.

23

Chapter 1

Task Management Database Tables

WTMPROJECTTYPEID The Project Type ID column contains a systemgenerated value that uniquely identifies the project type. This column is a foreign
key that references the WTMPROJECTTYPE table.

24

WTMAPPROVALFLOWTYP

WTMAPPROVALFLOWTYP
The Approval Flow Type table contains the maximum number of approvers in
each project approval workflow step.
Dependent Tables

WTMAPPROVALFLOW

Columns, Data Types, and Null Constraints


Column Name

Oracle

SQL Server

Null Constraint

WTMAPPROVALFLOWTYPID (pk)

Number(12)

Int

Not Null

WTMPROJECTSTATUSID (fk)

Number(12)

Int

Not Null

MAXAPPROVERNUM

Number(12)

Int

Not Null

Indexes
Index Name

Columns

Unique?

X1_WTMAPPROVALFLOWT
YP

WTMPROJECTSTATUSID

No

Column Definitions
WTMAPPROVALFLOWTYPID The Approval Flow Type ID column
contains a system-generated value that uniquely identifies the approval flow type.
This column is the primary key for the table.
WTMPROJECTSTATUSID The Project Status ID column contains a
system-generated value that uniquely identifies the project status. This column is
a foreign key that references the WTMPROJECTSTATUS table.
MAXAPPROVERNUM The Maximum Approver Number column contains
the maximum number of approvers.

25

Chapter 1

Task Management Database Tables

WTMAPPROVALSTATE
The Approval State table contains information on the state of the approval.
Dependent Tables

WTMPROJAPPROVALSTATU
S

WTMPROJAPPROVERMM

Columns, Data Types, and Null Constraints


Column Name

Oracle

SQL Server

Null Constraint

WTMAPPROVALSTATEID (pk)

Number(12)

Int

Not Null

WTMAPPROVALSTATENM

nVarChar2(50)

nVarChar(50)

Not Null

Indexes
Index Name

Columns

XU1_WTMAPPROVALSTATE WTMAPPROVALSTATENM

Unique?
Yes

Column Definitions
WTMAPPROVALSTATEID The Approval State ID column contains a
system-generated value that uniquely identifies the approval state. This column is
the primary key for the table.
WTMAPPROVALSTATENM The Approval State Name column contains
the name of the approval state.

26

WTMATTACHMENTCLASS

WTMATTACHMENTCLASS
The Attachment Class table contains various classes of attachments available
within Task Management for a given project. This table also contains site based
attachments for projects.
Dependent Tables

WTMPROJATTACHMENTS

WTMPROJECTURLS

Columns, Data Types, and Null Constraints


Column Name

Oracle

SQL Server

Null Constraint

WTMATTACHMENTCLASSID (pk)

Number(12)

Int

Not Null

WTMATTACHMENTTYPID (fk)

Number(12)

Int

Not Null

WTMPROJECTID (fk)

Number(12)

Int

Not Null

WTMIMPACTEDSITEMMID (fk)

Number(12)

Int

Null

Indexes
Index Name

Columns

Unique?

X1_WTMATTACHMENTCLA WTMPROJECTID
SS

No

X2_WTMATTACHMENTCLA WTMIMPACTEDSITEMMID
SS

No

XU1_WTMATTACHMENTCL WTMATTACHMENTTYPID
ASS
WTMPROJECTID
WTMIMPACTEDSITEMMID

Yes

Column Definitions
WTMATTACHMENTCLASSID The Attachment Class ID column contains
a system-generated value that uniquely identifies the attachment class. This
column is the primary key for the table.
WTMATTACHMENTTYPID The Attachment Type ID column contains a
system-generated gold data value that uniquely identifies the attachment type.
This column is a foreign key that references the WTMATTACHMENTTYP table.

27

Chapter 1

Task Management Database Tables

WTMPROJECTID The Project ID column contains a system-generated


value that uniquely identifies the project. This column is a foreign key that
references the WTMPROJECT table.
WTMIMPACTEDSITEMMID The Impacted Site Many-to-Many ID
column contains a system-generated value that uniquely identifies the impacted
site. This column is a foreign key that references the WTMIMPACTEDSITEMM
table.

28

WTMATTACHMENTTYP

WTMATTACHMENTTYP
The Attachment Type column table contains various types of attachments
permitted in Task Management.
Dependent Tables

WTMATTACHMENTCLASS

Columns, Data Types, and Null Constraints


Column Name

Oracle

SQL Server

Null Constraint

WTMATTACHMENTTYPID (pk)

Number(12)

Int

Not Null

WTMATTACHMENTTYPNM

nVarChar2(30)

nVarChar(30)

Not Null

Column Definitions
WTMATTACHMENTTYPID The Attachment Type ID column contains a
system-generated value that uniquely identifies the attachment type. This column
is the primary key for the table.
WTMATTACHMENTTYPNM The Attachment Type Name column
contains the name of the attachment type.

29

Chapter 1

Task Management Database Tables

WTMCOMPLETESTATUS
The Task Management Complete Status table contains information about the
complete status of projects.
Dependent Tables

WTMPROJECT

WTMTSKCOMPLTSTATMM

WTMSITESTATUSMM

WTMORGTASKSTATUS

WTMTSKCOMPLTS

Columns, Data Types, and Null Constraints


Column Name

Oracle

SQL Server

Null Constraint

WTMCOMPLETESTATUSID (pk)

Number(12)

Int

Not Null

WTMCOMPLETESTATUSNM

nVarChar2(30)

nVarChar(30)

Not Null

Indexes
Index Name

Column Name

Unique?

XU1_WTMCOMPLETESTATUS

WTMCOMPLETESTATUSNM Yes

Column Definitions
WTMCOMPLETESTATUSID The Task Management Complete Status ID
column contains a system-generated number that uniquely identifies the task
management operation complete status. This column is the primary key for the
table.
WTMCOMPLETESTATUSNM The Task Management Complete Status
Name column contains the name of the task management complete status.

30

WTMDAILYORGTASKHOUR

WTMDAILYORGTASKHOUR
The Daily Organization Task Hour table contains daily hours information against
organizational task.
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

ORGTASKID (pk)

Number(12)

Int

Not Null

OCCURENCEDTM (pk)

Date

DateTime

Not Null

DAILYHOURS

Number(12)

Int

Not Null

UPDATEDTM

Date

DateTime

Not Null

VERSIONCNT

Number(12)

Int

Not Null

Column Definitions
ORGTASKID The Organization Task ID column contains a system-generated
value that uniquely identifies the organization task. This column is half of a
composite primary key for the table.This column is a foreign key that references
the ORGTASK table.
OCCURENCEDTM The Occurrence Date Time column contains the date
and time against which the daily hours information is being entered by the user.
This column is the primary key for the table.
DAILYHOURS The Daily Hours column contains the daily hours
information.
UPDATEDTM The Update Date Time column contains a the date and time
when the daily organization task hour was last updated.
VERSIONCNT The Version Count column is for internal system use only.

31

Chapter 1

Task Management Database Tables

WTMFCPROJECTMM
The Task Management Forecast Project (Many-to-Many mapping) table contains
a mapping between the Forecast category IDs and the task management project.
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

FCCATIDSID (pk, fk)

Number(12)

Int

Not Null

WTMPROJECTID (pk, fk)

Number(12)

Int

Not Null

Column Definitions
FCCATIDSID The Forecast Category IDs ID column contains a systemgenerated number that uniquely identifies the Forecast category IDs. This column
is half of a composite primary key for the table.This column is a foreign key that
references the FCCATIDS table.
WTMPROJECTID The Task Management Project ID column contains a
system-generated number that uniquely identifies the task management project.
This column is half of a composite primary key for the table.This column is a
foreign key that references the WTMPROJECT table.

32

WTMFCSITEPROFMM

WTMFCSITEPROFMM
The Task Management Forecast Profile Project (Many-to-Many mapping) table
contains a mapping between the Forecast category map profile and the task
management project.
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

FCCATIDSID (pk, fk)

Number(12)

Int

Not Null

WTMSITEPROFILEID (pk, fk)

Number(12)

Int

Not Null

Column Definitions
FACATIDSID The Forecast Category IDs ID column contains a systemgenerated number that uniquely identifies the Forecast category IDs. This column
is half of a composite primary key for the table.This column is a foreign key that
references the FCCATIDS table.
WTMSITEPROFILEID The Task Management Profile ID column contains a
system-generated number that uniquely identifies the task management profile.
This column is half of a composite primary key for the table.This column is a
foreign key that references the WTMSITEPROFILE table.

33

Chapter 1

Task Management Database Tables

WTMIMPACTEDSITEMM
The Impacted Site (Many-to-Many) table contains the mapping of the project and
impacted store/site.
Dependent Tables

WTMSITEORGTASKMM

WTMSITEPROJHRSALLOC

WTMSITESTRTGYALLOCHRS

WTMTSKCOMPLTSTATMM

WTMSITEPROJECTHRS

WTMATTACHMENTCLASS

WTMSITESTATUSMM

WTMSITEPROJTASKHRS

Columns, Data Types, and Null Constraints


Column Name

Oracle

SQL Server

Null Constraint

WTMIMPACTEDSITEMMID (pk)

Number(12)

Int

Not Null

WTMPROJECTID (fk)

Number(12)

Int

Not Null

FCCATIDSID (fk)

Number(12)

Int

Not Null

EFFSTARTDTM

Date

DateTime

Null

EFFENDDTM

Date

DateTime

Null

Indexes
Index Name

Columns

Unique?

X1_WTMIMPACTEDSITEMM WTMPROJECTID

No

X2_WTMIMPACTEDSITEMM FCCATIDSID

No

XU1_WTMIMPACTEDSITEM WTMPROJECTID
M
FCCATIDSID

Yes

Column Definitions
WTMIMPACTEDSITEMMID The Impacted Site Many-to-Many ID
column contains a system-generated value that uniquely identifies the impacted
site. This column is the primary key for the table.

34

WTMIMPACTEDSITEMM

WTMPROJECTID The Project ID column contains a system-generated


value that uniquely identifies the project. This column is a foreign key that
references the WTMPROJECT table.
FCCATIDSID The Forecast Category IDs ID column identifies the effectively
dated revision of a forecast category. This column is a foreign key that references
the FCCATIDS table.
EFFSTARTDTM The Effective Start Date Time column contains the date and
time when the project started.
EFFENDDTM The Effective End Date Time column contains the date when
the project ends. This date changes to Forever Date, if the project for a given
impacted site is overdue.

35

Chapter 1

Task Management Database Tables

WTMORGTASKSTATUS
The Organization Task Status table contains the completion status for each
organization task.
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

WTMORGTASKSTATUSID (pk)

Number(12)

Int

Not Null

ORGTASKID (fk)

Number(12)

Int

Not Null

WTMCOMPLETESTATUSID (fk)

Number(12)

Int

Not Null

DEPTOVERRIDABLESW

Number(1)

Int

Not Null

JOBOVERRIDABLESW

Number(1)

Int

Not Null

Indexes
Index Name

Columns

Unique?

X2_WTMORGTASKSTATUS

WTMCOMPLETESTATUSID

No

XU1_WTMORGTASKSTATUS ORGTASKID

Yes

Column Definitions
WTMORGTASKSTATUSID The Organization Task Status ID column
contains a system-generated value that uniquely identifies the organization task
status. This column is the primary key for the table.
ORGTASKID The Organization Task ID column contains a system-generated
value that uniquely identifies the organization task. This column is a foreign key
that references the ORGTASK table.
WTMCOMPLETESTATUSID The Complete Status ID column contains a
system-generated value that uniquely identifies the complete status. This column
is a foreign key that references the WTMCOMPLETESTATUS table.

36

WTMORGTASKSTATUS

DEPTOVERRIDABLESW The Department Override Able Switch column


indicates if the department can be overridden. The possible values are:
0 = The department cannot be overridden.
1 = The department can be overridden.
JOBOVERRIDABLESW The Job Override Able Switch column indicates if
the job can be overridden. The possible value are:
0 = The job cannot be overridden.
1 = The job can be overridden.

37

Chapter 1

Task Management Database Tables

WTMPROJAPPROVALSTATUS
The Projected Approval Status column contains projects current state for each
approval step.
Dependent Tables

WTMPROJAPPROVERMM

WTMPROJCURRAPPRVSTATUSMM

Columns, Data Types, and Null Constraints


Column Name

Oracle

SQL Server

Null Constraint

WTMPROJAPPROVALSTATUSID Number(12)
(pk)

Int

Not Null

WTMPROJECTID (fk)

Number(12)

Int

Not Null

WTMAPPROVALFLOWID (fk)

Number(12)

Int

Not Null

PROJAPPROVALSTATEID (fk)

Number(12)

Int

Not Null

Indexes
Index Name

Columns

Unique?

X1_WTMPROJAPPROVALST
ATUS

WTMPROJECTID

No

X2_WTMPROJAPPROVALST
ATUS

WTMAPPROVALFLOWID

No

X3_WTMPROJAPPROVALST
ATUS

PROJAPPROVALSTATEID

Yes

Column Definitions
WTMPROJAPPROVALSTATUSID The Project Approval Status ID column
contains a system-generated value that uniquely identifies the project approval
status. This column is the primary key for the table.
WTMPROJECTID The Project ID column contains a system-generated
value that uniquely identifies the project. This column is a foreign key that
references the WTMPROJECT table.

38

WTMPROJAPPROVALSTATUS

WTMAPPROVALFLOWID The Approval Flow ID column contains a


system-generated value that uniquely identifies the approval flow. This column is
a foreign key that references the WTMAPPROVALFLOW table.
PROJAPPROVALSTATEID The Project Approval State ID column contains
a system-generated value that uniquely identifies the project approval state. This
column is a foreign key that references the WTMAPPROVALSTATE table.

39

Chapter 1

Task Management Database Tables

WTMPROJAPPROVERMM
The Project Approver Many-to-Many table contains the project approvers
information.
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

WTMPROJAPPROVALSTATUSID Number(12)
(pk, fk)

Int

Not Null

PERSONID (pk, fk)

Number(12)

Int

Not Null

APPROVERSEQNUM

Number(12)

Int

Not Null

WTMAPPROVALSTATEID (fk)

Number(12)

Int

Null

COMMENTTXT

nVarChar2(250)

Int

Null

APPROVEDTM

Date

DateTime

Null

Indexes
Index Name

Columns

Unique?

X1_WTMPROJAPPROVERM
M

WTMPROJAPPROVALSTATU No
SID

X2_WTMPROJAPPROVERM
M

PERSONID

No

X3_WTMPROJAPPROVERM
M

WTMAPPROVALSTATEID

No

Column Definitions
WTMPROJAPPROVALSTATUSID The Project Approval Status ID column
contains a system-generated value that uniquely identifies the project approval
status. This column is half of a composite primary key for the table.This column is
a foreign key that references the WTMPROJAPPROVALSTATUS table.
PERSONID The Person ID column contains a system-generated value that
uniquely identifies the person. This column is half of a composite primary key for
the table.This column is a foreign key that references the PERSON table.

40

WTMPROJAPPROVERMM

APPROVERSEQNUM The Approver Sequence Number column contains


predefined values based on workflow approval definition.
If the workflow approval definition is Peer, then the value will be 1.
If the workflow approval definition is Hierarchical, then the value increments as,
1, 2, 3, etc.
WTMAPPROVALSTATEID The Approval State ID column contains a
system-generated value that uniquely identifies the approval state. This column is
a foreign key that references the WTMAPPROVALSTATE table.
COMMENTTXT The Comment Text column contains the approvers
comment.
APPROVEDTM The Approve Date Time column contains the date and time
when the project was approved.

41

Chapter 1

Task Management Database Tables

WTMPROJATTACHMENTS
The Project Attachments table contains the attachments associated with the
attachment class.
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

WTMPROJATTACHMENTSID (pk) Number(12)

Int

Not Null

ATTACHEDFILENM

nVarChar(50)

Not Null

WTMATTACHMENTCLASSID (fk) Number(12)

Int

Not Null

ATTACHEDFILEOBJTXT

BLOB

Varbinary(max)

Not Null

DOCCONTENTTYPEID (fk)

Number(12)

Int

Not Null

FILEOBJSIZENUM

Number(12)

Int

Null

CHARENCODENAMETXT

nVarChar2(50)

nVarChar(50)

Null

UPDATEDTM

Date

DateTime

Not Null

nVarChar2(50)

Indexes
Index Name

Columns

Unique?

XU1_WTMPROJATTACHMEN WTMATTACHMENTCLASSID Yes


TS
ATTACHEDFILENM

Column Definitions
WTMPROJATTACHMENTSID The Project Attachments ID column
contains a system-generated value that uniquely identifies the project attachments.
This column is the primary key for the table.
ATTACHEDFILENM The Attached File Name column contains the name of
the attached file.
WTMATTACHMENTCLASSID The Attachment Class ID column contains
a system-generated value that uniquely identifies the attachment class. This
column is a foreign key that references the WTMATTACHMENTCLASS table.

42

WTMPROJATTACHMENTS

ATTACHEDFILEOBJTXT The Attached File Object Text column contains


the text of the attached file object.
DOCCONTENTTYPEID The Document Content Type ID column contains a
system-generated number that uniquely identifies the document content type. The
possible values are:
1 = XML
2 = XHTML
This column is a foreign key that references the DOCCONTENTTYPE table.
FILEOBJSIZENUM The File Object Size Number column contains the file
size of the attached file.
CHARENCODENAMETXT The Character Encoding Code Name Text
column contains the encoding text.
UPDATEDTM The Update Date Time column contains the date and time
when the project attachments were last updated.

43

Chapter 1

Task Management Database Tables

WTMPROJCURRAPPRVSTATUSMM
The Project Current Approval Status (Many-to-Many) table contains the projects
current approval workflow status.
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

WTMPROJCURRAPPRVSTATUSM Number(12)
MID (pk)

Int

Not Null

WTMPROJAPPROVALSTATUSID Number(12)
(fk)

Int

Not Null

WTMPROJECTID (fk)

Int

Not Null

Number(12)

Indexes
Index Name

Columns

Unique?

X1_WTMPROJCURRAPPRVS WTMPROJAPPROVALSTATU No
TATUSMM
SID
XU1_WTMPROJCURRAPPRV WTMPROJECTID
STATUSMM

Yes

Column Definitions
WTMPROJCURRAPPRVSTATUSMMID The Project Current Approval
Status (Many-to-Many) ID column contains a system-generated value that
uniquely identifies the project current approval status. This column is the primary
key for the table.
WTMPROJAPPROVALSTATUSID The Project Approval Status ID column
contains a system-generated value that uniquely identifies the project approval
status. This column is a foreign key that references the
WTMPROJAPPROVALSTATUS table.
WTMPROJECTID The Project ID column contains a system-generated
value that uniquely identifies the project. This column is a foreign key that
references the WTMPROJECT table.

44

WTMPROJECT

WTMPROJECT
The Task Management Project table contains information about the task
management projects.
Dependent Tables

WTMFCPROJECTMM

WTMIMPACTEDSITEMM

WTMPROJECTTASKMM

WTMSITEPROFPROJMM

WTMPROJCURRAPPRVSTATUSMM

WTMPROJAPPROVALSTATUS

WTMATTACHMENTCLASS

Columns, Data Types, and Null Constraints


Column Name

Oracle

SQL Server

Null Constraint

WTMPROJECTID (pk)

Number(12)

Int

Not Null

WTMPROJECTNM

nVarChar2(50)

nVarChar(50)

Not Null

WTMPROJECTDSC

nVarChar2(250)

nVarChar(520)

Null

WTMPROJECTTYPEID (fk)

Number(12)

Int

Not Null

STARTDTM

Date

DateTime

Not Null

ENDDTM

Date

DateTime

Not Null

RELEASEDTM

Date

DateTime

Null

WTMPROJECTSTATUSID (fk)

Number(12)

Int

Not Null

TEMPLATESW

Number(1)

Int

Not Null

UPDATEDTM

Date

DateTime

Not Null

VERSIONCNT

Number(12)

Int

Not Null

TIMEZONEID (fk)

Number(12)

Int

Not Null

APPROVALDTM

Date

DateTime

Not Null

ACTIVESW

Number(1)

Int

Not Null

GRACEPERIODNUM

Number(12)

Int

Not Null

SHORTNM

Date

DateTime

Not Null

WTMPROJECTPRIORITYID (fk) Number(12)

Int

Not Null

HASTASKSW

Int

Not Null

Number(1)

45

Chapter 1

Task Management Database Tables

Columns, Data Types, and Null Constraints


Column Name

Oracle

SQL Server

Null Constraint

HASATTACHMENTSW

Number(1)

Int

Not Null

HASASSIGNMENTSW

Number(1)

Int

Not Null

Indexes
Index Name

Columns

Unique?

X1_WTMPROJECT

TEMPLATESW

No

X2_WTMPROJECT

WTMPROJECTPRIORITYID

No

X3_WTMPROJECT

WTMPROJECTTYPEID

No

X4_WTMPROJECT

WTMPROJECTSTATUSID

No

X5_WTMPROJECT

TIMEZONEID

No

XU1_WTMPROJECT

WTMPROJECTNM
TEMPLATESW

Yes

Column Definitions
WTMPROJECTID The Task Management Project ID column contains a
system-generated number that uniquely identifies the task management project.
This column is the primary key for the table.
WTMPROJECTNM The Task Management Project Name column contains
the name of the task management project.
WTMPROJECTDSC The Task Management Project Description column
contains the description of the task management project.
WTMPROJECTTYPEID The Task Management Project Type ID column
contains a system-generated number that uniquely identifies the task management
project type. This column is a foreign key that references the
WTMPROJECTTYPE table.
STARTDTM The Start Date Time column contains the starting date and time
of the task management project.
ENDDTM The End Date Time column contains the ending date and time of
the task management project.

46

WTMPROJECT

RELEASEDTM The Release Date Time column contains the release date and
time of the task management project.
WTMPROJECTSTATUSID The Task Management Project Status ID
column contains a system-generated number that uniquely identifies the task
management project status. This column is a foreign key that references the
WTMPROJECTSTATUS table.
TEMPLATESW The Template Switch column is for internal system use only.
UPDATEDTM The Update Date Time column contains the date and time that
the task management project was created or modified.
VERSIONCNT The Version Count column is for internal system use only.
TIMEZONEID The Time Zone ID column contains a five-digit number that
uniquely identifies each time zone. The time zone ID number identifies how the
local time for a particular region relates to Greenwich mean time (GMT) This
column is a foreign key that references the TIMEZONE table.
APPROVALDTM The Approval Date Time column contains the date and
time when the project was approved.
ACTIVESW The Active Switch column indicates if the project is active. The
possible values are:
0 = The project is not active.
1 = The project is active.
GRACEPERIODNUM The Grace Period Number column is not currently
active. The default value is 0.
SHORTNM The Short Name column contains the short name of the project.
WTMPROJECTPRIORITYID The Project Priority ID column contains a
system-generated value that uniquely identifies the project priority. This column is
a foreign key that references the WTMPROJECTPRIORITY table.

47

Chapter 1

Task Management Database Tables

HASTASKSW The Has Task Switch column indicates if the project has a task.
The possible values are:
0 = The project does not have a task.
1 = The project has a task.
HASATTACHMENTSW The Has Attachment Switch column indicates if the
project has attachments within the project creation phase. The possible values are:
0 = The project does not have an attachment.
1 = The project has an attachment.
HASASSIGNMENTSW The Has Assignment Switch column indicates if the
project has an assignment. The possible values are:
0 = The project does not have an assignment.
1 = The project has an assignment.

48

WTMPROJECTPRIORITY

WTMPROJECTPRIORITY
The Project Priority table contains the predefined project priorities.
Dependent Tables

WTMPROJECT

Columns, Data Types, and Null Constraints


Column Name

Oracle

SQL Server

Null Constraint

WTMPROJECTPRIORITYID
(pk)

Number(12)

Int

Not Null

WTMPROJECTPRIORITYNM

nVarChar2(30)

nVarChar(30)

Not Null

Indexes
Index Name

Columns

Unique?

XU1_WTMPROJECTPRIORIT WTMPROJECTPRIORITYNM Yes


Y

Column Definitions
WTMPROJECTPRIORITYID The Project Priority ID column contains a
system-generated value that uniquely identifies the project priority. This column is
the primary key for the table.
WTMPROJECTPRIORITYNM The Project Priority Name column contains
the name of the project priority.

49

Chapter 1

Task Management Database Tables

WTMPROJECTSTATUS
The Task Management Project Status table contains information about the statuses
of task management projects.
Dependent Tables

WTMAPPROVALFLOWTYP

WTMPROJECT

Columns, Data Types, and Null Constraints


Column Name

Oracle

SQL Server

Null Constraint

WTMPROJECTSTATUSID (pk) Number(12)

Int

Not Null

WTMPROJECTSTATUSNM

nVarChar2(30)

nVarChar(30)

Not Null

WTMPROJSTATUSSHORTNM nVarChar2(30)

nVarChar(30)

Not Null

Indexes
Index Name

Column Name

Unique?

XU1_WTMPROJECTSTATUS

WTMPROJECTSTATUSNM

Yes

Column Definitions
WTMPROJECTSTATUSID The Task Management Project Status ID
column contains a system-generated number that uniquely identifies the task
management project status. This column is the primary key for the table.
WTMPROJECTSTATUSNM The Task Management Project Status Name
column contains the name of the task management project.
WTMPROJSTATUSSHORTNM The Project Status Short Name column
contains the short name of the project status.

50

WTMPROJECTTASKMM

WTMPROJECTTASKMM
The Task Management Project Task (Many-to-Many mapping) table contains
information about the mapping between the task management project and the
planned task.
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

WTMPROJECTID (pk, fk)

Number(12)

Int

Not Null

PLANNEDTASKID (pk, fk)

Number(12)

Int

Not Null

TASKORDERNUM

Number(12)

Int

Not Null

Column Definitions
WTMPROJECTID The Task Management Project ID column contains a
system-generated number that uniquely identifies the task management project.
This column is half of a composite primary key for the table.This column is a
foreign key that references the WTMPROJECT table.
PLANNEDTASKID The Planned Task ID column contains a systemgenerated number that uniquely identifies the planned task. This column is half of
a composite primary key for the table.This column is a foreign key that references
the PLANNEDTASK table.
TASKORDERNUM The Task Ordering Number contains the ordering of root
level tasks within the project.

51

Chapter 1

Task Management Database Tables

WTMPROJECTTYPE
The Project Type table contains the user defined project types.
Dependent Tables

WTMAPPROVALFLOW

WTMAPPROVALFLOWPRSASGMNT

WTMPROJECT

Columns, Data Types, and Null Constraints


Column Name

Oracle

SQL Server

Null Constraint

WTMPROJECTTYPEID (pk)

Number(12)

Int

Not Null

WTMPROJECTTYPENM

nVarChar2(50)

nVarChar(50)

Not Null

WTMPROJECTTYPEDSC

nVarChar2(250)

nVarChar(250)

Null

ACTIVESW

Number(1)

Int

Not Null

VERSIONCNT

Number(12)

Int

Not Null

Indexes
Index Name

Columns

Unique?

XU1_WTMPROJECTTYPE

WTMPROJECTTYPENM

Yes

Column Definitions
WTMPROJECTTYPEID The Project Type ID column contains a systemgenerated value that uniquely identifies the project type. This column is the
primary key for the table.
WTMPROJECTTYPENM The Project Type Name column contains the
name of the project type.
WTMPROJECTTYPEDSC The Project Type Description column contains a
description of the project type.

52

WTMPROJECTTYPE

ACTIVESW The Active Switch column indicates if the project type is active.
The possible values are:
0 = The project type is not active.
1 = The project type is active.
VERSIONCNT The Version Count column is for internal system use only.

53

Chapter 1

Task Management Database Tables

WTMPROJECTURLS
The Project Urls table stores information on urls associated with the attachment
class.
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

WTMPROJECTURLSID (pk)

Number(12)

Int

Not Null

DISPLAYNM

nVarChar2(50)

nVarChar(50)

Not Null

WTMATTACHMENTCLASSID Number(12)
(fk)

Int

Not Null

URLTXT

nVarChar2(250)

nVarChar(250)

Not Null

UPDATEDTM

Date

DateTime

Not Null

Indexes
Index Name

Columns

Unique?

XU1_WTMPROJECTURLS

WTMATTACHMENTCLASSID Yes
DISPLAYNM

Column Definitions
WTMPROJECTURLSID The Project URLS ID column contains a systemgenerated value that uniquely identifies the project Urls. This column is the
primary key for the table.
DISPLAYNM The Display Name column contains the name of the display.
WTMATTACHMENTCLASSID The Attachment Class ID column contains
a system-generated value that uniquely identifies the attachment class. This
column is a foreign key that references the WTMATTACHMENTCLASS table.
URLTXT The URL Text column contains the text of the Url.
UPDATEDTM The Update Date Time column contains the date and time
when the project urls

54

WTMSITEORGTASKMM

WTMSITEORGTASKMM
The Site Organization Task (Many-to-Many) mapping of impacted site and
organization task.
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

WTMIMPACTEDSITEMMID
(pk, fk)

Number(12)

Int

Not Null

ORGTASKID (pk, fk)

Number(12)

Int

Not Null

Indexes
Index Name

Columns

Unique?

X1_WTMSITEORGTASKMM

ORGTASKID

No

Column Definitions
WTMIMPACTEDSITEMMID The Impacted Site Many-to-Many ID
column contains a system-generated value that uniquely identifies the impacted
site. This column is half of a composite primary key for the table.This column is a
foreign key that references the WTMIMPACTEDSITEMM table.
ORGTASKID The Organization Task ID column contains the systemgenerated value that uniquely identifies the organization task.This column is half
of a composite primary key for the table.This column is a foreign key that
references the ORGTASK table.

55

Chapter 1

Task Management Database Tables

WTMSITEPROFILE
The Task Management Site Profile table contains information about the site
profiles for task management.
Dependent Tables

WTMFCSITEPROFMM

WTMSTRTSKSPROFHRSMM

WTMSITEPROFILESETMM
WTMSITEPROFPROJMM

Columns, Data Types, and Null Constraints


Column Name

Oracle

SQL Server

Null Constraint

WTMSITEPROFILEID (pk)

Number(12)

Int

Not Null

WTMSITEPROFILENM

nVarChar2(30)

nVarChar(30)

Not Null

WTMSITEPROFILEDSC

nVarChar2(250)

nVarChar(250)

Null

ACTIVESW

Number(12)

Int

Not Null

UPDATEDTM

Date

DateTime

Not Null

VERSIONCNT

Number(12)

Int

Not Null

Indexes
Index Name

Columns

Unique?

XU1_WTMSITEPROFILE

WTMSITEPROFILENM

Yes

Column Definitions
WTMSITEPROFILEID The Task Management Site Profile ID column
contains a system-generated number that uniquely identifies the task management
site profile. This column is the primary key for the table.
WTMSITEPROFILENM The Task Management Site Profile Name column
contains the name of the task management site profile.
WTMSITEPROFILEDSC The Task Management Site Profile Description
column contains the description of the task management site profile.

56

WTMSITEPROFILE

ACTIVESW The Active Switch column indicates whether this site profile is
the active site profile.
UPDATEDTM The Update Date Time column contains the date and time that
the site profile was created or modified.
VERSIONCNT The Version Count column is for internal system use only.

57

Chapter 1

Task Management Database Tables

WTMSITEPROFILESET
The Task Management Site Profile Set table contains information about the site
profile sets for task management.
Dependent Tables

WTMSITEPROFILESETMM

Columns, Data Types, and Null Constraints


Column Name

Oracle

SQL Server

Null Constraint

WTMSITEPROFILESETID (pk) Number(12)

Int

Not Null

WTMSITEPROFILESETNM

nVarChar2(30)

nVarChar(30)

Not Null

WTMSITEPROFILESETDSC

nVarChar2(250)

nVarChar(250)

Null

UPDATEDTM

Date

DateTime

Not Null

VERSIONCNT

Number(12)

Int

Not Null

ACTIVESW

Number(1)

Int

Not Null

Indexes
Index Name

Columns

XU1_WTMSITEPROFILESET WTMSITEPROFILESETNM

Unique?
Yes

Column Definitions
WTMSITEPROFILESETID The Task Management Site Profile Set ID
column contains a system-generated number that uniquely identifies the task
management site profile set. This column is the primary key for the table.
WTMSITEPROFILESETNM The Task Management Site Profile Set Name
column contains the name of the task management site profile set.
WTMSITEPROFILESETDSC The Task Management Site Profile Set
Description column contains the description of the task management site profile
set.

58

WTMSITEPROFILESET

UPDATEDTM The Update Date Time column contains the date and time that
the site profile set was created or modified.
VERSIONCNT The Version Count column is for internal system use only.
ACTIVESW The Active Switch column indicates whether this site profile set
is the active site profile set.

59

Chapter 1

Task Management Database Tables

WTMSITEPROFILESETMM
The Task Management Site Profile Set (Many-to-Many mapping) table contains a
mapping between the site profile set and the site profile for task management.
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

WTMSITEPROFILESETID (pk, fk) Number(12)

Int

Not Null

WTMSITEPROFILEID (pk, fk)

Int

Not Null

Number(12)

Column Definitions
WTMSITEPROFILESETID The Task Management Site Profile Set ID
column contains a system-generated number that uniquely identifies the task
management site profile set. This column is half of a composite primary key for
the table.This column is a foreign key that references the
WTMSITEPROFILESET table.
WTMSITEPROFILEID The Task Management Site Profile ID column
contains a system-generated number that uniquely identifies the task management
site profile. This column is half of a composite primary key for the table.This
column is a foreign key that references the WTMSITEPROFILE table.

60

WTMSITEPROFPROJMM

WTMSITEPROFPROJMM
The Task Management Site Profile Project (Many-to-Many mapping) table
contains a mapping between the task management site profile and the task
management project.
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

WTMSITEPROFILEID (pk, fk)

Number(12)

Int

Not Null

WTMPROJECTID (pk, fk)

Number(12)

Int

Not Null

Column Definitions
WTMSITEPROFILEID The Task Management Site Profile ID column
contains a system-generated number that uniquely identifies the task management
site profile. This column is half of a composite primary key for the table.This
column is a foreign key that references the WTMSITEPROFILE table.
WTMPROJECTID The Task Management Project ID column contains a
system-generated number that uniquely identifies the task management project.
This column is half of a composite primary key for the table.This column is a
foreign key that references the WTMPROJECT table.

61

Chapter 1

Task Management Database Tables

WTMSITEPROJECTHRS
The Site Project Hours table contains the project allocated and actual hours
information for the impacted site/store.
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

WTMSITEPROJECTHRSID (pk)

Number(12)

Int

Not Null

WTMIMPACTEDSITEMMID (fk)

Number(12)

Int

Not Null

BUDGETEDHOURS

Number(12)

Int

Not Null

TOTALACTUALHOURS

Number(12)

Int

Null

UPDATEDTM

Date

DateTime

Not Null

VERSIONCNT

Number(12)

Int

Not Null

Indexes
Index Name

Columns

Unique?

X1_WTMSITEPROJECTHRS

WTMIMPACTEDSITEMMID

No

Column Definitions
WTMSITEPROJECTHRSID The Site Project Hours ID column contains a
system-generated value that uniquely identifies the site project hours.This column
is the primary key for the table.
WTMIMPACTEDSITEMMID The Impacted Site Many-to-Many ID
column contains a system-generated value that uniquely identifies the impacted
site. This column is a foreign key that references the WTMIMPACTEDSITEMM
table.
BUDGETEDHOURS The Budgeted Hours column contains the allocated
hours information for the impacted site/store.
TOTALACTUALHOURS The Total Allocated Actual Hours column
contains the actual hours information for the impacted site/store.

62

WTMSITEPROJECTHRS

UPDATEDTM The Update Date Time column contains the date and time
when the site project hours was last updated.
VERSIONCNT The Version Count column is for internal system use only.

63

Chapter 1

Task Management Database Tables

WTMSITEPROJHRSALLOC
The Site Project Hours Allocated table contains the organization task allocated
and used hours information.
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

WTMSITEPROJHRSALLOCID (pk) Number(12)

Int

Not Null

WTMIMPACTEDSITEMMID (fk)

Number(12)

Int

Not Null

ORGTASKID (fk)

Number(12)

Int

Not Null

ALLOCATEDHOURS

Number(12)

Int

Not Null

USEDHOURS

Number(12)

Int

Not Null

UPDATEDTM

Date

DateTime

Not Null

VERSIONCNT

Number(12)

Int

Not Null

Indexes
Index Name

Columns

Unique?

X1_WTMSITEPROJHRSALLO WTMIMPACTEDSITEMMID
C

No

X2_WTMSITEPROJHRSALLO ORGTASKID
C

No

Column Definitions
WTMSITEPROJHRSALLOCID The Site Project Hours Allocated ID
column contains a system-generated value that uniquely identifies the site project
hours allocated. This column is the primary key for the table.
WTMIMPACTEDSITEMMID The Impacted Site Many-to-Many ID
column contains a system-generated value that uniquely identifies the impacted
site. This column is a foreign key that references the WTMIMPACTEDSITEMM
table.

64

WTMSITEPROJHRSALLOC

ORGTASKID The Organization Task ID column contains a system-generated


value that uniquely identifies the organization task. This column is a foreign key
that references the ORGTASK table.
ALLOCATEDHOURS The Allocated Hours column contains the allocated
hours against the organization task.
USEDHOURS The Used Hours column contains the hours used against the
organization task.
UPDATEDTM The Update Date Time column contains the date and time
when the site project hours allocation was updated.
VERSIONCNT The Version Count column is for internal system use only.

65

Chapter 1

Task Management Database Tables

WTMSITEPROJTASKHRS
The Site Project Task Hours table contains the planned task allocated/ budgeted
and total actual hours of the impacted site/store.
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

WTMSITEPROJTASKHRSID (pk)

Number(12)

Int

Not Null

WTMIMPACTEDSITEMMID (fk)

Number(12)

Int

Not Null

PLANNEDTASKID (fk)

Number(12)

Int

Not Null

BUDGETEDHOURS

Number(12)

Int

Not Null

TOTALACTUALHOURS

Number(12)

Int

Null

UPDATEDTM

Date

DateTime

Not Null

VERSIONCNT

Number(12)

Int

Not Null

Indexes
Index Name

Columns

Unique?

X1_WTMSITEPROJTASKHRS PLANNEDTASKID

No

X2_WTMSITEPROJTASKHRS WTMIMPACTEDSITEMMID

No

Column Definitions
WTMSITEPROJTASKHRSID The Site Projected Task Hours ID column
contains a system-generated value that uniquely identifies the site project task
hours. This column is the primary key for the table
WTMIMPACTEDSITEMMID The Impacted Site Many-to-Many ID
column contains a system-generated value that uniquely identifies the impacted
site. This column is a foreign key that references the WTMIMPACTEDSITEMM
table.
PLANNEDTASKID The Planned Task ID column contains a systemgenerated value that uniquely identifies the planned task. This column is a foreign
key that references the PLANNEDTASK table.

66

WTMSITEPROJTASKHRS

BUDGETEDHOURS The Budgeted Hours column contains the budgeted


hours for the planned task for the impacted site/store.
TOTALACTUALHOURS The Total Allocated Actual Hours column
contains the total allocated hours for the impacted site/store.
UPDATEDTM The Update Date Time column contains the date and time
when the site projected task hours was updated.
VERSIONCNT The Version Count column is for internal system use only.

67

Chapter 1

Task Management Database Tables

WTMSITESTATUSMM
The Site Status (Many-to-Many) table contains the impacted site/store completion
status.
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

WTMIMPACTEDSITEMMID (pk,
fk)

Number(12)

Int

Not Null

WTMCOMPLETESTATUSID (pk,
fk)

Number(12)

Int

Not Null

TARGETTOTTASKAMT

Number(12)

Int

Null

ACTUALTOTTASKAMT

Number(12)

Int

Null

Column Definitions
WTMIMPACTEDSITEMMID The Impacted Site Many-to-Many ID
column contains a system-generated value that uniquely identifies the impacted
site. This column is half of a composite primary key for the table.This column is a
foreign key that references the WTMIMPACTEDSITEMM table.
WTMCOMPLETESTATUSID The Complete Status ID column contains a
value that indicates the completion status. This column is half of a composite
primary key for the table.This column is a foreign key that references the
WTMCOMPLETESTATUS table.
TARGETTOTTASKAMT The Target Total Task Amount column contains
the sites total number of target strategic task days of work planned.
ACTUALTOTTASKAMT The Actual Total Task Amount column contains
the sites total number of actual strategic tasks days of work completed.

68

WTMSITESTRTGYALLOCHRS

WTMSITESTRTGYALLOCHRS
This table is not being used.
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

WTMIMPACTEDSITEMMID (pk,
fk)

Number(12)

Int

Not Null

PLANNEDTASKID (pk, fk)

Number(12)

Int

Not Null

ALLOCATEDHRS

Number(16,6)

Decimal(16,6)

Not Null

REMAININGHRS

Number(16,6)

Decimal(16,6)

Not Null

Column Definitions
WTMIMPACTEDSITEMMID This column is no longer in use.
PLANNEDTASKID This column is no longer in use.
ALLOCATEDHRS This column is no longer in use.
REMAININGHRS This column is no longer in use.

69

Chapter 1

Task Management Database Tables

WTMSTRATEGICTASKMM
The Strategic Task Many-to-Many table contains the association of project
planned task assigned to generic department and job along with hours of work
planned.
Dependent Tables

WTMSTRTSKSPROFHRSMM

WTMSTRTSKFCCATHRSMM

Columns, Data Types, and Null Constraints


Column Name

Oracle

SQL Server

Null Constraint

WTMSTRATEGICTASKMMID (pk) Number(12)

Int

Not Null

PLANNEDTASKID (fk)

Number(12)

Int

Not Null

FCGENERICDEPTID (fk)

Number(12)

Int

Null

WFCJOBID (fk)

Number(12)

Int

Null

SITEHOURS

Number(12)

Int

Null

Indexes
Index Name

Columns

Unique?

XU1_WTMSTRATEGICTASK
MM

PLANNEDTASKID
FCGENERICDEPTID
WFCJOBID

Yes

Column Definitions
WTMSTRATEGICTASKMMID The Strategic Task Many-to-Many ID
column contains a system-generated value that uniquely identifies the strategic
task. This column is the primary key for the table.
PLANNEDTASKID The Planned Task ID column contains a systemgenerated value that uniquely identifies the planned task. This column is a foreign
key that references the PLANNEDTASK table.

70

WTMSTRATEGICTASKMM

FCGENERICDEPTID The Forecast Generic Department ID column


identifies the generic department. This column is a foreign key that references the
FCGENERICDEPT table.
WFCJOBID The Job ID column contains a system-generated number that
uniquely identifies the row. The Job ID column contains a system-generated value
that uniquely identifies the job. This column is a foreign key that references the
WFCJOB table.
SITEHOURS The Site Hours column contains hours of work planned.

71

Chapter 1

Task Management Database Tables

WTMSTRTSKFCCATHRSMM
The Strategic Task Forecast Category Hours (Many-to-Many) table contains store
hours information against strategic task Many-to-Many ID.
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

WTMSTRTSKFCCATHRSMMID
(pk)

Number(12)

Int

Not Null

WTMSTRATEGICTASKMMID (fk) Number(12)

Int

Not Null

FCCATIDSID (fk)

Number(12)

Int

Not Null

FCCATHOURS

Number(12)

Int

Not Null

Indexes
Index Name

Columns

Unique?

X1_WTMSTRTSKFCCATHRS WTMSTRATEGICTASKMMID No
MM
X2_WTMSTRTSKFCCATHRS FCCATIDSID
MM

No

Column Definitions
WTMSTRTSKFCCATHRSMMID The Forecast Category Many-to-Many
ID column contains a system-generated value that uniquely identifies the forecast
category hours for strategic Many-to-Many. This column is the primary key for
the table.
WTMSTRATEGICTASKMMID The Strategic Task Many-to-Many ID
column contains a system-generated value that uniquely identifies the strategic
task.This column is a foreign key that references the
WTMSTRATEGICTASKMM table.
FCCATIDSID The Forecast Category IDs ID column identifies the effectively
dated revision of a forecast category. This column is a foreign key that references
the FCCATIDS table.

72

WTMSTRTSKFCCATHRSMM

FCCATHOURS The Forecast At Hours column contains the planned hours


for forecast category.

73

Chapter 1

Task Management Database Tables

WTMSTRTSKSPROFHRSMM
The Site Profile Hours (Many-to-Many) table contains the planned hours for a site
profile.
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

WTMSTRTSKSPROFHRSMMID
(pk)

Number(12)

Int

Not Null

WTMSTRATEGICTASKMMID (fk) Number(12)

Int

Not Null

WTMSITEPROFILEID (fk)

Number(12)

Int

Not Null

SITEPROFILEHOURS

Number(12)

Int

Null

Column Definitions
WTMSTRTSKSPROFHRSMMID The Site Profile Hours (Many-to-Many)
ID column contains a system-generated value that uniquely identifies the site
profile hours. This column is the primary key for the table.
WTMSTRATEGICTASKMMID The Strategic Task Many-to-Many ID
column contains a system-generated value that uniquely identifies the strategic
task. This column is a foreign key that references the
WTMSTRATEGICTASKMM table.
WTMSITEPROFILEID The Site Profile ID column contains a systemgenerated value that uniquely identifies the site profile. This column is a foreign
key that references the WTMSITEPROFILE table.
SITEPROFILEHOURS The Site Profile Hours column contains the planned
hours for a site profile.

74

WTMTSKCOMPLTSTATMM

WTMTSKCOMPLTSTATMM
The Planned Task Complete Status (Many-to-Many mapping) table contains the
completion status for a planned task of a impacted site/store.
Columns, Data Types, and Null Constraints
Column Name

Oracle

SQL Server

Null Constraint

PLANNEDTASKID (pk, fk)

Number(12)

Int

Not Null

WTMCOMPLETESTATUSID (pk, fk) Number(12)

Int

Not Null

WTMIMPACTEDSITEMMID (pk, fk) Number(12)

Int

Not Null

Indexes
Index Name

Columns

X1_WTMTSKCOMPLTSTATM PLANNEDTASKID
M

Unique?
No

Column Definitions
PLANNEDTASKID The Planned Task ID column contains a systemgenerated number that uniquely identifies the planned task. This column is half of
a composite primary key for the table.This column is a foreign key that references
the PLANNEDTASK table.
WTMCOMPLETESTATUSID The Task Management Complete Status ID
column contains a system-generated number that uniquely identifies the
completion status of a planned task. This column is half of a composite primary
key for the table.This column is a foreign key that references the
WTMCOMPLETESTATUS table.
WTMIMPACTEDSITEMMID The Impacted Site Many-to-Many ID
column contains a system-generated value impacted site. This column is half of a
composite primary key for the table.This column is a foreign key that references
the WTMIMPACTEDSITEMM table.

75

Chapter 1

76

Task Management Database Tables

Você também pode gostar