0% found this document useful (0 votes)
2K views106 pages

PPMDB Schema For Version 1770.0001.0001 PDF

This document provides a summary of 106 database tables used in the Primavera P6 Professional version 1770 schema. It lists the table name and brief description for each table, including core tables for projects, activities, resources, calendars, and more. Relationship tables are also included to link different table types like projects to portfolios, resources to roles, and users to workspaces.

Uploaded by

George Anibor
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views106 pages

PPMDB Schema For Version 1770.0001.0001 PDF

This document provides a summary of 106 database tables used in the Primavera P6 Professional version 1770 schema. It lists the table name and brief description for each table, including core tables for projects, activities, resources, calendars, and more. Relationship tables are also included to link different table types like projects to portfolios, resources to roles, and users to workspaces.

Uploaded by

George Anibor
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 106

PPMDB Schema for version 1770.0001.0001.

0001 Page 1 of 106

Tables
ACCOUNT Cost accounts
ACTVCODE Activity code values
ACTVTYPE Activity codes
ADMIN_CONFIG Configurations for Administrator app
BASETYPE Baseline types
BGPLOG Background Process Log
BRE_REGISTRY Registry of active Business Rule Engines
BUDGCHNG Budget change log
CALENDAR Calendars - base, project, and resource
COSTTYPE Expense categories
CURRTYPE Currency information
DASHBOARD Multiple Workspaces
DASHUSER Multiple Personal Workspace Users
DISCUSSION Discussion Post
DISCUSSION_READ Discussion Post Read
DLTACCT Delayed Loading ACCOUNT
DLTACTV Delayed Loading Activity Code
DLTOBS Delayed Loading OBS
DLTROLE Delayed Loading ROLE
DLTRSRC Delayed Loading Resource
DLTRSRL Delayed Loading Res Role
DLTUSER Delayed Loading User
DOCCATG Categories for documents
DOCREVIEW Document Review
DOCREVIEWTASK Document Review Task
DOCSTAT Status codes for work products and documents
DOCUMENT Documents and Work Products
EXPPROJ Expedition Project Link
EXTAPP External applications
FACTOR Size and complexity factors for bottom-up and function point estimation
FACTVAL Size and complexity factor values
FILTPROP Filter properties
FINDATES Financial Periods
FORMCATG Form Template Categories
FORMPROJ Issue Form objects
FORMTMPL Form Templates
FUNDSRC Funding sources
GCHANGE Global change
HQDATA Hierarchical Query data
HQUERY Hierarchical Queries
ISSUHIST Issue histories
ITERATION Iterations
ITERDAYS Iteration Days
ITERGOAL Iteration Goals
JOBLOG Web Scheduler Report
JOBRPT Job Report Data
JOBSVC Job services - jobs which automatically run in the background
LOCATION Master location table
MEMOTYPE Notebook topics
NEXTKEY Next key values for creating all the Unique IDs
NONWORK Overhead codes
NOTE Notes for any single primary key table
OBS Project organizational breakdown structure
OBSPROJ Security at the project/EPS level
PCATTYPE Project code types
PCATUSER Project code values to user association
PCATVAL Project code values
PFOLIO Project portfolios
PHASE WBS codes
PKXREF
POBS Performing Organization Breakdown Structure
PREFER Admin preferences
PRMAUDIT Primavera Database Audting
PRMQUEUE Changes on the OBSPROJ are queued to
PROCGROUP Step Group
PROCITEM Step Group Item
PROFILE User security profiles
PROFPRIV Security privileges assigned to user profiles
PROJCOST Expenses for a project
PROJECT Projects
PROJEST History of estimates done for project

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 2 of 106

PROJFUND Project funding sources


PROJISSU Project issues
PROJPCAT Project codes assigned to projects
PROJPROP Miscellaneous project properties - scheduler settings, etc.
PROJRISK Project risks
PROJSHAR Identifies which projects are currently locked in shared/exclusive mode by user sessions
PROJTHRS Project thresholds
PROJWBS Project work breakdown structure
PROJWSRPT Project Workspace Reports
PRPFOLIO Association table between PROJECT and PFOLIO
PUBUSER Privileged (private) database login usernames and passwords
QUERYLIB CBO Query Library
RCATTYPE Resource code types
RCATVAL Resource code values
REFRDEL Audit of deleted records for use by refresh processes.
REITTYPE Type of Related Item
RELEASE Release Information
RELITEMS Associative list of related data
RFOLIO Resource portfolios
RISKCTRL Risk control text fields
RISKTYPE Risk types
RLFOLIO Role portfolio dictionary
ROLELIMIT Rolelimits
ROLERATE Time-varying role prices and maximum units
ROLES Roles
ROLFOLIO Association table between ROLES and RLFOLIO
RPT Reports
RPTBATCH Report series for batch printing
RPTGROUP Report groups
RPTLIST List of reports in each report batch
RSRC Resources
RSRCANDASH Resource Analysis Dashboards
RSRCANVIEW Resource Analysis Views
RSRCCURV Resource curves
RSRCHOUR Resource-timesheet hours
RSRCPROP Miscellaneous resource properties - populated by Project Satellite in direct mode
RSRCRATE Time-varying resource prices and maximum units
RSRCRCAT Resource codes assigned to resources
RSRCROLE Resource-role assignments
RSRCSEC User Resource Security
RSRFOLIO Association table between RSRC and RFOLIO
SCENARIO User level Scenarios
SCENPROJ Scenario Project
SCENROLE Scenario Role
SCENUSER User level Scenarios
SETTINGS System and user Settings
SHIFT Shift definitions for resources
SHIFTPER Work periods within shifts
SPIDMAP Used by auditing to maintain spid to user information
SUMPROJCOST Cost Summary data
SUMTASK Summary data for Activities
SUMTASKSPREAD Summary data for Activity Spreads
SUMTRSRC Summary data for WBS
TASK Activities
TASKACTV Activity codes assigned to activities
TASKDOC Work products and documents assigned to activities
TASKFDBK Activity feedback to project manager from primary resource
TASKFIN Financial period data for task
TASKMEMO Activity specifications
TASKNOTE Activity notes to resources from project manager
TASKPRED Activity dependencies
TASKPROC Activity steps
TASKRISK Activity Risks
TASKRSRC Resources assigned to activities
TASKSUM Summary data based on activities / WBS / EPS
TASKSUMFIN Task Financial Summarized Data
TASKUSER Task Access for User
TASKWKSP Activity assigned to Workspace
TEMPKEYS Temp table for obsproj
THRSPARM Threshold parameters
TIMESHT Resource timesheets
TMPLCATG Template Category
TPROJMAP Temp table for baseline copy
TRAKVIEW Tracking views

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 3 of 106

TRSRCFIN Financial period data for resource assigments


TRSRCSUM Summary data based on taskrsrc table; summarized by projects, resources, and roles
TRSRCSUMFN Summary data based on taskrsrc and financial period
TSAUDIT Timesheet approval auditing
TSDATES Timesheet periods
TSDELEGATE Timesheet approval delegate
UACCESS User Project Access
UDFCODE Code values for enumerated UDF
UDFTYPE Definitions/labels for all user-defined columns
UDFVALUE Values for all user-defined columns
UEVNTREG Primavera Event Registry
UMEASURE Unit of Measure
UPKLIST User Primary Key List
USERCOL Labels for Static Columns
USERDATA Settings/preferences for users, by topic
USERENG Maps users to database engine types for license enforcement
USEROBS User-OBS assignments
USEROPEN Named set of data elements the user is opening.
USERS Application users
USERSET Settings table for users to support new User Prefs for Role Limit
USERWKSP Associative list of users to workspaces
USESSAUD Usession audit login and logoff
USESSION User sessions to support project-level locking and licensing
USROPNVAL Detailed values for User Open
VIEWPREF view preferences for Portfolis Staffing Analysis page settings
VIEWPROP Activity view properties
VWPREFDASH View Preferences for Dashboards
VWPREFDATA view preferences data for Portfolis Staffing Analysis page settings
VWPREFUSER To support the assignment of activity views to a list of users
WBRSCAT Recource planning category table
WBSBUDG Periodic (monthly) budgets for projects and WBS
WBSMEMO Project / EPS / WBS notebook
WBSRSRC Project-level resource assignment table.
WBSRSRC_QTY Project-level resource assignment quantity buckets.
WBSSTEP WBS milestones
WKFLTMPL Workflow Template
WKFLUSER Associative list of project init and users
WORKFLOW The initiation table tracks the template selected to initiate the project, the current stage of the request, the current status of the request, and the re
WORKSPACE Workspace (project and project sub-space) for collaboration
[Top]

ACCOUNT
Columns
Key Name Type Description Default
PK acct_id integer FK to ACCOUNT table - identifies cost account for activity
acct_seq_num integer Sequence number for sorting
acct_short_name string(40) Account code
acct_name string(100) Account name
parent_acct_id integer FK to ACCOUNT table - identifies parent in cost account hierarchy
acct_descr blob Account description
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_account_parent_acct NONUNIQUE parent_acct_id
ndx_account_dsi NONUNIQUE delete_session_id,delete_date
ndx_account_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_ACCOUNT OR SQL Server
RT_ACCOUNT_DEL OR SQL Server
RT_ACCOUNT OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_account PRIMARY acct_id

References

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 4 of 106

Name Type Table Fields Target


Fields
fk_projcost_account FOREIGN PROJCOST acct_id acct_id
fk_project_account FOREIGN PROJECT acct_id acct_id
fk_taskrsrc_account FOREIGN TASKRSRC acct_id acct_id
[Top]

ACTVCODE
Columns
Key Name Type Description Default
PK actv_code_id integer FK to ACTVCODE table - identifies the activity code value
FK actv_code_type_id integer FK to ACTVTYPE table - identifies the activity code type
seq_num integer Sequence number for sorting
short_name string(60) Activity code value
parent_actv_code_id integer FK to ACTVCODE table - identifies parent in activity code hierarchy
actv_code_name string(120) Activity code description
color string(6) Color for Activity code
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_actvcode_1 NONUNIQUE actv_code_type_id
ndx_actvcode_parent_actv NONUNIQUE parent_actv_code_id
ndx_actvcode_update_date1 NONUNIQUE update_date
ndx_actvcode_dsi NONUNIQUE delete_session_id,delete_date
ndx_actvcode_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_ACTVCODE OR SQL Server
RT_ACTVCODE_DEL OR SQL Server
RT_ACTVCODE OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_actvcode PRIMARY actv_code_id
fk_actvcode_actvtype FOREIGN actv_code_type_id ACTVTYPE actv_code_type_id

References
Name Type Table Fields Target Fields
fk_taskactv_actvcode FOREIGN TASKACTV actv_code_id actv_code_id
[Top]

ACTVTYPE
Columns
Key Name Type Description Default
PK actv_code_type_id integer FK to ACTVTYPE table - identifies the activity code type
actv_short_len integer Max length of activity code value
seq_num integer Sequence number for sorting
actv_code_type string(40) Activity code name
actv_code_type_scope string(10) Activity Code Type Type
FK proj_id integer FK to PROJECT table - identifies the project
super_flag string(1) Indicates that this activity code type is a super code 'N'
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_actvtype_1 NONUNIQUE proj_id
ndx_actvtype_dsi NONUNIQUE delete_session_id,delete_date
ndx_actvtype_upd NONUNIQUE update_date,delete_session_id

Triggers

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 5 of 106

PRMAUD_ACTVTYPE OR SQL Server


RT_ACTVTYPE_DEL OR SQL Server
RT_ACTVTYPE OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_actvtype PRIMARY actv_code_type_id
fk_actvtype_project FOREIGN proj_id PROJECT proj_id

References
Name Type Table Fields Target Fields
fk_actvcode_actvtype FOREIGN ACTVCODE actv_code_type_id actv_code_type_id
fk_taskactv_actvtype FOREIGN TASKACTV actv_code_type_id actv_code_type_id
[Top]

ADMIN_CONFIG
Columns
Key Name Type Description
PK config_name string(255) Name of the configuration file the BRE is using
config_type string(10) would either contain PS or BRE for Presentation config. file **OR** BRE config file, respectively
factory_version string(10) Primavera default settings version number. Referred to as the 'Factory Defaults' in the XML config file.
last_change_date date Timestamp of last change date
config_value string(255) String value for config entry.
config_data blob Storage for the xml config file
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_admin_config_dsi NONUNIQUE delete_session_id,delete_date
ndx_admin_config_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_ADMIN_CONFIG OR SQL Server
RT_ADMIN_CONFIG_DEL OR SQL Server
RT_ADMIN_CONFIG OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_admin_config PRIMARY config_name

References
Name Type Table Fields Target Fields
[Top]

BASETYPE
Columns
Key Name Type Description Default
PK base_type_id integer FK to BASETYPE table - identifies the baseline type if this is a baseline project - else null
base_type_seq_num integer Sequence number for sorting
base_type string(40) Baseline type
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_basetype_dsi NONUNIQUE delete_session_id,delete_date
ndx_basetype_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_BASETYPE OR SQL Server
RT_BASETYPE_DEL OR SQL Server
RT_BASETYPE OR SQL Server

Constraints

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 6 of 106

Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_basetype PRIMARY base_type_id

References
Name Type Table Fields Target Fields
fk_project_basetype FOREIGN PROJECT base_type_id base_type_id
[Top]

BGPLOG
Columns
Key Name Type Description Default
log_time date Log time sysdate
source string(255) Source value for Log
type string(255) Type of log entry
description string(4000) Description of log entry

Indexes
Name Unique Fields
ndx_bgplog NONUNIQUE log_time

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition

References
Name Type Table Fields Target Fields
[Top]

BRE_REGISTRY
Columns
Key Name Type Description Default
PK bre_registry_id string(50) Unique internal ID taken from BRE GUID - uniquely ID's a BRE
ip_address string(30) IP address of the BRE server
start_time date Timestamp of BRE start-up
last_time date Timestamp of last BRE keepalive ping
status_code character Indicates whether timesheet currently is not started, active, submitted, approved or rejected
torched_time date Time at which the BRE was torched
config_name string(30) Name of the configuration file the BRE is using
config_changed_flag character Indicator if the config file gets changed and BRE needs to update it's profile
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_bre_registry_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_BRE_REGISTRY OR SQL Server
RT_BRE_REGISTRY_DEL OR SQL Server
RT_BRE_REGISTRY OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_bre_registry PRIMARY bre_registry_id

References
Name Type Table Fields Target Fields
[Top]

BUDGCHNG
Columns
Key Name Type Description Default
PK budg_chng_id integer Unique internal ID
FK proj_id integer FK to PROJECT table - identifies the project
FK wbs_id integer FK to PROJWBS table - identifies the WBS
chng_date date Date of budget change entry
chng_short_name string(32) Change Number

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 7 of 106

chng_cost double(22,6) Amount


chng_by_name string(255) Person responsible for change
status_code string(30) Indicates whether timesheet currently is not started, active, submitted, approved or rejected
chng_descr string(130) Descriptive reason for budget change request
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_budgchng_1 NONUNIQUE proj_id
ndx_budgchng_2 NONUNIQUE wbs_id
ndx_budgchng_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_BUDGCHNG OR SQL Server
RT_BUDGCHNG_DEL OR SQL Server
RT_BUDGCHNG OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_budgchng PRIMARY budg_chng_id
fk_budgchng_project FOREIGN proj_id PROJECT proj_id
fk_budgchng_projwbs FOREIGN wbs_id PROJWBS wbs_id

References
Name Type Table Fields Target Fields
[Top]

CALENDAR
Columns
Key Name Type Description
PK clndr_id integer FK to CALENDAR table - identifies the activity calendar
default_flag string(1) ID's default curves which cannot be edited by users
rsrc_private string(1) Flag showing whether a resource calender is private
clndr_name string(255) Calendar name
FK proj_id integer FK to PROJECT table - identifies the project
base_clndr_id integer FK to CALENDAR table - identifies the base calendar changes are derived from
last_chng_date date Date of last changes to activities within WBS; acts as a timestamp indicating summaries should be recomputed
clndr_type string(16) Type of calendar - base, project, or resource
clndr_data blob Text string containing exceptions from weekly defaults
day_hr_cnt double(22,2) Count of hours per day for converting displayed time/duration units
week_hr_cnt double(22,2) Count of hours per week for converting displayed time/duration units
year_hr_cnt double(22,2) Count of hours per year for converting displayed time/duration units
month_hr_cnt double(22,2) Count of hours per month for converting displayed time/duration units
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_calendar_1 NONUNIQUE proj_id
ndx_calendar_dsi NONUNIQUE delete_session_id,delete_date
ndx_calendar_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_CALENDAR OR SQL Server
RT_CALENDAR_DEL OR SQL Server
RT_CALENDAR OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_calendar PRIMARY clndr_id
fk_calendar_project FOREIGN proj_id PROJECT proj_id
ck_calendar_default_flag CHECK default_flag default_flag in ('Y', 'N')

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 8 of 106

References
Target
Name Type Table Fields
Fields
fk_rsrc_calendar FOREIGN RSRC clndr_id clndr_id
fk_task_calendar FOREIGN TASK clndr_id clndr_id
[Top]

COSTTYPE
Columns
Key Name Type Description Default
PK cost_type_id integer FK to COSTTYPE table - identifies the expense category
seq_num integer Sequence number for sorting
cost_type string(36) Expense category
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_costtype_dsi NONUNIQUE delete_session_id,delete_date
ndx_costtype_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_COSTTYPE OR SQL Server
RT_COSTTYPE_DEL OR SQL Server
RT_COSTTYPE OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_costtype PRIMARY cost_type_id

References
Name Type Table Fields Target Fields
fk_projcost_costtype FOREIGN PROJCOST cost_type_id cost_type_id
fk_sumprojcost_costtype FOREIGN SUMPROJCOST cost_type_id cost_type_id
[Top]

CURRTYPE
Columns
Key Name Type Description Default
PK curr_id integer FK to CURRTYPE table - identifies the user's view currency
decimal_digit_cnt integer Number of Digits After Decimal
curr_symbol string(6) Currency Symbol
decimal_symbol string(6) Decimal Symbol
digit_group_symbol string(6) Digit Grouping Symbol
pos_curr_fmt_type string(20) Positive Currency Format
neg_curr_fmt_type string(20) Negative Currency Format
curr_type string(40) Currency - Values: US Dollars, Canadian Dollars, etc.
curr_short_name string(6) Currency ID - Unique currency abbreviation for each currency
group_digit_cnt integer Count of digits in group 3
base_exch_rate double(22,6) Exchange rate of this currency to the base currency
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_curr_short_name UNIQUE curr_short_name
ndx_currtype_dsi NONUNIQUE delete_session_id,delete_date
ndx_currtype_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_CURRTYPE OR SQL Server
RT_CURRTYPE_DEL OR SQL Server
RT_CURRTYPE OR SQL Server

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 9 of 106

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_currtype PRIMARY curr_id

References
Name Type Table Fields Target Fields
fk_prefer_currtype FOREIGN PREFER curr_id curr_id
fk_rsrc_currtype FOREIGN RSRC curr_id curr_id
fk_users_currtype FOREIGN USERS curr_id curr_id
[Top]

DASHBOARD
Columns
Key Name Type Description Default
PK dashboard_id integer PK dashboard id
dashboard_name string(255) Dashboard Name
FK user_id integer FK to USERS table - identifies user who owns the dashboard
table_name string(30) Table Name
fk_id integer FK ID
lock_filter_flag string(1) Is the filter locked. 'N'
max_rows_per_portlet integer Number of rows to display per portlet
dashboard_layout_data string(4000) Order and size of portlet
portlet_settings_data blob Portlen settings for dashboard
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_dashboard_1 NONUNIQUE user_id
ndx_dashboard_dsi NONUNIQUE delete_session_id,delete_date
ndx_dashboard_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_DASHBOARD OR SQL Server
RT_DASHBOARD_DEL OR SQL Server
RT_DASHBOARD OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_dashboard PRIMARY dashboard_id
fk_dashboard_users FOREIGN user_id USERS user_id

References
Name Type Table Fields Target Fields
fk_dashuser_dashboard FOREIGN DASHUSER dashboard_id dashboard_id
fk_rsrcandash_dashboard FOREIGN RSRCANDASH dashboard_id dashboard_id
fk_vwprefdash_dashboard FOREIGN VWPREFDASH dashboard_id dashboard_id
[Top]

DASHUSER
Columns
Key Name Type Description Default
PK,FK dashboard_id integer PK and FK to dashboard TABLE
PK,FK user_id integer PK,FK to USERS table - identifies user who owns the view
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_dashuser_1 NONUNIQUE user_id,dashboard_id
ndx_dashuser_dsi NONUNIQUE delete_session_id,delete_date
ndx_dashuser_upd NONUNIQUE update_date,delete_session_id

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 10 of 106

Triggers
PRMAUD_DASHUSER OR SQL Server
RT_DASHUSER OR SQL Server
RT_DASHUSER_DEL OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_dashuser PRIMARY dashboard_id,user_id
fk_dashuser_users FOREIGN user_id USERS user_id CASCADE
fk_dashuser_dashboard FOREIGN dashboard_id DASHBOARD dashboard_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

DISCUSSION
Columns
Key Name Type Description Default
PK discussion_id integer PK to DISCUSSION
FK task_id integer FK to TASK table - identifies the task
discussion_value string(4000)
discussion_date date
user_id integer User id - identifies the user - not constrained
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_discussion_1 NONUNIQUE task_id,discussion_date
ndx_discussion_2 NONUNIQUE user_id,discussion_date
ndx_discussion_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_DISCUSSION OR SQL Server
RT_DISCUSSION_DEL OR SQL Server
RT_DISCUSSION OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_discussion PRIMARY discussion_id
fk_discussion_task FOREIGN task_id TASK task_id CASCADE

References
Name Type Table Fields Target Fields
fk_discussion_read_discussion FOREIGN DISCUSSION_READ discussion_id discussion_id
[Top]

DISCUSSION_READ
Columns
Key Name Type Description Default
PK,FK discussion_id integer FK to DISCUSSION
PK,FK user_id integer FK to USERS table - identifies the user
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_discussion_read_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_DISCUSSION_READ OR SQL Server
RT_DISCUSSION_READ_DEL OR SQL Server
RT_DISCUSSION_READ OR SQL Server

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 11 of 106

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_discussion_read PRIMARY discussion_id,user_id
fk_discussion_read_users FOREIGN user_id USERS user_id
fk_discussion_read_discussion FOREIGN discussion_id DISCUSSION discussion_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

DLTACCT
Columns
Key Name Type Description Default
session_id integer Session ID
acct_id integer Cost Account ID

Indexes
Name Unique Fields
ndx_dltacct_usession NONUNIQUE session_id

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition

References
Name Type Table Fields Target Fields
[Top]

DLTACTV
Columns
Key Name Type Description Default
session_id integer Session ID
actv_code_id integer Activity Code ID
parent_actv_code_id integer Parent Activity Code ID

Indexes
Name Unique Fields
ndx_dltactv_usession NONUNIQUE session_id

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition

References
Name Type Table Fields Target Fields
[Top]

DLTOBS
Columns
Key Name Type Description Default
session_id integer Session ID
obs_id integer OBS ID

Indexes
Name Unique Fields
ndx_dltobs_usession NONUNIQUE session_id

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition

References
Name Type Table Fields Target Fields
[Top]

DLTROLE
Columns
Key Name Type Description Default
session_id integer Session ID
role_id integer Role ID

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 12 of 106

Indexes
Name Unique Fields
ndx_dltrole_usession NONUNIQUE session_id

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition

References
Name Type Table Fields Target Fields
[Top]

DLTRSRC
Columns
Key Name Type Description Default
session_id integer Session ID
rsrc_id integer Resource ID

Indexes
Name Unique Fields
ndx_dltrsrc_usession NONUNIQUE session_id

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition

References
Name Type Table Fields Target Fields
[Top]

DLTRSRL
Columns
Key Name Type Description Default
session_id integer Session ID
rsrc_id integer Resource ID
role_id integer Role ID

Indexes
Name Unique Fields
ndx_dltrsrl_usession NONUNIQUE session_id

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition

References
Name Type Table Fields Target Fields
[Top]

DLTUSER
Columns
Key Name Type Description Default
session_id integer Session ID
user_id integer User ID

Indexes
Name Unique Fields
ndx_dltuser_usession NONUNIQUE session_id

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition

References
Name Type Table Fields Target Fields
[Top]

DOCCATG
Columns
Key Name Type Description Default
PK doc_catg_id integer FK to DOCCATG table - identifies the document category
seq_num integer Sequence number for sorting

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 13 of 106

doc_catg_name string(100) Document category name


update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_doccatg_dsi NONUNIQUE delete_session_id,delete_date
ndx_doccatg_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_DOCCATG OR SQL Server
RT_DOCCATG_DEL OR SQL Server
RT_DOCCATG OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_doccatg PRIMARY doc_catg_id

References
Name Type Table Fields Target Fields
fk_document_doccatg FOREIGN DOCUMENT doc_catg_id doc_catg_id
[Top]

DOCREVIEW
Columns
Key Name Type Description Default
PK doc_review_id integer PK to DOCREVIEW table - identifies the document review
FK doc_id integer FK to DOCUMENT table - identifies the document
FK user_id integer FK to USERS table - identifies the user
review_name string(255) Document review title
review_descr string(255) Document review description
review_type string(15) Document review type
due_date date Document review due date
status string(15) Document review status
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_docreview_document NONUNIQUE doc_id
ndx_docreview_users NONUNIQUE user_id

Triggers
PRMAUD_DOCREVIEW OR SQL Server
RT_DOCREVIEW_DEL OR SQL Server
RT_DOCREVIEW OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_docreview PRIMARY doc_review_id
fk_docreview_document FOREIGN doc_id DOCUMENT doc_id
fk_docreview_users FOREIGN user_id USERS user_id

References
Name Type Table Fields Target Fields
fk_docreviewtask_docreview FOREIGN DOCREVIEWTASK doc_review_id doc_review_id
[Top]

DOCREVIEWTASK
Columns
Key Name Type Description Default
PK review_task_id integer PK to DOCREVIEWTASK table - identifies the document review task
FK doc_review_id integer FK to DOCREVIEW table - identifies the docreview
FK user_id integer FK to USERS table - identifies the user

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 14 of 106

review_date date Document review date


comments string(4000) Document review task comments
priority integer Document review task priority
status string(15) Document review task status
attachment_uuid string(4000) Document review task attachemtn uuid
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_docreviewtask_docreview NONUNIQUE doc_review_id
ndx_docreviewtask_users NONUNIQUE user_id

Triggers
PRMAUD_DOCREVIEWTASK OR SQL Server
RT_DOCREVIEWTASK_DEL OR SQL Server
RT_DOCREVIEWTASK OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_docreviewtask PRIMARY review_task_id
fk_docreviewtask_docreview FOREIGN doc_review_id DOCREVIEW doc_review_id
fk_docreviewtask_users FOREIGN user_id USERS user_id

References
Name Type Table Fields Target Fields
[Top]

DOCSTAT
Columns
Key Name Type Description Default
PK doc_status_id integer FK to DOCSTAT table, identifies the document status
seq_num integer Sequence number for sorting
doc_status_code string(36) Document status code
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_docstat_dsi NONUNIQUE delete_session_id,delete_date
ndx_docstat_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_DOCSTAT OR SQL Server
RT_DOCSTAT_DEL OR SQL Server
RT_DOCSTAT OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_docstat PRIMARY doc_status_id

References
Name Type Table Fields Target Fields
fk_document_docstat FOREIGN DOCUMENT doc_status_id doc_status_id
[Top]

DOCUMENT
Columns
Key Name Type Description Default
PK doc_id integer FK to DOCUMENT table - identifies the document
doc_seq_num integer Sequence number for sorting
deliv_flag string(1) Identifies documents which are deliverables outside the project 'N'
doc_name string(120) Document title
parent_doc_id integer FK to DOCUMENT table - identifies parent in document hierarchy

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 15 of 106

FK proj_id integer FK to PROJECT table - identifies the project


FK doc_status_id integer FK to DOCSTAT table, identifies the document status
FK doc_catg_id integer FK to DOCCATG table - identifies the document category
doc_date date Document revision date
version_name string(20) Document version '1'
guid string(22) Global unique ID
tmpl_guid string(22) Methodology global unique ID
doc_short_name string(32) Document reference number
author_name string(255) Document author
private_loc string(255) Private location of document file on file/web server
public_loc string(255) Public location of document file on file/web server
doc_content blob Document description/content stored as text string
FK rsrc_id integer Resource Id of the resource responsible for the document.
doc_mgmt_type string(10) Management type for this document. 'DM_Local'
external_doc_key string(4000) Extental key for document management system.
cr_external_doc_key string(4000) new Extental key for jackrabbit document management system.
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_document_1 NONUNIQUE proj_id
ndx_document_doccatg NONUNIQUE doc_catg_id
ndx_document_docstat NONUNIQUE doc_status_id
ndx_document_parent_doc NONUNIQUE parent_doc_id
ndx_document_dsi NONUNIQUE delete_session_id,delete_date
ndx_document_rsrc NONUNIQUE rsrc_id
ndx_document_cr_external_key NONUNIQUE cr_external_doc_key

Triggers
PRMAUD_DOCUMENT OR SQL Server
RT_DOCUMENT_DEL OR SQL Server
RT_DOCUMENT OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_document PRIMARY doc_id
fk_document_doccatg FOREIGN doc_catg_id DOCCATG doc_catg_id
fk_document_project FOREIGN proj_id PROJECT proj_id
fk_document_docstat FOREIGN doc_status_id DOCSTAT doc_status_id
fk_document_rsrc FOREIGN rsrc_id RSRC rsrc_id
ck_document_deliv_flag CHECK deliv_flag deliv_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
fk_docreview_document FOREIGN DOCREVIEW doc_id doc_id
fk_taskdoc_document FOREIGN TASKDOC doc_id doc_id
[Top]

EXPPROJ
Columns
Key Name Type Description Default
PK,FK proj_id integer PK and also FK to PROJECT table
exp_group string(255) Specifies the Expedition database group name
exp_proj_name string(24) Specifies the Expedition project name
login_supplied_flag string(1) Application login and password supplied in exp_user_name and exp_passwd fields 'N'
exp_user_name string(40) Optional Expedition user name
exp_passwd string(60) Optional Expedition password
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 16 of 106

Name Unique Fields


ndx_expproj_dsi NONUNIQUE delete_session_id,delete_date
ndx_expproj_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_EXPPROJ OR SQL Server
RT_EXPPROJ_DEL OR SQL Server
RT_EXPPROJ OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_expproj PRIMARY proj_id
fk_expproj_project FOREIGN proj_id PROJECT proj_id CASCADE
ck_expproj_login_supplied_flag CHECK login_supplied_flag login_supplied_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
[Top]

EXTAPP
Columns
Key Name Type Description Default
PK app_id integer FK to EXTAPP table - identifies the external application
login_supply_flag string(1) Application login and password supplied in app_user_name and app_passwd fields 'N'
app_name string(100) The name of the application logged in
app_exe_name string(100) Application executable name, for operating system command
FK proj_id integer FK to PROJECT table - identifies the project
app_user_name string(40) Application login user name
app_passwd string(100) Application login password
app_data_name string(100) Name of dataset within the data file or database
app_parm_string string(255) Parameter string for application connection
app_data_loc string(255) Location (full path or db alias) of application data file or database
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_extapp_1 NONUNIQUE proj_id
ndx_extapp_dsi NONUNIQUE delete_session_id,delete_date
ndx_extapp_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_EXTAPP OR SQL Server
RT_EXTAPP_DEL OR SQL Server
RT_EXTAPP OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_extapp PRIMARY app_id
fk_extapp_project FOREIGN proj_id PROJECT proj_id
ck_extapp_login_supply_flag CHECK login_supply_flag login_supply_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
[Top]

FACTOR
Columns
Key Name Type Description Default
PK fact_id integer FK to FACTOR table - identifies the factor
fact_seq_num integer Sequence number for sorting
fact_type string(20) Factor type - function point or bottom-up complexity
fact_name string(100) Factor name
def_fact_val_id integer FK to FACTVAL table - identifies the default factor value
fact_descr blob Factor description
update_date date Refresh audit field of last date updated. Trigger maintained.

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 17 of 106

update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_factor_dsi NONUNIQUE delete_session_id,delete_date
ndx_factor_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_FACTOR OR SQL Server
RT_FACTOR_DEL OR SQL Server
RT_FACTOR OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_factor PRIMARY fact_id

References
Name Type Table Fields Target Fields
fk_factval_factor FOREIGN FACTVAL fact_id fact_id
[Top]

FACTVAL
Columns
Key Name Type Description Default
PK fact_val_id integer Unique ID
FK fact_id integer FK to FACTOR table - identifies the factor
fact_value string(24) Factor value
fact_value_descr string(255) Factor value description
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_factval_factor NONUNIQUE fact_id
ndx_factval_dsi NONUNIQUE delete_session_id,delete_date
ndx_factval_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_FACTVAL OR SQL Server
RT_FACTVAL_DEL OR SQL Server
RT_FACTVAL OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_factval PRIMARY fact_val_id
fk_factval_factor FOREIGN fact_id FACTOR fact_id

References
Name Type Table Fields Target Fields
[Top]

FILTPROP
Columns
Key Name Type Description Default
PK filter_id integer Unique ID
table_name string(16) Name of database table where column resides
filter_type string(20) Type of filter
filter_name string(40) Filter name
FK user_id integer FK to USERS table - identifies user who owns the view
filter_data blob Filter settings stored as text string
FK rpt_id integer FK to RPT table - identifies the report
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 18 of 106

create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_filtprop_1 NONUNIQUE user_id
ndx_filtprop_dsi NONUNIQUE delete_session_id,delete_date
ndx_filtprop_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_FILTPROP OR SQL Server
RT_FILTPROP_DEL OR SQL Server
RT_FILTPROP OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_filtprop PRIMARY filter_id
fk_filtprop_users FOREIGN user_id USERS user_id
fk_filtprop_rpt FOREIGN rpt_id RPT rpt_id

References
Name Type Table Fields Target Fields
[Top]

FINDATES
Columns
Key Name Type Description Default
PK fin_dates_id integer Unique ID
fin_dates_name string(60) Name of financial period
start_date date Start of financial period
end_date date Financial period finish date
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_findates_dsi NONUNIQUE delete_session_id,delete_date
ndx_findates_upd NONUNIQUE update_date,delete_session_id
ndx_findates_1 NONUNIQUE start_date,end_date

Triggers
PRMAUD_FINDATES OR SQL Server
RT_FINDATES_DEL OR SQL Server
RT_FINDATES OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_findates PRIMARY fin_dates_id

References
Name Type Table Fields Target Fields
fk_project_findates FOREIGN PROJECT last_fin_dates_id fin_dates_id
fk_taskfin_findates FOREIGN TASKFIN fin_dates_id fin_dates_id
fk_trsrcfin_findates FOREIGN TRSRCFIN fin_dates_id fin_dates_id
fk_wbsrsrc_qty_findates1 FOREIGN WBSRSRC_QTY fin_dates_id1 fin_dates_id
fk_wbsrsrc_qty_findates2 FOREIGN WBSRSRC_QTY fin_dates_id2 fin_dates_id
[Top]

FORMCATG
Columns
Key Name Type Description Default
PK form_catg_id integer Primary key for FORMCATG
form_catg_name string(255) Form Template category name
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 19 of 106

delete_session_id integer Deleted by session id. Client maintained.


delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_formcatg_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_FORMCATG OR SQL Server
RT_FORMCATG_DEL OR SQL Server
RT_FORMCATG OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_formcatg PRIMARY form_catg_id

References
Name Type Table Fields Target Fields
fk_formtmpl_formcatg FOREIGN FORMTMPL form_catg_id form_catg_id
[Top]

FORMPROJ
Columns
Key Name Type Description Default
PK,FK form_tmpl_id integer Primary key on FORMPROJ and FK to FORMTMPL
PK,FK proj_id integer Primary key on FORMPROJ and FK to PROJECT
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_formproj_formtmpl NONUNIQUE form_tmpl_id
ndx_formproj_project NONUNIQUE proj_id
ndx_formproj_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_FORMPROJ OR SQL Server
RT_FORMPROJ_DEL OR SQL Server
RT_FORMPROJ OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_formproj PRIMARY form_tmpl_id,proj_id
fk_formproj_formtmpl FOREIGN form_tmpl_id FORMTMPL form_tmpl_id CASCADE
fk_formproj_project FOREIGN proj_id PROJECT proj_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

FORMTMPL
Columns
Key Name Type Description Default
PK form_tmpl_id integer Primary key for FORMTMPL
form_tmpl_name string(255) Form Template name
form_tmpl_desc string(4000) Form Template Description
FK form_catg_id integer FK to FORMCATG
form_tmpl_data blob Form Template data in XML
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_formtmpl_formcatg NONUNIQUE form_catg_id
ndx_formtmpl_dsi NONUNIQUE delete_session_id,delete_date

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 20 of 106

Triggers
PRMAUD_FORMTMPL OR SQL Server
RT_FORMTMPL_DEL OR SQL Server
RT_FORMTMPL OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_formtmpl PRIMARY form_tmpl_id
fk_formtmpl_formcatg FOREIGN form_catg_id FORMCATG form_catg_id

References
Name Type Table Fields Target Fields
fk_formproj_formtmpl FOREIGN FORMPROJ form_tmpl_id form_tmpl_id
[Top]

FUNDSRC
Columns
Key Name Type Description Default
PK fund_id integer FK to FUNDSRC table - identifies the funding source
seq_num integer Sequence number for sorting
fund_name string(100) Funding source name
parent_fund_id integer FK to FUNDSRC table - identifies the parent funding source hierarchy
fund_descr blob Description of funding source
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_fundsrc_parent_fund NONUNIQUE parent_fund_id
ndx_fundsrc_dsi NONUNIQUE delete_session_id,delete_date
ndx_fundsrc_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_FUNDSRC OR SQL Server
RT_FUNDSRC_DEL OR SQL Server
RT_FUNDSRC OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_fundsrc PRIMARY fund_id

References
Name Type Table Fields Target Fields
fk_projfund_fundsrc FOREIGN PROJFUND fund_id fund_id
[Top]

GCHANGE
Columns
Key Name Type Description Default
PK gchange_id integer Unique internal ID
gchange_name string(40) Global change name
gchange_data blob Global change data
FK user_id integer FK to USERS table - identifies user who owns the view
table_name string(20) Name of database table where column resides
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_gchange_user NONUNIQUE user_id
ndx_gchange_dsi NONUNIQUE delete_session_id,delete_date
ndx_gchange_upd NONUNIQUE update_date,delete_session_id

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 21 of 106

Triggers
PRMAUD_GCHANGE OR SQL Server
RT_GCHANGE_DEL OR SQL Server
RT_GCHANGE OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_gchange_id PRIMARY gchange_id
fk_gchange_user FOREIGN user_id USERS user_id

References
Name Type Table Fields Target Fields
[Top]

HQDATA
Columns
Key Name Type Description Default
PK,FK session_id integer FK TO USESSION
PK context_id integer Sum session_id
PK fk_id integer link to row in root table
PK value integer values

Indexes
Name Unique Fields

Triggers

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_hqdata PRIMARY session_id,context_id,fk_id,value
fk_hqdata_usession FOREIGN session_id USESSION session_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

HQUERY
Columns
Key Name Type Description Default
PK,FK session_id integer FK TO USESSION
PK context_id integer Sum session_id
PK fk_id integer Link to row in root table
order_value string(4000) order of values
order_ids string(4000) order of ids

Indexes
Name Unique Fields

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_hquery PRIMARY session_id,context_id,fk_id
fk_hquery_usession FOREIGN session_id USESSION session_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

ISSUHIST
Columns
Key Name Type Description Default
PK,FK issue_id integer Unique ID
FK proj_id integer FK to PROJECT table - identifies the project
issue_history blob Text containing the issue history
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 22 of 106

Name Unique Fields


ndx_issuhist_1 NONUNIQUE proj_id
ndx_issuhist_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_ISSUHIST OR SQL Server
RT_ISSUHIST_DEL OR SQL Server
RT_ISSUHIST OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_issuhist PRIMARY issue_id
fk_issuhist_project FOREIGN proj_id PROJECT proj_id
fk_issuhist_projissu FOREIGN issue_id PROJISSU issue_id

References
Name Type Table Fields Target Fields
[Top]

ITERATION
Columns
Key Name Type Description Default
PK iteration_id integer Unique ID
FK release_id integer FK to RELEASE
iteration_name string(50) Name of iteration
start_date date Start date for iteration
end_date date End date for iteration
termination_date date Termination Date
capacity_pct double(22,2) Physical percentage capacity 0
remain_qty double(22,6) Remaining quantity
update_date date Refresh audit field of last date updated. Trigger maintained. sysdate
update_user string(255) Refresh audit field of last user updated. Trigger maintained. 'SYSTEM'
create_date date Refresh audit field for date record created. Trigger maintained. sysdate
create_user string(255) Refresh audit field for user that created the record. Trigger maintained. 'SYSTEM'
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_iteration_release NONUNIQUE release_id
ndx_iteration_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_ITERATION OR SQL Server
RT_ITERATION_DEL OR SQL Server
RT_ITERATION OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_iteration PRIMARY iteration_id
fk_iteration_release FOREIGN release_id RELEASE release_id CASCADE

References
Name Type Table Fields Target Fields
fk_iterdays_iteration FOREIGN ITERDAYS iteration_id iteration_id
fk_itergoal_iteration FOREIGN ITERGOAL iteration_id iteration_id
fk_projwbs_iteration FOREIGN PROJWBS iteration_id iteration_id
[Top]

ITERDAYS
Columns
Key Name Type Description Default
PK,FK task_id integer FK to TASK
PK day_number integer Sequential day number of iteration
FK proj_id integer FK to PROJECT table - identifies the project
FK iteration_id integer FK to ITERATION
act_work_qty double(22,6) Duration
remain_work_qty double(22,6) Duration
update_date date Refresh audit field of last date updated. Trigger maintained. sysdate
update_user string(255) Refresh audit field of last user updated. Trigger maintained. 'SYSTEM'
create_date date Refresh audit field for date record created. Trigger maintained. sysdate

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 23 of 106

create_user string(255) Refresh audit field for user that created the record. Trigger maintained. 'SYSTEM'
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_iterdays_project NONUNIQUE proj_id
ndx_iterdays_iteration NONUNIQUE iteration_id
ndx_iterdays_task NONUNIQUE task_id
ndx_iterdays_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_ITERDAYS OR SQL Server
RT_ITERDAYS_DEL OR SQL Server
RT_ITERDAYS OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_iterdays PRIMARY task_id,day_number
fk_iterdays_project FOREIGN proj_id PROJECT proj_id CASCADE
fk_iterdays_iteration FOREIGN iteration_id ITERATION iteration_id CASCADE
fk_iterdays_task FOREIGN task_id TASK task_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

ITERGOAL
Columns
Key Name Type Description Default
PK iter_goal_id integer Identifies iteration goal
FK iteration_id integer FK to Iteration
goal_name string(255) Iteration goal name
goal_descr string(4000) Iteration goal description
status_code string(12) Goal status (IG_Complete, IG_NotStart) 'IG_NotStart'
FK rfolio_id integer FK to RFOLIO
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_itergoal_iteration NONUNIQUE iteration_id
ndx_itergoal_rfolio NONUNIQUE rfolio_id
ndx_itergoal_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_ITERGOAL OR SQL Server
RT_ITERGOAL_DEL OR SQL Server
RT_ITERGOAL OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_itergoal PRIMARY iter_goal_id
fk_itergoal_iteration FOREIGN iteration_id ITERATION iteration_id CASCADE
fk_itergoal_rfolio FOREIGN rfolio_id RFOLIO rfolio_id

References
Name Type Table Fields Target Fields
[Top]

JOBLOG
Columns
Key Name Type Description Default
PK,FK job_id integer PK and FK to JOBSVC
job_log_data blob report data
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 24 of 106

create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_joblog_dsi NONUNIQUE delete_session_id,delete_date
ndx_joblog_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_JOBLOG OR SQL Server
RT_JOBLOG_DEL OR SQL Server
RT_JOBLOG OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_joblog PRIMARY job_id
fk_joblog_jobsvc FOREIGN job_id JOBSVC job_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

JOBRPT
Columns
Key Name Type Description Default
PK,FK job_id integer PK andFK to JOBSVC
PK,FK rpt_id integer PK and FK to RPT
table_name string(20) Specifies table name
fk_id integer specifies id from table name
jobrpt_data blob report data
personal_portal_flag string(1) Differentiate if report will show in personal or project workspace 'Y'
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_jobrpt_jobsvc UNIQUE job_id
ndx_jobrpt_rpt NONUNIQUE rpt_id
ndx_jobrpt_dsi NONUNIQUE delete_session_id,delete_date
ndx_jobrpt_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_JOBRPT OR SQL Server
RT_JOBRPT_DEL OR SQL Server
RT_JOBRPT OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_jobrpt PRIMARY job_id,rpt_id
fk_jobrpt_jobsvc FOREIGN job_id JOBSVC job_id CASCADE
fk_jobrpt_rpt FOREIGN rpt_id RPT rpt_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

JOBSVC
Columns
Key Name Type Description Default
PK job_id integer Unique ID
parent_job_id integer FK to Unique ID
seq_num integer Sequence number for sorting
audit_flag string(1) Indicates audit trail enabled. 'Y'
job_type string(20) Type of job - scheduler / summarizer / consolidator / etc.
job_name string(255) Name of job - unique within the job type
FK user_id integer FK to USERS table - identifies user who owns the view
last_run_date date Last job execution date/time

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 25 of 106

status_code string(20) Indicates whether timesheet currently is not started, active, submitted, approved or rejected
recur_data string(255) Job execution schedule options (used to be called schedule_data)
recur_type string(20) Recurring type (RT_ASAP, RT_RecurEnabled, RT_RecurDisabled)
submitted_date date Submitted date of non-recurring job
last_error_descr string(255) Last job execution error message, if any
audit_file_path string(255) The full local path of the file to write audit trail information
job_data blob Job detail information (ie, list of projects) stored as text string
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_jobsvc_users NONUNIQUE user_id
ndx_jobsvc_dsi NONUNIQUE delete_session_id,delete_date
ndx_jobsvc_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_JOBSVC OR SQL Server
RT_JOBSVC_DEL OR SQL Server
RT_JOBSVC OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_jobsvc PRIMARY job_id
fk_jobsvc_users FOREIGN user_id USERS user_id
ck_jobsvc_audit_flag CHECK audit_flag audit_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
fk_joblog_jobsvc FOREIGN JOBLOG job_id job_id
fk_jobrpt_jobsvc FOREIGN JOBRPT job_id job_id
[Top]

LOCATION
Columns
Key Name Type Description Default
PK location_id integer Unique ID
location_name string(255) Name for this location
location_type string(24) Type of location - LT_Place,LT_Line,LT_Territory
address_line1 string(200) Address line with street and street number
address_line2 string(200) Address line 2 with street and street number
address_line3 string(200) Address line 3 with street and street number
city_name string(200) City Name maps to GEO_ADDR:SETTLEMENT
municipality_name string(200) Municipality Name (European Only) GEO_ADDR:MUNICIPALITY
state_name string(200) State/Province/Prefecture Name GEO_ADDR:REGION
state_code string(2) State code
country_name string(200) Country Name
country_code string(3) Three character ISO Country code GEO_ADDR:COUNTRY
postal_code string(20) Postal Code
longitude number Longitude - Primary for SQL Server database
latitude number Latitude - Primary for SQL Server database
geo_location geometry SDO_GEOMETRY field
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields

Triggers
PRMAUD_LOCATION OR SQL Server
RT_LOCATION_DEL OR SQL Server
RT_LOCATION OR SQL Server

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 26 of 106

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_location PRIMARY location_id

References
Name Type Table Fields Target Fields
[Top]

MEMOTYPE
Columns
Key Name Type Description Default
PK memo_type_id integer FK to MEMOTYPE table - identifies the notebook topic
seq_num integer Sequence number for sorting
eps_flag string(1) Indicates whether specification topic available for EPS 'N'
proj_flag string(1) Indicates whether specification topic available for projects 'N'
wbs_flag string(1) Indicates whether to monitor WBSs 'N'
task_flag string(1) Indicates whether to monitor activities 'N'
memo_type string(40) Activity specification type
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_memotype_dsi NONUNIQUE delete_session_id,delete_date
ndx_memotype_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_MEMOTYPE OR SQL Server
RT_MEMOTYPE_DEL OR SQL Server
RT_MEMOTYPE OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_memotype PRIMARY memo_type_id
ck_memotype_eps_flag CHECK eps_flag eps_flag in ('Y', 'N')
ck_memotype_proj_flag CHECK proj_flag proj_flag in ('Y', 'N')
ck_memotype_task_flag CHECK task_flag task_flag in ('Y', 'N')
ck_memotype_wbs_flag CHECK wbs_flag wbs_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
fk_taskmemo_memotype FOREIGN TASKMEMO memo_type_id memo_type_id
fk_wbsmemo_memotype FOREIGN WBSMEMO memo_type_id memo_type_id
[Top]

NEXTKEY
Columns
Key Name Type Description Default
PK key_name string(30) Name of key (unique ID)
key_seq_num integer Current value of key (unique ID)

Indexes
Name Unique Fields

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_nextkey PRIMARY key_name

References
Name Type Table Fields Target Fields
[Top]

NONWORK
Columns
Key Name Type Description Default
PK nonwork_type_id integer FK to NONWORK table - identifies the overhead code (if overhead activity)

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 27 of 106

seq_num integer Sequence number for sorting


nonwork_code string(32) Overhead code
nonwork_type string(40) Overhead type
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_nonwork_dsi NONUNIQUE delete_session_id,delete_date
ndx_nonwork_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_NONWORK OR SQL Server
RT_NONWORK_DEL OR SQL Server
RT_NONWORK OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_nonwork PRIMARY nonwork_type_id

References
Name Type Table Fields Target Fields
fk_rsrchour_nonwork FOREIGN RSRCHOUR nonwork_type_id nonwork_type_id
[Top]

NOTE
Columns
Key Name Type Description Default
PK note_id integer Note id
table_name string(30) Name of table
type_name string(30) Name of type
fk_id integer FK id
note_date date datetime
note_value string(4000) note value
user_name string(255) Identified user name
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_note_dsi NONUNIQUE delete_session_id,delete_date
ndx_note_upd NONUNIQUE update_date,delete_session_id

Triggers
TR_NOTE_FK OR SQL Server
PRMAUD_NOTE OR SQL Server
RT_NOTE_DEL OR SQL Server
RT_NOTE OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_note PRIMARY note_id

References
Name Type Table Fields Target Fields
[Top]

OBS
Columns
Key Name Type Description Default
PK obs_id integer FK to OBS table - identifies the OBS within the project
seq_num integer Sequence number for sorting
obs_name string(100) OBS name
parent_obs_id integer FK to OBS table - identifies the parent OBS

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 28 of 106

guid string(22) Global unique ID


obs_descr blob OBS description
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_obs_parent_obs NONUNIQUE parent_obs_id
ndx_obs_dsi NONUNIQUE delete_session_id,delete_date
ndx_obs_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_OBS OR SQL Server
RT_OBS_DEL OR SQL Server
RT_OBS OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_obs PRIMARY obs_id

References
Name Type Table Fields Target Fields
fk_obsproj_obs FOREIGN OBSPROJ obs_id obs_id
fk_projissu_obs FOREIGN PROJISSU obs_id obs_id
fk_projthrs_obs FOREIGN PROJTHRS obs_id obs_id
fk_projwbs_obs FOREIGN PROJWBS obs_id obs_id
fk_userobs_obs FOREIGN USEROBS obs_id obs_id
[Top]

OBSPROJ
Columns
Key Name Type Description Default
PK,FK obs_id integer FK to OBS table - identifies the OBS within the project
PK,FK proj_id integer FK to PROJECT table - identifies the project
PK wbs_id integer FK to PROJWBS table - identifies the WBS

Indexes
Name Unique Fields
ndx_obsproj_project NONUNIQUE proj_id,obs_id,wbs_id
ndx_obsproj_wbs NONUNIQUE wbs_id,proj_id,obs_id

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_obsproj PRIMARY obs_id,proj_id,wbs_id
fk_obsproj_obs FOREIGN obs_id OBS obs_id CASCADE
fk_obsproj_project FOREIGN proj_id PROJECT proj_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

PCATTYPE
Columns
Key Name Type Description Default
PK proj_catg_type_id integer FK to PCATTYPE table - identifies the project code type
seq_num integer Sequence number for sorting
proj_catg_short_len integer Max length of project code value
proj_catg_type string(40) Project code type
super_flag string(1) Indicates that this project code type is a super code 'N'
proj_catg_type_wt double(22,2) Indicates the weight of the project code type 0
max_proj_catg_wt double(22,2) Stores the maximum possible weight for the code value of this code type. 0
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 29 of 106

delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_pcattype_dsi NONUNIQUE delete_session_id,delete_date
ndx_pcattype_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_PCATTYPE OR SQL Server
RT_PCATTYPE_DEL OR SQL Server
RT_PCATTYPE OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_pcattype PRIMARY proj_catg_type_id

References
Name Type Table Fields Target Fields
fk_pcatval_pcattype FOREIGN PCATVAL proj_catg_type_id proj_catg_type_id
fk_projpcat_pcattype FOREIGN PROJPCAT proj_catg_type_id proj_catg_type_id
[Top]

PCATUSER
Columns
Key Name Type Description Default
PK,FK proj_catg_id integer FK to PCATVAL table - identifies the project code value
PK,FK user_id integer FK to PCATTYPE table - identifies the project code type
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_pcatuser_user NONUNIQUE user_id
ndx_pcatuser_dsi NONUNIQUE delete_session_id,delete_date
ndx_pcatuser_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_PCATUSER OR SQL Server
RT_PCATUSER_DEL OR SQL Server
RT_PCATUSER OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_pcatuser PRIMARY proj_catg_id,user_id
fk_pcatuser_user FOREIGN user_id USERS user_id
fk_pcatuser_pcatval FOREIGN proj_catg_id PCATVAL proj_catg_id

References
Name Type Table Fields Target Fields
[Top]

PCATVAL
Columns
Key Name Type Description Default
PK proj_catg_id integer FK to PCATVAL table - identifies the project code value
FK proj_catg_type_id integer FK to PCATTYPE table - identifies the project code type
seq_num integer Sequence number for sorting
proj_catg_short_name string(32) Project code value
parent_proj_catg_id integer FK to PCATVAL table - identifies the parent project code value
proj_catg_name string(100) Project code description
proj_catg_wt double(22,2) Indicates the weight of the project code value 0
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 30 of 106

Name Unique Fields


ndx_pcatval_pcattype NONUNIQUE proj_catg_type_id
ndx_pcatval_parent_catg NONUNIQUE parent_proj_catg_id
ndx_pcatval_dsi NONUNIQUE delete_session_id,delete_date
ndx_pcatval_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_PCATVAL OR SQL Server
RT_PCATVAL_DEL OR SQL Server
RT_PCATVAL OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_pcatval PRIMARY proj_catg_id
fk_pcatval_pcattype FOREIGN proj_catg_type_id PCATTYPE proj_catg_type_id

References
Name Type Table Fields Target Fields
fk_pcatuser_pcatval FOREIGN PCATUSER proj_catg_id proj_catg_id
fk_projpcat_pcatval FOREIGN PROJPCAT proj_catg_id proj_catg_id
[Top]

PFOLIO
Columns
Key Name Type Description Default
PK pfolio_id integer FK to PFOLIO table - identifies the manual project portfolio
closed_proj_flag string(1) Indicates whether Closed projects are included 'N'
whatif_proj_flag string(1) Indicates whether what-if projects are included 'N'
pfolio_type string(20) Portfolio type - Manual, Auto-Maintained
pfolio_name string(40) Portfolio name
FK user_id integer FK to USERS table - identifies user who owns the view
pfolio_descr string(255) Portfolio description
last_refresh_date date Last refresh date of a filtered portfolio
pfolio_data blob Portfolio data as text string - list of projects for Manual, project filter criteria for Auto
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_pfolio_1 NONUNIQUE user_id
ndx_pfolio_dsi NONUNIQUE delete_session_id,delete_date
ndx_pfolio_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_PFOLIO OR SQL Server
RT_PFOLIO_DEL OR SQL Server
RT_PFOLIO OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_pfolio PRIMARY pfolio_id
fk_pfolio_users FOREIGN user_id USERS user_id
ck_pfolio_closed_flag CHECK closed_proj_flag closed_proj_flag in ('Y', 'N')
ck_pfolio_whatif_flag CHECK whatif_proj_flag whatif_proj_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
fk_prpfolio_pfolio FOREIGN PRPFOLIO pfolio_id pfolio_id
[Top]

PHASE
Columns
Key Name Type Description Default
PK phase_id integer FK to PHASE table - identifies the WBS code value
seq_num integer Sequence number for sorting
phase_name string(100) WBS code name
update_date date Refresh audit field of last date updated. Trigger maintained.

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 31 of 106

update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_phase_dsi NONUNIQUE delete_session_id,delete_date
ndx_phase_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_PHASE OR SQL Server
RT_PHASE_DEL OR SQL Server
RT_PHASE OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_phase PRIMARY phase_id

References
Name Type Table Fields Target Fields
fk_projwbs_phase FOREIGN PROJWBS phase_id phase_id
[Top]

PKXREF
Columns
Key Name Type Description Default
system_id integer A system or process ID used by copy/paste or other program
context_name string(30) Table, column or process defined name
pk1 integer 1st primary key to map to
pk2 integer 2nd primary key to map to
old_pk1 integer 1st primary key to map from
old_pk2 integer 2nd primary key to map from
old_str string(40) String value
new_str string(40) String value
add_date date Date risk was identified sysdate

Indexes
Name Unique Fields
ndx_pkxref_1 NONUNIQUE system_id,context_name,pk1,pk2
ndx_pkxref_2 NONUNIQUE system_id,context_name,old_pk1,old_pk2

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition

References
Name Type Table Fields Target Fields
[Top]

POBS
Columns
Key Name Type Description Default
PK pobs_id integer Primary key for table
seq_num integer Sequence number for sorting
pobs_name string(255) POBS name
pobs_parent_id integer POBS parent for current record
pobs_descr string(255) POBS description
pobs_manager string(255) POBS manager
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_pobs_parent_id NONUNIQUE pobs_parent_id
ndx_pobs_dsi NONUNIQUE delete_session_id,delete_date
ndx_pobs_upd NONUNIQUE update_date,delete_session_id

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 32 of 106

Triggers
PRMAUD_POBS OR SQL Server
RT_POBS_DEL OR SQL Server
RT_POBS OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_pobs PRIMARY pobs_id

References
Name Type Table Fields Target Fields
fk_projcost_pobs FOREIGN PROJCOST pobs_id pobs_id
fk_roles_pobs FOREIGN ROLES pobs_id pobs_id
fk_rsrc_pobs FOREIGN RSRC pobs_id pobs_id
fk_taskrsrc_pobs FOREIGN TASKRSRC pobs_id pobs_id
[Top]

PREFER
Columns
Key Name Type Description
PK prefer_id integer Unique ID
hr_decimal_cnt integer Number of decimal digits for recording hours in timesheets
xfer_complete_day_cnt integer Default time window to access completed activities in Project Satellite
xfer_notstart_day_cnt integer Default time window to access not-started activities in Project Satellite
max_wbs_level_cnt integer Maximum number of levels allowed in the WBS tree
max_rsrc_level_cnt integer Maximum number of levels allowed in the resource tree
max_acct_level_cnt integer Maximum number of levels allowed in the cost account tree
max_task_actv_type_cnt integer Maximum number of activity codes for a project
future_ts_cnt integer The number of future timesheets Project Satellite users are allowed to access
max_obs_level_cnt integer Maximum number of levels allowed in the OBS tree
week_start_day_num integer Day number (1-7) which starts the week
ts_approval_level integer The number of approval levels for timesheets; 0, 1, or 2
task_code_len integer Maximum length allowed for the activity code
proj_short_len integer Maximum length allowed for the project code
wbs_short_len integer Maximum length allowed for the WBS code
rsrc_short_len integer Maximum length allowed for the resource code
acct_short_len integer Maximum length allowed for the cost account code
role_short_len integer Maximum length allowed for the role code
max_base_cnt integer Maximum number of baselines allowed for a project
def_target_drtn_hr_cnt double(22,2) Default duration for new activities
day_hr_cnt double(22,2) Count of hours per day for converting displayed time/duration units
week_hr_cnt double(22,2) Count of hours per week for converting displayed time/duration units
year_hr_cnt double(22,2) Count of hours per year for converting displayed time/duration units
month_hr_cnt double(22,2) Count of hours per month for converting displayed time/duration units
max_actv_level_cnt integer Maximum count of levels in activity code hierarchy
max_eps_level_cnt integer Maximum count of levels in EPS hierarchy
max_pcat_level_cnt integer Maximum count of levels in project code hierarchy
max_rcat_level_cnt integer Maximum count of levels in resource code hierarchy
complete_task_hrs_flag string(1) Identifies whether hours can be logged on completed activities
default_timesheet_flag string(1) Identifies whether new resources use timesheets by default
future_ts_hrs_flag string(1) Identifies whether Project Satellite users can log hours on future timesheets
ev_fix_cost_flag string(1) Identifies whether project expenses are included in earned value computations
ts_daily_flag string(1) Identifies whether Project Satellite users enter timesheet hours daily
notstart_task_hrs_flag string(1) Identifies whether hours can be logged on not-started activities
prestart_task_hrs_flag string(1) Identifies whether hours can be logged on activities before the start date
postend_task_hrs_flag string(1) Identifies whether hours can be logged on activities after the finish date
ermm_enabled_flag string(1) Indicates whether ERMM is available for the Project Architect
name_sep_char string(2) Character for separating concatenated code fields for WBS and Resource
year_char string(4) Display character for years in time/duration fields
month_char string(4) Display character for months in time/duration fields
week_char string(4) Display character for weeks in time/duration fields
day_char string(4) Display character for days in time/duration fields
hour_char string(4) Display character for hours in time/duration fields
minute_char string(4) Display character for minutes in time/duration fields
ts_approval_type string(20) Identifies the order that PM's and RM's must approve level 2 approval timesheets
db_name string(20) Name for this database instance
tasksum_period_type string(20) Spread summarization time period for TASKSUM table; Month/Week/Day
trsrcsum_period_type string(20) Spread summarization time period for TRSRCSUM table; Month/Week/Day

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 33 of 106

database_version string(30) Version identifier string for database schema


phase_label string(40) Label for global WBS code
FK ts_approve_user_id integer FK to USER table - identifies the user who is resource manager for time approval
FK curr_id integer FK to CURRTYPE table - identifies the user's view currency
ev_user_pct integer User-defined percent complete for computing earned value
ev_etc_user_value double(22,2) User-defined performance factor to compute earned-value estimate-to-complete
ev_compute_type string(20) Technique for computing earned-value percent complete
ev_etc_compute_type string(20) Technique for computing earned-value estimate-to-complete
rpt_header_1 string(255) Report header string for report authoring - choice 1
rpt_header_2 string(255) Report header string for report authoring - choice 2
rpt_header_3 string(255) Report header string for report authoring - choice 3
rpt_footer_1 string(255) Report footer string for report authoring - choice 1
rpt_footer_2 string(255) Report footer string for report authoring - choice 2
rpt_footer_3 string(255) Report footer string for report authoring - choice 3
rpt_user_1 string(255) Provides additional user information for report authoring - beyond header and footer
rpt_user_2 string(255) Provides additional user information for report authoring - beyond header and footer
rpt_user_3 string(255) Provides additional user information for report authoring - beyond header and footer
license_data blob License string, encrypted
max_role_level_cnt integer Maximum number of levels allowed in the role tree
past_ts_cnt integer The number of past timesheets PR/TPR users are allowed to access
projinit_admin_user_id integer FK to USER table - identifies the user that is administrator of project initialization
FK default_rsrc_sec_id integer FK to RSRC - Default rsrc id for rsrc security
allow_user_time_period_flag string(1) Whether to allow app to display time value based on user time period pref instead of admin time peri
exp_root_url string(255) Project control for Expedition - protocol, servername, port.
ts_rsrc_def_asgn_actv_flag string(1) Resources can assign themselves to Activities by Default
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_prefer_users NONUNIQUE ts_approve_user_id
ndx_prefer_users2 NONUNIQUE projinit_admin_user_id
ndx_prefer_rsrc NONUNIQUE default_rsrc_sec_id
ndx_prefer_dsi NONUNIQUE delete_session_id,delete_date
ndx_prefer_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_PREFER OR SQL Server
RT_PREFER_DEL OR SQL Server
RT_PREFER OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_prefer PRIMARY prefer_id
fk_prefer_currtype FOREIGN curr_id CURRTYPE curr_id
fk_prefer_users FOREIGN ts_approve_user_id USERS user_id
fk_prefer_rsrc FOREIGN default_rsrc_sec_id RSRC rsrc_id
ck_prefer_complete_task_hrs CHECK complete_task_hrs_flag complete_task_hrs_flag in ('Y', 'N')
ck_prefer_default_timesheet CHECK default_timesheet_flag default_timesheet_flag in ('Y', 'N')
ck_prefer_ev_fix_cost_flag CHECK ev_fix_cost_flag ev_fix_cost_flag in ('Y', 'N')
ck_prefer_future_ts_hrs_flag CHECK future_ts_hrs_flag future_ts_hrs_flag in ('Y', 'N')
ck_prefer_notstart_task_hrs CHECK notstart_task_hrs_flag notstart_task_hrs_flag in ('Y', 'N')
ck_prefer_postend_task_hrs CHECK postend_task_hrs_flag postend_task_hrs_flag in ('Y', 'N')
ck_prefer_prestart_task_hrs CHECK prestart_task_hrs_flag prestart_task_hrs_flag in ('Y', 'N')
ck_prefer_ts_daily_flag CHECK ts_daily_flag ts_daily_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
[Top]

PRMAUDIT
Columns
Key Name Type Description Default
audit_date date Timestamp for this audit record
table_name string(30) Table name of data being audited

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 34 of 106

pk1 string(255) Value of the first primary key for this table audit
pk2 string(255) Value of the second primary key for this table audit
pk3 string(255) Value of the third primary key for this table audit
pk4 string(255) Value of the forth primary key for this table audit
oper string(1) Operation I=insert, U=update, D=delete
prm_user_name string(255) Primavera username making the transaction
audit_info string(4000) Column audit that is under 4k
audit_info_extended blob Extended audit information and blob auditing information
logical_delete_flag string(1) Flag is Y if this record is a result of a logical delete
rdbms_user_name string(255) Database user making the transaction (if available)
os_user_name string(255) Operating system username making the transaction (if available)
program string(255) Name of program executing the transaction (if available)
host_name string(255) Host Name of program executing the transaction (if available)
app_name string(25) Primavera Application Name of executing the transaction (if available)
netaddress string(64) Net Address of executing the transaction (if available)

Indexes
Name Unique Fields
ndx_prmaudit_audit_date NONUNIQUE audit_date

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition

References
Name Type Table Fields Target Fields
[Top]

PRMQUEUE
Columns
Key Name Type Description Default
PK queue_name string(30) queue name
PK msg_key string(32) msg_key
PK enqueue_date date enqueue date
enqueue_user string(255) enqueue user
status_code string(10) status code
priority integer priority
sender_name string(255) sender name
dequeue_date date denqueu date
dequeue_user string(255) dequeue user
retry_count integer priority
msg_type string(255) msg_type
msg_sub_type string(255) msg sub type
key1 string(255) key1
key2 string(255) key2
err_msg string(4000) error message
queue_payload string(4000) queue payload
queue_payload_extended blob queue_payload

Indexes
Name Unique Fields
ndx_prmqueue_lookup NONUNIQUE queue_name,msg_type,msg_sub_type

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_prmqueue PRIMARY queue_name,msg_key,enqueue_date

References
Name Type Table Fields Target Fields
[Top]

PROCGROUP
Columns
Key Name Type Description Default
PK proc_group_id integer Primary Key
seq_num integer Sequence number for sorting
proc_group_name string(120) Step Group Name
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 35 of 106

create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_procgroup_dsi NONUNIQUE delete_session_id,delete_date
ndx_procgroup_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_PROCGROUP OR SQL Server
RT_PROCGROUP_DEL OR SQL Server
RT_PROCGROUP OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_procgroup PRIMARY proc_group_id

References
Name Type Table Fields Target Fields
fk_procitem_procgroup FOREIGN PROCITEM proc_group_id proc_group_id
[Top]

PROCITEM
Columns
Key Name Type Description Default
PK proc_item_id integer Primary Key
FK proc_group_id integer FK to PROCGROUP
seq_num integer Sequence number for sorting
proc_name string(120) Step Item Name
proc_wt double(22,2) Step Weight
proc_descr blob Step Description
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_procitem NONUNIQUE proc_group_id
ndx_procitem_dsi NONUNIQUE delete_session_id,delete_date
ndx_procitem_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_PROCITEM OR SQL Server
RT_PROCITEM_DEL OR SQL Server
RT_PROCITEM OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_procitem PRIMARY proc_item_id
fk_procitem_procgroup FOREIGN proc_group_id PROCGROUP proc_group_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

PROFILE
Columns
Key Name Type Description Default
PK prof_id integer FK to PROFILE table - identifies global security profile for the user
default_flag string(1) ID's default curves which cannot be edited by users 'N'
superuser_flag string(1) Identifies the superuser profile - can do anything, no individual privileges linked 'N'
scope_type string(12) Scope of profile - global or project
prof_name string(100) Profile name
prof_descr string(255) Profile description
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 36 of 106

create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_profile_dsi NONUNIQUE delete_session_id,delete_date
ndx_profile_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_PROFILE OR SQL Server
RT_PROFILE_DEL OR SQL Server
RT_PROFILE OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_profile PRIMARY prof_id
ck_profile_default_flag CHECK default_flag default_flag in ('Y', 'N')
ck_profile_superuser_flag CHECK superuser_flag superuser_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
fk_profpriv_profile FOREIGN PROFPRIV prof_id prof_id
fk_userobs_profile FOREIGN USEROBS prof_id prof_id
fk_users_profile FOREIGN USERS prof_id prof_id
[Top]

PROFPRIV
Columns
Key Name Type Description Default
PK,FK prof_id integer FK to PROFILE table - identifies global security profile for the user
PK priv_num integer Privilege number
allow_flag string(1) Identifies which privileges are allowed for this profile 'N'
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_profpriv_dsi NONUNIQUE delete_session_id,delete_date
ndx_profpriv_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_PROFPRIV OR SQL Server
RT_PROFPRIV_DEL OR SQL Server
RT_PROFPRIV OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_profpriv PRIMARY prof_id,priv_num
fk_profpriv_profile FOREIGN prof_id PROFILE prof_id
ck_profpriv_allow_flag CHECK allow_flag allow_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
[Top]

PROJCOST
Columns
Key Name Type Description
PK cost_item_id integer Unique ID
FK proj_id integer FK to PROJECT table - identifies the project
FK task_id integer FK to TASK table - identifies the task
auto_compute_act_flag string(1) Indicates whether to automatically compute actual units based on activity duration completed
cost_load_type string(12) Type of cost accrual over the activity duration - Start/End/Uniform
FK acct_id integer FK to ACCOUNT table - identifies cost account for activity
FK cost_type_id integer FK to COSTTYPE table - identifies the expense category
target_cost double(22,6) Planned cost
act_cost double(22,6) Actual cost

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 37 of 106

remain_cost double(22,6) Remaining cost


qty_name string(30) Unit of Measure for expense
target_qty double(22,6) Planned units (hours)
cost_per_qty double(22,8) Price per time
po_number string(32) Document number (PO number, Contract number, etc)
vendor_name string(100) Vendor name
cost_name string(120) Expense name
cost_descr blob Expense description
FK pobs_id integer FK to POBS table
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_projcost_1 NONUNIQUE proj_id
ndx_projcost_account NONUNIQUE acct_id
ndx_projcost_costtype NONUNIQUE cost_type_id
ndx_projcost_task NONUNIQUE task_id
ndx_projcost_pobs NONUNIQUE pobs_id
ndx_projcost_update_date1 NONUNIQUE update_date
ndx_projcost_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_PROJCOST OR SQL Server
RT_PROJCOST_DEL OR SQL Server
RT_PROJCOST OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_projcost PRIMARY cost_item_id
fk_projcost_account FOREIGN acct_id ACCOUNT acct_id
fk_projcost_project FOREIGN proj_id PROJECT proj_id
fk_projcost_task FOREIGN task_id TASK task_id
fk_projcost_costtype FOREIGN cost_type_id COSTTYPE cost_type_id
fk_projcost_pobs FOREIGN pobs_id POBS pobs_id
ck_projcost_auto_compute_act CHECK auto_compute_act_flag auto_compute_act_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
[Top]

PROJECT
Columns
Key Name Type Description
PK proj_id integer FK to PROJECT table - identifies the project
fy_start_month_num integer Starting month number (1-12) for project fiscal year
chng_eff_cmp_pct_flag string(1) Indicates whether Project Satellite users edit activity percent complete (vs editing activity remaining
rsrc_self_add_flag string(1) Indicates whether resources can assign themselves to activities
allow_complete_flag string(1) Indicates whether primary resource can mark activities as 'Completed'
rsrc_multi_assign_flag string(1) Indicates whether same the resource can be assigned to an activity more than once
checkout_flag string(1) Indicates whether the project is currently checked out
project_flag string(1) Indicates whether this is a project or an EPS node Y/N
step_complete_flag string(1) Indicates whether activity physical percent complete is automatically computed from the activity ste
cost_qty_recalc_flag string(1) Indicates whether to recalculate quantity when cost is edited, for activity-resource assignments for w
sum_only_flag string(1) Indicates whether this project is contains summary data only or all data (activities, etc)
batch_sum_flag string(1) Indicates whether batch summarizer should include this project
name_sep_char string(2) Character for separating concatenated code fields for WBS and Resource
def_complete_pct_type string(10) Default Complete percent Type for new activities - Units/Duration/Physical
proj_short_name string(40) Project code
FK acct_id integer FK to ACCOUNT table - identifies cost account for activity
orig_proj_id integer FK to PROJECT table - identifies the original project if this is a baseline project - else null
source_proj_id integer Original project id of What-if project
FK base_type_id integer FK to BASETYPE table - identifies the baseline type if this is a baseline project - else null
clndr_id integer FK to CALENDAR table - identifies the activity calendar
sum_base_proj_id integer Identifies the project's baseline to use for computing summaries

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 38 of 106

task_code_base integer Suffix base value for auto-increment of task code


task_code_step integer Suffix step value for auto-increment of task code
priority_num integer Project priority, used in multi-project resource leveling
wbs_max_sum_level integer The maximum level within the project's WBS to perform summarization WBS max summarization level
risk_level integer Project risk level: 5 - Very Low, 4 - Low, 3 - Medium, 2 - High, 1 - Very High Risk Level
strgy_priority_num integer Strategic priority, range 1 to 10,000
last_checksum integer A checksum-like field computed from the TBLSYNC entries for this resource indicating that resource data ha
critical_drtn_hr_cnt double(22,2) Duration of float for marking project activities as critical path
def_cost_per_qty double(22,8) Default price / time for activities without resources
last_recalc_date date Current data date for project
plan_start_date date Project planned start date
plan_end_date date Project must-finish-by date
scd_end_date date Project scheduled finish date (computed by scheduler)
add_date date Date risk was identified
sum_data_date date As-of date for the current summary data
last_tasksum_date date Date when the project tasksum data was last summarized by the Summarizer.
fcst_start_date date Forecast start date (from manual resource leveling)
def_duration_type string(12) Default duration type for new activities
task_code_prefix string(20) Prefix for auto-increment of task code
guid string(22) Global unique ID
def_qty_type string(24) Time units for default cost / time
add_by_name string(255) User adding the issue
web_local_root_path string(120) Root directory for project website files
proj_url string(200) Project website URL
def_rate_type string(14) Default rate type when adding resource assignments to a project
act_this_per_link_flag string(1) Indicates if actual units and cost are linked to actual-this-period units and cost
def_task_type string(12) Default task types
act_pct_link_flag string(1) Indicates if actual units and cost should be recalculated when percent complete changes
add_act_remain_flag string(1) Indicates if to add Actual to Remaining or subtract Actual from At Complete when Actual Units and C
critical_path_type string(12) Indicates critical path activities are identified for the project, using either total float or longest path
task_code_prefix_flag string(1) Indicates how to auto-number Activity ID for new activities - Y/N - Y means use the selected activity's
def_rollup_dates_flag string(1) Indicates if the rsource assignments flag should be set to True or False when an assignment is adde
rem_target_link_flag string(1) Indicates whether budget/planned units and costs should be recalculated when remaining and/or at
reset_planned_flag string(1) Indicates whether to reset remaining duration / units to planned, or reset planned duration / units to
allow_neg_act_flag string(1) Indicates if negative actual units are allowing on assignments during apply actual from timesheet.
rsrc_id integer Resource Id of the resource responsible for the project.
msp_managed_flag string(1) Indicates project is managed by Microsoft project.
msp_update_actuals_flag string(1) Indicates project actuals need to be updated.
checkout_date date ndicates the time and date that a project was checked out. Once the project is checked in, this field will be e
FK checkout_user_id integer Indicates the user that checked out the project. Once the project is checked in, this field will be empty.
sum_assign_level string(12) Summarizer assginment level
FK last_fin_dates_id integer Storing last financial period id
use_project_baseline_flag string(1) Indicates that the project baseline should be used for earned value calculations
last_baseline_update_date date Last time a baseline was updated
ts_rsrc_vw_compl_asgn_flag string(1) Timesheet resources can view completed Resource Assignments
ts_rsrc_mark_act_finish_flag string(1) Timesheet resources can edit resource assignment Actual dates
ts_rsrc_vw_inact_actv_flag string(1) Timesheet resources can view Inactive Project Activities
cr_external_key string(4000) Content repository unique key
apply_actuals_date date date when actuals applied to project
description string(500) Project description
intg_proj_type string(7) For Identifying project type as erp or fusion
matrix_id integer risk matrix id
location_id integer Project Location
control_updates_flag string(1) Indicates whether the project status updates must be approved before commiting changes
hist_interval string(25) Analytics use for historic trending of interval
hist_level string(10) Analytics use for historic trending level
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_project_account NONUNIQUE acct_id
ndx_project_basetype NONUNIQUE base_type_id
ndx_project_orig_proj_id NONUNIQUE orig_proj_id

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 39 of 106

ndx_project_checkout_user_id NONUNIQUE checkout_user_id


ndx_project_update_date1 NONUNIQUE update_date
ndx_project_source_proj_id NONUNIQUE source_proj_id
ndx_project_calendar NONUNIQUE clndr_id,delete_session_id
ndx_project_last_fin_dates NONUNIQUE last_fin_dates_id
ndx_project_matrix NONUNIQUE matrix_id
ndx_project_dsi NONUNIQUE delete_session_id,delete_date
ndx_project_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_PROJECT OR SQL Server
RT_PROJECT_DEL OR SQL Server
RT_PROJECT OR SQL Server
TR_PROJECT_OBSPROJ OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_project PRIMARY proj_id
fk_project_account FOREIGN acct_id ACCOUNT acct_id
fk_project_basetype FOREIGN base_type_id BASETYPE base_type_id
fk_project_findates FOREIGN last_fin_dates_id FINDATES fin_dates_id
ck_project_allow_complete_flag CHECK allow_complete_flag allow_complete_flag in ('Y', 'N')
ck_project_batch_sum_flag CHECK batch_sum_flag batch_sum_flag in ('Y', 'N')
ck_project_chng_eff_cmp_pct CHECK chng_eff_cmp_pct_flag chng_eff_cmp_pct_flag in ('Y', 'N')
ck_project_project_flag CHECK project_flag project_flag in ('Y', 'N')
ck_proj_cost_qty_recalc_flag CHECK cost_qty_recalc_flag cost_qty_recalc_flag in ('Y', 'N')
ck_project_rsrc_self_add_flag CHECK rsrc_self_add_flag rsrc_self_add_flag in ('Y', 'N')
ck_project_step_complete_flag CHECK step_complete_flag step_complete_flag in ('Y', 'N')
ck_project_sum_only_flag CHECK sum_only_flag sum_only_flag in ('Y', 'N')
ck_act_this_lnk_flag CHECK act_this_per_link_flag act_this_per_link_flag in ('Y', 'N')
ck_act_pct_link_flag CHECK act_pct_link_flag act_pct_link_flag in ('Y', 'N')
ck_add_act_remain_flag CHECK add_act_remain_flag add_act_remain_flag in ('Y', 'N')
ck_project_tsk_cd_prfx_flag CHECK task_code_prefix_flag task_code_prefix_flag in ('Y', 'N')
fk_project_users FOREIGN checkout_user_id USERS user_id

References
Name Type Table Fields Target Fields
fk_actvtype_project FOREIGN ACTVTYPE proj_id proj_id
fk_budgchng_project FOREIGN BUDGCHNG proj_id proj_id
fk_calendar_project FOREIGN CALENDAR proj_id proj_id
fk_document_project FOREIGN DOCUMENT proj_id proj_id
fk_expproj_project FOREIGN EXPPROJ proj_id proj_id
fk_extapp_project FOREIGN EXTAPP proj_id proj_id
fk_formproj_project FOREIGN FORMPROJ proj_id proj_id
fk_issuhist_project FOREIGN ISSUHIST proj_id proj_id
fk_iterdays_project FOREIGN ITERDAYS proj_id proj_id
fk_obsproj_project FOREIGN OBSPROJ proj_id proj_id
fk_projcost_project FOREIGN PROJCOST proj_id proj_id
fk_projest_project FOREIGN PROJEST proj_id proj_id
fk_projfund_project FOREIGN PROJFUND proj_id proj_id
fk_projissu_project FOREIGN PROJISSU proj_id proj_id
fk_projpcat_project FOREIGN PROJPCAT proj_id proj_id
fk_projprop_project FOREIGN PROJPROP proj_id proj_id
fk_projshar_project FOREIGN PROJSHAR proj_id proj_id
fk_projthrs_project FOREIGN PROJTHRS proj_id proj_id
fk_projwbs_project FOREIGN PROJWBS proj_id proj_id
fk_projwsrpt_project FOREIGN PROJWSRPT proj_id proj_id
fk_release_proj_id FOREIGN RELEASE proj_id proj_id
fk_relitems_project FOREIGN RELITEMS proj_id proj_id
fk_rpt_project FOREIGN RPT proj_id proj_id
fk_rptbatch_project FOREIGN RPTBATCH proj_id proj_id
fk_scenproj_project FOREIGN SCENPROJ proj_id proj_id
fk_sumprojcost_project FOREIGN SUMPROJCOST proj_id proj_id
fk_sumtask_project FOREIGN SUMTASK proj_id proj_id
fk_sumtaskspread_project FOREIGN SUMTASKSPREAD proj_id proj_id
fk_sumtrsrc_project FOREIGN SUMTRSRC proj_id proj_id
fk_task_project FOREIGN TASK proj_id proj_id
fk_taskactv_project FOREIGN TASKACTV proj_id proj_id

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 40 of 106

fk_taskdoc_project FOREIGN TASKDOC proj_id proj_id


fk_taskfdbk_project FOREIGN TASKFDBK proj_id proj_id
fk_taskfin_project FOREIGN TASKFIN proj_id proj_id
fk_taskmemo_project FOREIGN TASKMEMO proj_id proj_id
fk_tasknote_project FOREIGN TASKNOTE proj_id proj_id
fk_taskpred_project FOREIGN TASKPRED proj_id proj_id
fk_taskpred_project_2 FOREIGN TASKPRED pred_proj_id proj_id
fk_taskproc_project FOREIGN TASKPROC proj_id proj_id
fk_taskrisk_project FOREIGN TASKRISK proj_id proj_id
fk_taskrsrc_project FOREIGN TASKRSRC proj_id proj_id
fk_taskuser_project FOREIGN TASKUSER proj_id proj_id
fk_taskwksp_project FOREIGN TASKWKSP proj_id proj_id
fk_trsrcfin_project FOREIGN TRSRCFIN proj_id proj_id
fk_tsdelegate_project FOREIGN TSDELEGATE proj_id proj_id
fk_udfvalue_project FOREIGN UDFVALUE proj_id proj_id
fk_userwksp_project FOREIGN USERWKSP proj_id proj_id
fk_viewprop_project FOREIGN VIEWPROP proj_id proj_id
fk_wbsbudg_project FOREIGN WBSBUDG proj_id proj_id
fk_wbsmemo_project FOREIGN WBSMEMO proj_id proj_id
fk_wbsrsrc_project FOREIGN WBSRSRC proj_id proj_id
fk_wbsstep_project FOREIGN WBSSTEP proj_id proj_id
fk_workflow_project FOREIGN WORKFLOW proj_id proj_id
fk_workspace_project FOREIGN WORKSPACE proj_id proj_id
[Top]

PROJEST
Columns
Key Name Type Description Default
PK proj_est_id integer Unique ID
FK proj_id integer FK to PROJECT table - identifies the project
FK wbs_id integer FK to PROJWBS table - identifies the WBS
applied_flag string(1) Indicates whether the estimate was actually applied to activities 'N'
rsrc_type string(10) Resource type Labor, Equipment, or Material 'RT_Labor'
est_type string(20) Estimate type: top-down function point, top-down user-defined or bottom-up
est_name string(120) Estimate name
FK rsrc_id integer FK to RSRC table - identifies the resource
bu_cmplx_value integer Size and complexity value if bottom-up estimate
adj_mult_pct integer Adjustment factor for estimated units
fp_cnt integer Adjusted function-point count, if function-point estimate
fp_cmplx_value integer Project complexity value, if function-point estimate
fp_unadj_cnt integer Unadjusted function-point count, if function-point estimate
est_task_cnt integer Number of activities included in estimate
fp_prod_avg_value double(22,2) Average productivity value if function-point estimate
est_qty double(22,6) Estimated units - unadjusted
est_date date Date of estimate
est_notes blob Estimate notes
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_projest_1 NONUNIQUE proj_id
ndx_projest_projwbs NONUNIQUE wbs_id
ndx_projest_rsrc NONUNIQUE rsrc_id
ndx_projest_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_PROJEST OR SQL Server
RT_PROJEST_DEL OR SQL Server
RT_PROJEST OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_projest PRIMARY proj_est_id
fk_projest_project FOREIGN proj_id PROJECT proj_id

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 41 of 106

fk_projest_rsrc FOREIGN rsrc_id RSRC rsrc_id


fk_projest_projwbs FOREIGN wbs_id PROJWBS wbs_id
ck_projest_applied_flag CHECK applied_flag applied_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
[Top]

PROJFUND
Columns
Key Name Type Description Default
PK proj_fund_id integer Unique internal ID
FK fund_id integer FK to FUNDSRC table - identifies the funding source
FK proj_id integer FK to PROJECT table - identifies the project
fund_cost double(22,6) Amount of funding Amount
fund_wt double(22,2) Relative contribution of funding share
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_projfund_1 NONUNIQUE proj_id
ndx_projfund_fundsrc NONUNIQUE fund_id
ndx_projfund_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_PROJFUND OR SQL Server
RT_PROJFUND_DEL OR SQL Server
RT_PROJFUND OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_projfund PRIMARY proj_fund_id
fk_projfund_fundsrc FOREIGN fund_id FUNDSRC fund_id
fk_projfund_project FOREIGN proj_id PROJECT proj_id

References
Name Type Table Fields Target Fields
[Top]

PROJISSU
Columns
Key Name Type Description Default
PK issue_id integer Unique ID
FK proj_id integer FK to PROJECT table - identifies the project
FK obs_id integer FK to OBS table - identifies the OBS within the project
priority_type string(12) Activity priority level
status_code string(12) Indicates whether timesheet currently is not started, active, submitted, approved or rejected
issue_name string(100) Issue name
FK thresh_id integer Unique ID
FK track_view_id integer Unique ID
FK wbs_id integer FK to PROJWBS table - identifies the WBS
FK task_id integer FK to TASK table - identifies the task
FK rsrc_id integer FK to RSRC table - identifies the resource
FK thresh_parm_id integer Unique ID
base_proj_id integer FK to PROJECT table - identifies the baseline project the issue measured against
FK workspace_id integer FK to WORKSPACE
issue_value double(22,2) Actual value of the threshold parameter causing the issue
lo_parm_value double(22,2) Lower threshold value - if actual threshold parameter value below this, create an issue
hi_parm_value double(22,2) Upper threshold value - if actual threshold parameter value above this, create an issue
add_by_name string(255) User adding the issue
resolv_date date Resolution Date
add_date date Date risk was identified
issue_notes blob Issue notes
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 42 of 106

create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_projissu_1 NONUNIQUE proj_id
ndx_projissu_obs NONUNIQUE obs_id
ndx_projissu_projthrs NONUNIQUE thresh_id
ndx_projissu_projwbs NONUNIQUE wbs_id
ndx_projissu_rsrc NONUNIQUE rsrc_id
ndx_projissu_task NONUNIQUE task_id
ndx_projissu_thrsparm NONUNIQUE thresh_parm_id
ndx_projissu_trakview NONUNIQUE track_view_id
ndx_projissu_workspace NONUNIQUE workspace_id
ndx_projissu_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_PROJISSU OR SQL Server
RT_PROJISSU_DEL OR SQL Server
RT_PROJISSU OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_projissu PRIMARY issue_id
fk_projissu_obs FOREIGN obs_id OBS obs_id
fk_projissu_project FOREIGN proj_id PROJECT proj_id
fk_projissu_projwbs FOREIGN wbs_id PROJWBS wbs_id
fk_projissu_task FOREIGN task_id TASK task_id
fk_projissu_trakview FOREIGN track_view_id TRAKVIEW track_view_id
fk_projissu_thrsparm FOREIGN thresh_parm_id THRSPARM thresh_parm_id
fk_projissu_rsrc FOREIGN rsrc_id RSRC rsrc_id
fk_projissu_projthrs FOREIGN thresh_id PROJTHRS thresh_id
fk_projissu_workspace FOREIGN workspace_id WORKSPACE workspace_id

References
Name Type Table Fields Target Fields
fk_issuhist_projissu FOREIGN ISSUHIST issue_id issue_id
[Top]

PROJPCAT
Columns
Key Name Type Description Default
PK,FK proj_id integer FK to PROJECT table - identifies the project
PK,FK proj_catg_type_id integer FK to PCATTYPE table - identifies the project code type
FK proj_catg_id integer FK to PCATVAL table - identifies the project code value
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_projpcat_pcattype NONUNIQUE proj_catg_type_id
ndx_projpcat_pcatval NONUNIQUE proj_catg_id
ndx_projpcat_update_date1 NONUNIQUE update_date
ndx_projpcat_dsi NONUNIQUE delete_session_id,delete_date
ndx_projpcat_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_PROJPCAT OR SQL Server
RT_PROJPCAT_DEL OR SQL Server
RT_PROJPCAT OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_projpcat PRIMARY proj_id,proj_catg_type_id
fk_projpcat_pcattype FOREIGN proj_catg_type_id PCATTYPE proj_catg_type_id

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 43 of 106

fk_projpcat_pcatval FOREIGN proj_catg_id PCATVAL proj_catg_id


fk_projpcat_project FOREIGN proj_id PROJECT proj_id

References
Name Type Table Fields Target Fields
[Top]

PROJPROP
Columns
Key Name Type Description Default
PK,FK proj_id integer FK to PROJECT table - identifies the project
PK prop_name string(32) Property name
prop_value blob Property value
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_projprop_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_PROJPROP OR SQL Server
RT_PROJPROP_DEL OR SQL Server
RT_PROJPROP OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_projprop PRIMARY proj_id,prop_name
fk_projprop_project FOREIGN proj_id PROJECT proj_id

References
Name Type Table Fields Target Fields
[Top]

PROJRISK
Columns
Key Name Type Description
PK risk_id integer FK to PROJRISK table - identifies the risk
proj_id integer FK to PROJECT table - identifies the project
add_date date Date risk was identified
status_code string(12) Indicates whether timesheet currently is not started, active, submitted, approved or rejected
risk_name string(200) Risk name
risk_type_id integer Unique ID
rsrc_id integer FK to RSRC table - identifies the resource
risk_descr blob Risk description
risk_to_type string(12) Risk Type
identified_by_id integer Risk Identified by
response_type string(12) Response
response_text string(255) Response Text
pre_rsp_prblty string(2) Pre Response Probability
pre_rsp_schd_prblty string(2) Pre Response Schedule Probability
pre_rsp_cost_prblty string(2) Pre Response Cost Probability
post_rsp_prblty string(2) Post Response Probability
post_rsp_schd_prblty string(2) Post Response Schedule
post_rsp_cost_prblty string(2) Post Response Cost Probability
risk_cause string(4000) Risk Cause
risk_effect string(4000) Risk Effect
notes string(4000) Notes
risk_code string(40) Risk Code
risk_desc string(4000) Risk Description
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 44 of 106

Indexes
Name Unique Fields
ndx_projrisk_1 NONUNIQUE proj_id
ndx_projrisk_risktype NONUNIQUE risk_type_id
ndx_projrisk_rsrc NONUNIQUE rsrc_id
ndx_projrisk_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_PROJRISK OR SQL Server
RT_PROJRISK_DEL OR SQL Server
RT_PROJRISK OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_projrisk PRIMARY risk_id

References
Name Type Table Fields Target Fields
fk_risk_riskid FOREIGN TASKRISK risk_id risk_id
[Top]

PROJSHAR
Columns
Key Name Type Description Default
PK,FK proj_id integer FK to PROJECT table - identifies the project
PK,FK session_id integer Unique ID
access_level integer Access level; 1 = Shared; 2 = Exclusive
load_status character Flag to indicate if project has already been loaded 'L'

Indexes
Name Unique Fields
ndx_projshar_usession NONUNIQUE session_id

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_projshar PRIMARY proj_id,session_id
fk_projshar_project FOREIGN proj_id PROJECT proj_id
fk_projshar_usession FOREIGN session_id USESSION session_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

PROJTHRS
Columns
Key Name Type Description Default
PK thresh_id integer Unique ID
FK proj_id integer FK to PROJECT table - identifies the project
FK obs_id integer FK to OBS table - identifies the OBS within the project
FK thresh_parm_id integer Unique ID
status_code string(12) Indicates whether timesheet currently is not started, active, submitted, approved or rejected
priority_type string(12) Activity priority level 'PT_Normal'
thresh_type string(12) Threshold type - threshold detail level to monitor - activity/WBS 'TM_WBS'
FK wbs_id integer FK to PROJWBS table - identifies the WBS
FK track_view_id integer Unique ID
lo_parm_value double(22,2) Lower threshold value - if actual threshold parameter value below this, create an issue
hi_parm_value double(22,2) Upper threshold value - if actual threshold parameter value above this, create an issue
window_start string(50) Start of time window to monitor (ie, DD - 10d)
window_end string(50) End of time window to monitor (ie, DD + 45d)
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_projthrs_1 NONUNIQUE proj_id
ndx_projthrs_obs NONUNIQUE obs_id

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 45 of 106

ndx_projthrs_projwbs NONUNIQUE wbs_id


ndx_projthrs_thrsparm NONUNIQUE thresh_parm_id
ndx_projthrs_trakview NONUNIQUE track_view_id
ndx_projthrs_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_PROJTHRS OR SQL Server
RT_PROJTHRS_DEL OR SQL Server
RT_PROJTHRS OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_projthrs PRIMARY thresh_id
fk_projthrs_obs FOREIGN obs_id OBS obs_id
fk_projthrs_trakview FOREIGN track_view_id TRAKVIEW track_view_id
fk_projthrs_thrsparm FOREIGN thresh_parm_id THRSPARM thresh_parm_id
fk_projthrs_project FOREIGN proj_id PROJECT proj_id
fk_projthrs_projwbs FOREIGN wbs_id PROJWBS wbs_id

References
Name Type Table Fields Target Fields
fk_projissu_projthrs FOREIGN PROJISSU thresh_id thresh_id
[Top]

PROJWBS
Columns
Key Name Type Description
PK wbs_id integer FK to PROJWBS table - identifies the WBS
FK proj_id integer FK to PROJECT table - identifies the project
FK obs_id integer FK to OBS table - identifies the OBS within the project
seq_num integer Sequence number for sorting
est_wt double(22,2) Estimation weight, for top-down estimation
proj_node_flag string(1) Indicates whether this WBS node corresponds to a project
sum_data_flag string(1) Indicates whether summarized data is available for this WBS, in the TASKSUM table
status_code string(20) Indicates whether timesheet currently is not started, active, submitted, approved or rejected
wbs_short_name string(40) WBS code
wbs_name string(100) WBS name
FK phase_id integer FK to PHASE table - identifies the WBS code value
parent_wbs_id integer FK to PROJWBS table - identifies parent in WBS hierarchy
ev_user_pct integer User-defined percent complete for computing earned value
ev_etc_user_value double(22,2) User-defined performance factor to compute earned-value estimate-to-complete
orig_cost double(22,6) Original Budget
indep_remain_total_cost double(22,6) Independent ETC total cost
ann_dscnt_rate_pct double(22,6) Annual discount rate stored as percent
dscnt_period_type string(20) Discount application period, Month/Quarter/Year
indep_remain_work_qty double(22,6) Independent ETC labor units
anticip_start_date date Anticipated start
anticip_end_date date Anticipated finish
ev_compute_type string(20) Technique for computing earned-value percent complete
ev_etc_compute_type string(20) Technique for computing earned-value estimate-to-complete
FK resp_team_id integer FK to RFOLIO
FK iteration_id integer FK to ITERATION
guid string(22) Global unique ID
tmpl_guid string(22) Methodology global unique ID
original_qty double(22,6) Original Quantity
rqmt_rem_qty double(22,6) Remaining quantity on requirement
intg_type string(7) For Identifying project type as erp or fusion
status_reviewer integer User reviewing status
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_projwbs_1 NONUNIQUE proj_id
ndx_projwbs_obs NONUNIQUE obs_id,proj_id,delete_session_id
ndx_projwbs_parent_wbs_id NONUNIQUE parent_wbs_id

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 46 of 106

ndx_projwbs_phase NONUNIQUE phase_id


ndx_projwbs_update_date1 NONUNIQUE update_date
ndx_projwbs_rfolio_team NONUNIQUE resp_team_id
ndx_projwbs_iteration NONUNIQUE iteration_id
ndx_projwbs_perf1 NONUNIQUE proj_node_flag,proj_id,wbs_id,parent_wbs_id,delete_session_id
ndx_projwbs_perf2 NONUNIQUE proj_node_flag,obs_id,wbs_id,proj_id,parent_wbs_id,delete_session_id
ndx_projwbs_dsi NONUNIQUE delete_session_id,delete_date
ndx_projwbs_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_PROJWBS OR SQL Server
RT_PROJWBS_DEL OR SQL Server
RT_PROJWBS OR SQL Server
TR_PROJWBS_OBSPROJ OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_projwbs PRIMARY wbs_id
fk_projwbs_obs FOREIGN obs_id OBS obs_id
fk_projwbs_project FOREIGN proj_id PROJECT proj_id
fk_projwbs_phase FOREIGN phase_id PHASE phase_id
fk_projwbs_rfolio_team FOREIGN resp_team_id RFOLIO rfolio_id
fk_projwbs_iteration FOREIGN iteration_id ITERATION iteration_id
ck_projwbs_proj_node_flag CHECK proj_node_flag proj_node_flag in ('Y', 'N')
ck_projwbs_sum_data_flag CHECK sum_data_flag sum_data_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
fk_budgchng_projwbs FOREIGN BUDGCHNG wbs_id wbs_id
fk_projest_projwbs FOREIGN PROJEST wbs_id wbs_id
fk_projissu_projwbs FOREIGN PROJISSU wbs_id wbs_id
fk_projthrs_projwbs FOREIGN PROJTHRS wbs_id wbs_id
fk_prpfolio_projwbs FOREIGN PRPFOLIO wbs_id wbs_id
fk_sumprojcost_projwbs FOREIGN SUMPROJCOST wbs_id wbs_id
fk_sumtask_projwbs FOREIGN SUMTASK wbs_id wbs_id
fk_sumtaskspread_projwbs FOREIGN SUMTASKSPREAD wbs_id wbs_id
fk_sumtrsrc_projwbs FOREIGN SUMTRSRC wbs_id wbs_id
fk_task_projwbs FOREIGN TASK wbs_id wbs_id
fk_taskdoc_projwbs FOREIGN TASKDOC wbs_id wbs_id
fk_wbsbudg_projwbs FOREIGN WBSBUDG wbs_id wbs_id
fk_wbsmemo_projwbs FOREIGN WBSMEMO wbs_id wbs_id
fk_wbsrsrc_projwbs FOREIGN WBSRSRC wbs_id wbs_id
fk_wbsstep_projwbs FOREIGN WBSSTEP wbs_id wbs_id
[Top]

PROJWSRPT
Columns
Key Name Type Description Default
PK,FK rpt_id integer FK to RPT table - identifies the report
PK,FK proj_id integer FK to PROJECT table - identifies the project
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_projwsrpt_dsi NONUNIQUE delete_session_id,delete_date
ndx_projwsrpt_rpt NONUNIQUE rpt_id
ndx_projwsrpt_project NONUNIQUE proj_id

Triggers
PRMAUD_PROJWSRPT OR SQL Server
RT_PROJWSRPT_DEL OR SQL Server
RT_PROJWSRPT OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 47 of 106

pk_projwsrpt PRIMARY rpt_id,proj_id


fk_projwsrpt_rpt FOREIGN rpt_id RPT rpt_id CASCADE
fk_projwsrpt_project FOREIGN proj_id PROJECT proj_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

PRPFOLIO
Columns
Key Name Type Description Default
PK,FK pfolio_id integer FK to PFOLIO table - identifies the manual project portfolio
PK,FK wbs_id integer FK to PROJWBS table - identifies the WBS
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_prpfolio_projwbs NONUNIQUE wbs_id
ndx_prpfolio_dsi NONUNIQUE delete_session_id,delete_date
ndx_prpfolio_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_PRPFOLIO OR SQL Server
RT_PRPFOLIO_DEL OR SQL Server
RT_PRPFOLIO OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_prpfolio PRIMARY pfolio_id,wbs_id
fk_prpfolio_pfolio FOREIGN pfolio_id PFOLIO pfolio_id
fk_prpfolio_projwbs FOREIGN wbs_id PROJWBS wbs_id

References
Name Type Table Fields Target Fields
[Top]

PUBUSER
Columns
Key Name Type Description Default
PK public_group_id integer Unique ID for private user and the public group which uses it (matches INI file)
private_db_user_name string(255) Database username used to connect with update privileges
private_db_passwd string(255) Encoded database password used to connect with update privileges

Indexes
Name Unique Fields

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_pubuser PRIMARY public_group_id

References
Name Type Table Fields Target Fields
[Top]

QUERYLIB
Columns
Key Name Type Description Default
PK query_lib_id integer PK for QUERYLIB table
app_name string(25) Application Name
core_flag string(1) Flag for Primavera query or customer query
match_sql string(4000) Tokenized sql for matching
hints string(4000) Oracle Hints
replacement_sql string(4000) Replaced Sql
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 48 of 106

create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_querylib_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_QUERYLIB OR SQL Server
RT_QUERYLIB_DEL OR SQL Server
RT_QUERYLIB OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_querylib PRIMARY query_lib_id

References
Name Type Table Fields Target Fields
[Top]

RCATTYPE
Columns
Key Name Type Description Default
PK rsrc_catg_type_id integer FK to RCATTYPE table - identifies the resource code type
seq_num integer Sequence number for sorting
rsrc_catg_short_len integer Max length of resource code value
rsrc_catg_type string(40) Resource code type
super_flag string(1) Indicates that this resource code type is a super code. 'N'
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_rcattype_dsi NONUNIQUE delete_session_id,delete_date
ndx_rcattype_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_RCATTYPE OR SQL Server
RT_RCATTYPE_DEL OR SQL Server
RT_RCATTYPE OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_rcattype PRIMARY rsrc_catg_type_id

References
Name Type Table Fields Target Fields
fk_rcatval_rcattype FOREIGN RCATVAL rsrc_catg_type_id rsrc_catg_type_id
fk_rsrcrcat_rcattype FOREIGN RSRCRCAT rsrc_catg_type_id rsrc_catg_type_id
[Top]

RCATVAL
Columns
Key Name Type Description Default
PK rsrc_catg_id integer FK to RCATVAL table - identifies the resource code value
FK rsrc_catg_type_id integer FK to RCATTYPE table - identifies the resource code type
seq_num integer Sequence number for sorting
rsrc_catg_short_name string(32) Resource code value
rsrc_catg_name string(100) Resource code description
parent_rsrc_catg_id integer FK to RCATVAL table - identifies the parent resource code value
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 49 of 106

Indexes
Name Unique Fields
ndx_rcatval_rcattype NONUNIQUE rsrc_catg_type_id
ndx_rcatval_parent_catg NONUNIQUE parent_rsrc_catg_id
ndx_rcatval_dsi NONUNIQUE delete_session_id,delete_date
ndx_rcatval_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_RCATVAL OR SQL Server
RT_RCATVAL_DEL OR SQL Server
RT_RCATVAL OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_rcatval PRIMARY rsrc_catg_id
fk_rcatval_rcattype FOREIGN rsrc_catg_type_id RCATTYPE rsrc_catg_type_id

References
Name Type Table Fields Target Fields
fk_rsrcrcat_rcatval FOREIGN RSRCRCAT rsrc_catg_id rsrc_catg_id
[Top]

REFRDEL
Columns
Key Name Type Description Default
delete_date date Timestamp for delete. sysdate
table_name string(30) Name of table for delete operation.
pk1 string(255) Generic PK value for table.
pk2 string(255) Second PK value for composite keys.
pk3 string(255) Third PK value for composite keys.
pk4 string(255) Fourth PK value for composite keys.
proj_id integer Project ID

Indexes
Name Unique Fields
ndx_refrdel_delete_date NONUNIQUE delete_date
ndx_refrdel_table_pk NONUNIQUE table_name,pk1,pk2

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition

References
Name Type Table Fields Target Fields
[Top]

REITTYPE
Columns
Key Name Type Description Default
PK related_item_type_id integer Unique ID
related_item string(32) Name of the RELITEM type
table_name string(30) Local Table Name. Null for iManage tables.
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_reittype_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_REITTYPE OR SQL Server
RT_REITTYPE_DEL OR SQL Server
RT_REITTYPE OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_reittype PRIMARY related_item_type_id

References

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 50 of 106

Name Type Table Fields Target Fields


fk_relitems_reittype FOREIGN RELITEMS item_type_id related_item_type_id
fk_relitems_reittype_related FOREIGN RELITEMS related_item_type_id related_item_type_id
[Top]

RELEASE
Columns
Key Name Type Description Default
PK release_id integer Identifies release
FK rfolio_id integer FK to RFOLIO table - identifies the manual resource portfolio
release_name string(60) Release Name
start_date date Identifies start date
FK proj_id integer FK to PROJECT table - identifies the project id
release_theme string(255) Theme for the release
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_release_rfolio NONUNIQUE rfolio_id
ndx_release_project NONUNIQUE proj_id
ndx_release_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_RELEASE OR SQL Server
RT_RELEASE_DEL OR SQL Server
RT_RELEASE OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_release PRIMARY release_id
fk_release_rfolio FOREIGN rfolio_id RFOLIO rfolio_id
fk_release_proj_id FOREIGN proj_id PROJECT proj_id

References
Name Type Table Fields Target Fields
fk_iteration_release FOREIGN ITERATION release_id release_id
[Top]

RELITEMS
Columns
Key Name Type Description Default
PK,FK item_type_id integer FK to REITTYPE
PK fk_id integer Generic, unconstrained FK
PK,FK related_item_type_id integer FK to REITTYPE
PK related_fk_id integer Generic, unconstrained FK
FK proj_id integer FK to Project table
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_relitems_project NONUNIQUE proj_id
ndx_relitems_related NONUNIQUE related_item_type_id,related_fk_id
ndx_relitems_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_RELITEMS OR SQL Server
RT_RELITEMS_DEL OR SQL Server
RT_RELITEMS OR SQL Server

Constraints
Name Type Fields Target Fields Delete
rule

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 51 of 106

pk_relitems PRIMARY item_type_id,fk_id,related_item_type_id,related_fk_id


fk_relitems_project FOREIGN proj_id PROJECT proj_id
fk_relitems_reittype FOREIGN item_type_id REITTYPE related_item_type_id
fk_relitems_reittype_related FOREIGN related_item_type_id REITTYPE related_item_type_id

References
Name Type Table Fields Target Fields
[Top]

RFOLIO
Columns
Key Name Type Description
PK rfolio_id integer FK to RFOLIO table - identifies the manual resource portfolio
FK user_id integer FK to USERS table - identifies user who owns the view
rfolio_name string(40) Portfolio Name
rfolio_type string(20) Portfolio Type - Manual or Automatic. Only manual will be supported for 3.0, but automatic will be supported in th
rfolio_descr string(255) Portfolio Description
team_capacity_pct double(22,2) Physical pct capacity for team
parent_rfolio_id integer parent portfolio id
rfolio_data blob Portfolio data as text string. Contains filter criteria for Auto portfolios
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_rfolio_user NONUNIQUE user_id
ndx_rfolio_dsi NONUNIQUE delete_session_id,delete_date
ndx_rfolio_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_RFOLIO OR SQL Server
RT_RFOLIO_DEL OR SQL Server
RT_RFOLIO OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_rfolio PRIMARY rfolio_id
fk_rfolio_users FOREIGN user_id USERS user_id

References
Name Type Table Fields Target Fields
fk_itergoal_rfolio FOREIGN ITERGOAL rfolio_id rfolio_id
fk_projwbs_rfolio_team FOREIGN PROJWBS resp_team_id rfolio_id
fk_release_rfolio FOREIGN RELEASE rfolio_id rfolio_id
fk_rsrfolio_rfolio FOREIGN RSRFOLIO rfolio_id rfolio_id
[Top]

RISKCTRL
Columns
Key Name Type Description Default
PK risk_id integer FK to PROJRISK table - identifies the risk
proj_id integer FK to PROJECT table - identifies the project
risk_control blob Risk control text field
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_riskctrl_1 NONUNIQUE proj_id
ndx_riskctrl_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_RISKCTRL OR SQL Server

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 52 of 106

RT_RISKCTRL_DEL OR SQL Server


RT_RISKCTRL OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_riskctrl PRIMARY risk_id

References
Name Type Table Fields Target Fields
[Top]

RISKTYPE
Columns
Key Name Type Description Default
PK risk_type_id integer Unique ID
seq_num integer Sequence number for sorting
risk_type string(40) Risk type
parent_risk_type_id integer Parent risk type id
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_risktype_dsi NONUNIQUE delete_session_id,delete_date
ndx_risktype_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_RISKTYPE OR SQL Server
RT_RISKTYPE_DEL OR SQL Server
RT_RISKTYPE OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_risktype PRIMARY risk_type_id

References
Name Type Table Fields Target Fields
[Top]

RLFOLIO
Columns
Key Name Type Description Default
PK rlfolio_id integer FK to RLFOLIO table - identifies the manual role team
FK user_id integer FK to USERS table - identifies user who owns the view
rlfolio_name string(40) Role team name
rlfolio_type string(20) Role team type - Manual or Automatic
rlfolio_descr string(255) Role team description
rlfolio_data blob Filter criteria for auto teams
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_rlfolio_user NONUNIQUE user_id
ndx_rlfolio_dsi NONUNIQUE delete_session_id,delete_date
ndx_rlfolio_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_RLFOLIO OR SQL Server
RT_RLFOLIO_DEL OR SQL Server
RT_RLFOLIO OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_rlfolio_id PRIMARY rlfolio_id

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 53 of 106

fk_rlfolio_user FOREIGN user_id USERS user_id

References
Name Type Table Fields Target Fields
fk_rolfolio_rlfolio FOREIGN ROLFOLIO rlfolio_id rlfolio_id
[Top]

ROLELIMIT
Columns
Key Name Type Description Default
PK rolelimit_id integer PK
FK role_id integer FK to ROLES table - identifies the role
start_date date Start date
max_qty_per_hr double(22,8) Maximum units per time (hours per hour)
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_rolelimit_roles NONUNIQUE role_id
ndx_rolelimit_dsi NONUNIQUE delete_session_id,delete_date
ndx_rolelimit_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_ROLELIMIT OR SQL Server
RT_ROLELIMIT_DEL OR SQL Server
RT_ROLELIMIT OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_rolelimit PRIMARY rolelimit_id
fk_rolelimit_roles FOREIGN role_id ROLES role_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

ROLERATE
Columns
Key Name Type Description Default
PK role_rate_id integer Unique ID
FK role_id integer FK to RSRC table - identifies the resource
cost_per_qty double(22,8) Price per time
cost_per_qty2 double(22,8) Multiple resource rates, price / time
cost_per_qty3 double(22,8) Multiple resource rates, price / time
cost_per_qty4 double(22,8) Multiple resource rates, price / time
cost_per_qty5 double(22,8) Multiple resource rates, price / time
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_rolerate_rsrc NONUNIQUE role_id
ndx_rolerate_dsi NONUNIQUE delete_session_id,delete_date
ndx_rolerate_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_ROLERATE OR SQL Server
RT_ROLERATE_DEL OR SQL Server
RT_ROLERATE OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_rolerate PRIMARY role_rate_id

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 54 of 106

fk_rolerate_roles FOREIGN role_id ROLES role_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

ROLES
Columns
Key Name Type Description Default
PK role_id integer FK to ROLES table - identifies the role
role_short_name string(40) Role code
role_name string(100) Role name
seq_num integer Sequence number for sorting
parent_role_id integer FK to ROLES table - identifies the parent in the role hierarchy
def_cost_qty_link_flag string(1) Default Cost Per Qty Link Flag
cost_qty_type string(24) Time units for resource price/time (year/month/week/day/hour) 'QT_Hour'
FK pobs_id integer FK to POBS table
role_descr blob Role description
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_roles_parent_role NONUNIQUE parent_role_id
ndx_roles_pobs NONUNIQUE pobs_id
ndx_roles_update_date1 NONUNIQUE update_date
ndx_roles_dsi NONUNIQUE delete_session_id,delete_date
ndx_roles_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_ROLES OR SQL Server
RT_ROLES_DEL OR SQL Server
RT_ROLES OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_roles PRIMARY role_id
fk_roles_pobs FOREIGN pobs_id POBS pobs_id

References
Name Type Table Fields Target Fields
fk_rolelimit_roles FOREIGN ROLELIMIT role_id role_id
fk_rolerate_roles FOREIGN ROLERATE role_id role_id
fk_rolfolio_role FOREIGN ROLFOLIO role_id role_id
fk_rsrc_roles FOREIGN RSRC role_id role_id
fk_rsrcrole_roles FOREIGN RSRCROLE role_id role_id
fk_scenrole_roles FOREIGN SCENROLE role_id role_id
fk_taskrsrc_roles FOREIGN TASKRSRC role_id role_id
fk_wbsrsrc_role FOREIGN WBSRSRC role_id role_id
[Top]

ROLFOLIO
Columns
Key Name Type Description Default
PK,FK rlfolio_id integer FK to RLFOLIO table - identifies the manual role team
PK,FK role_id integer FK to ROLES table - identifies the role
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_rolfolio_role NONUNIQUE role_id
ndx_rolfolio_dsi NONUNIQUE delete_session_id,delete_date

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 55 of 106

ndx_rolfolio_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_ROLFOLIO OR SQL Server
RT_ROLFOLIO_DEL OR SQL Server
RT_ROLFOLIO OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_rolfolio PRIMARY rlfolio_id,role_id
fk_rolfolio_rlfolio FOREIGN rlfolio_id RLFOLIO rlfolio_id
fk_rolfolio_role FOREIGN role_id ROLES role_id

References
Name Type Table Fields Target Fields
[Top]

RPT
Columns
Key Name Type Description Default
PK rpt_id integer FK to RPT table - identifies the report
global_flag string(1) Identifies users who are also entered in the master consolidation database 'N'
rpt_type string(12) Report type - user report or project website report
rpt_name string(80) Report name
rpt_area string(32) Report subject area 'Unknown'
FK rpt_group_id integer Unique ID
FK proj_id integer FK to PROJECT table - identifies the project
rpt_state string(10) State of the report
rpt_data blob Report settings stored as a text field
last_run_date date Last run execution date/time
FK user_id integer FK to USERS table - identifies user
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_rpt_1 NONUNIQUE proj_id
ndx_rpt_rptgroup NONUNIQUE rpt_group_id
ndx_rpt_dsi NONUNIQUE delete_session_id,delete_date
ndx_rpt_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_RPT OR SQL Server
RT_RPT_DEL OR SQL Server
RT_RPT OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_rpt PRIMARY rpt_id
fk_rpt_project FOREIGN proj_id PROJECT proj_id
fk_rpt_rptgroup FOREIGN rpt_group_id RPTGROUP rpt_group_id
fk_rpt_users FOREIGN user_id USERS user_id
ck_rpt_global_flag CHECK global_flag global_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
fk_filtprop_rpt FOREIGN FILTPROP rpt_id rpt_id
fk_jobrpt_rpt FOREIGN JOBRPT rpt_id rpt_id
fk_projwsrpt_rpt FOREIGN PROJWSRPT rpt_id rpt_id
fk_rptlist_rpt FOREIGN RPTLIST rpt_id rpt_id
[Top]

RPTBATCH
Columns
Key Name Type Description Default
PK rpt_batch_id integer FK to RPTBATCH table - identifies the report batch
rpt_batch_name string(80)

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 56 of 106

FK proj_id integer FK to PROJECT table - identifies the project


update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_rptbatch_1 NONUNIQUE proj_id
ndx_rptbatch_dsi NONUNIQUE delete_session_id,delete_date
ndx_rptbatch_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_RPTBATCH OR SQL Server
RT_RPTBATCH_DEL OR SQL Server
RT_RPTBATCH OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_rptbatch PRIMARY rpt_batch_id
fk_rptbatch_project FOREIGN proj_id PROJECT proj_id

References
Name Type Table Fields Target Fields
fk_rptlist_rptbatch FOREIGN RPTLIST rpt_batch_id rpt_batch_id
[Top]

RPTGROUP
Columns
Key Name Type Description Default
PK rpt_group_id integer Unique ID
rpt_group_seq_num integer Sequence number for sorting
rpt_group_name string(80) Report group name
parent_group_id integer FK to RPTGROUP table - identifies the parent report group
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_rptgroup_parent_group NONUNIQUE parent_group_id
ndx_rptgroup_dsi NONUNIQUE delete_session_id,delete_date
ndx_rptgroup_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_RPTGROUP OR SQL Server
RT_RPTGROUP_DEL OR SQL Server
RT_RPTGROUP OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_rptgroup PRIMARY rpt_group_id

References
Name Type Table Fields Target Fields
fk_rpt_rptgroup FOREIGN RPT rpt_group_id rpt_group_id
[Top]

RPTLIST
Columns
Key Name Type Description Default
PK,FK rpt_batch_id integer FK to RPTBATCH table - identifies the report batch
PK,FK rpt_id integer FK to RPT table - identifies the report
seq_num integer Sequence number for sorting
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 57 of 106

create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_rptlist_rpt NONUNIQUE rpt_id
ndx_rptlist_dsi NONUNIQUE delete_session_id,delete_date
ndx_rptlist_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_RPTLIST OR SQL Server
RT_RPTLIST_DEL OR SQL Server
RT_RPTLIST OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_rptlist PRIMARY rpt_batch_id,rpt_id
fk_rptlist_rpt FOREIGN rpt_id RPT rpt_id
fk_rptlist_rptbatch FOREIGN rpt_batch_id RPTBATCH rpt_batch_id

References
Name Type Table Fields Target Fields
[Top]

RSRC
Columns
Key Name Type Description
PK rsrc_id integer FK to RSRC table - identifies the resource
FK clndr_id integer FK to CALENDAR table - identifies the activity calendar
rsrc_seq_num integer Sequence number for sorting
timesheet_flag string(1) Indicates whether resource fills out a timesheet
active_flag string(1) Indicates whether resource is currently active
rsrc_type string(10) Resource type Labor, Equipment, or Material
auto_compute_act_flag string(1) Indicates whether to automatically compute actual units based on activity duration completed
ot_flag string(1) Identifies whether this resource can work overtime
def_cost_qty_link_flag string(1) Indicates whether costs and quantities are linked by default when assigning resource to activities
rsrc_short_name string(255) Resource code
rsrc_name string(255) Resource name
parent_rsrc_id integer FK to RSRC table - identifies the parent resource
xfer_complete_day_cnt integer Default time window to access completed activities in Project Satellite
xfer_notstart_day_cnt integer Default time window to access not-started activities in Project Satellite
ts_approve_user_id integer FK to USER table - identifies the user who is resource manager for time approval
FK user_id integer FK to USERS table - identifies user who owns the view
FK role_id integer FK to ROLES table - identifies the role
FK curr_id integer FK to CURRTYPE table - identifies the user's view currency
last_checksum integer A checksum-like field computed from the TBLSYNC entries for this resource indicating that resource data has been
FK shift_id integer FK to SHIFT table - identifies the shift
ot_factor double(22,3) Multiplier factor to compute overtime price from regular price
def_qty_per_hr double(22,8) Default units per time (hours per hour)
guid string(22) Global unique ID
cost_qty_type string(24) Time units for resource price/time (year/month/week/day/hour)
office_phone string(32) User's office phone number
other_phone string(32) Resource's other phone number
employee_code string(40) Employee code or employee number
rsrc_title_name string(100) Resource job title
email_addr string(120) Return email address
FK unit_id integer UMeasure ID
FK pobs_id integer FK to POBS table
rsrc_notes blob Resource notes
intg_type string(7) For Identifying project type as erp or fusion
update_date date Refresh audit field of last date updated. Trigger maintained.
location_id integer Resource Location
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 58 of 106

Name Unique Fields


ndx_rsrc_calendar NONUNIQUE clndr_id
ndx_rsrc_roles NONUNIQUE role_id
ndx_rsrc_shift NONUNIQUE shift_id
ndx_rsrc_users NONUNIQUE user_id
ndx_rsrc_parent_rsrc_id NONUNIQUE parent_rsrc_id
ndx_rsrc_pobs NONUNIQUE pobs_id
ndx_rsrc_update_date1 NONUNIQUE update_date
ndx_rsrc_unit NONUNIQUE unit_id
ndx_rsrc_curr NONUNIQUE curr_id
ndx_rsrc_dsi NONUNIQUE delete_session_id,delete_date
ndx_rsrc_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_RSRC OR SQL Server
RT_RSRC_DEL OR SQL Server
RT_RSRC OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_rsrc PRIMARY rsrc_id
fk_rsrc_calendar FOREIGN clndr_id CALENDAR clndr_id
fk_rsrc_currtype FOREIGN curr_id CURRTYPE curr_id
fk_rsrc_shift FOREIGN shift_id SHIFT shift_id
fk_rsrc_users FOREIGN user_id USERS user_id
fk_rsrc_roles FOREIGN role_id ROLES role_id
fk_rsrc_umeasure FOREIGN unit_id UMEASURE unit_id
fk_rsrc_pobs FOREIGN pobs_id POBS pobs_id
ck_rsrc_active_flag CHECK active_flag active_flag in ('Y', 'N')
ck_rsrc_auto_compute_act_flag CHECK auto_compute_act_flag auto_compute_act_flag in ('Y', 'N')
ck_rsrc_ot_flag CHECK ot_flag ot_flag in ('Y', 'N')
ck_rsrc_timesheet_flag CHECK timesheet_flag timesheet_flag in ('Y', 'N')
ck_rsrc_def_cost_qty_flag CHECK def_cost_qty_link_flag def_cost_qty_link_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
fk_document_rsrc FOREIGN DOCUMENT rsrc_id rsrc_id
fk_prefer_rsrc FOREIGN PREFER default_rsrc_sec_id rsrc_id
fk_projest_rsrc FOREIGN PROJEST rsrc_id rsrc_id
fk_projissu_rsrc FOREIGN PROJISSU rsrc_id rsrc_id
fk_rsrchour_rsrc FOREIGN RSRCHOUR rsrc_id rsrc_id
fk_rsrcprop_rsrc FOREIGN RSRCPROP rsrc_id rsrc_id
fk_rsrcrate_rsrc FOREIGN RSRCRATE rsrc_id rsrc_id
fk_rsrcrcat_rsrc FOREIGN RSRCRCAT rsrc_id rsrc_id
fk_rsrcrole_rsrc FOREIGN RSRCROLE rsrc_id rsrc_id
fk_rsrcsec_rsrc FOREIGN RSRCSEC rsrc_id rsrc_id
fk_rsrfolio_rsrc FOREIGN RSRFOLIO rsrc_id rsrc_id
fk_task_rsrc FOREIGN TASK rsrc_id rsrc_id
fk_taskrsrc_rsrc FOREIGN TASKRSRC rsrc_id rsrc_id
fk_wbsrsrc_rsrc FOREIGN WBSRSRC rsrc_id rsrc_id
[Top]

RSRCANDASH
Columns
Key Name Type Description Default
PK,FK dashboard_id integer PK and FK to DASHBOARD TABLE
PK,FK rsrcan_view_id integer PK,FK to RSRCANVIEW
seq_num integer Sequence Number
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_rsrcandash_1 NONUNIQUE rsrcan_view_id,dashboard_id
ndx_rsrcandash_dsi NONUNIQUE delete_session_id,delete_date

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 59 of 106

ndx_rsrcandash_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_RSRCANDASH OR SQL Server
RT_RSRCANDASH OR SQL Server
RT_RSRCANDASH_DEL OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_rsrcandash PRIMARY dashboard_id,rsrcan_view_id
fk_rsrcandash_dashboard FOREIGN dashboard_id DASHBOARD dashboard_id CASCADE
fk_rsrcandash_rsrcanview FOREIGN rsrcan_view_id RSRCANVIEW rsrcan_view_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

RSRCANVIEW
Columns
Key Name Type Description Default
PK rsrcan_view_id integer Unique ID
rsrcan_view_name string(255) View name
FK user_id integer FK to USERS table - identifies user who owns the view
rsrcan_view_type string(20) Type of view
rsrcan_view_data string(4000) View parameter values stored as text string
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_rsrcanview_1 NONUNIQUE user_id
ndx_rsrcanview_dsi NONUNIQUE delete_session_id,delete_date
ndx_rsrcanview_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_RSRCANVIEW OR SQL Server
RT_RSRCANVIEW_DEL OR SQL Server
RT_RSRCANVIEW OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_rsrcanview PRIMARY rsrcan_view_id
fk_rsrcanview_users FOREIGN user_id USERS user_id

References
Name Type Table Fields Target Fields
fk_rsrcandash_rsrcanview FOREIGN RSRCANDASH rsrcan_view_id rsrcan_view_id
[Top]

RSRCCURV
Columns
Key Name Type Description Default
PK curv_id integer FK to RSRCCURV table - identifies curve for assignments
curv_name string(60) Resource curve name
default_flag string(1) ID's default curves which cannot be edited by users 'N'
curv_data blob Contains the 21 curve values, property item
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_rsrccurv_dsi NONUNIQUE delete_session_id,delete_date
ndx_rsrccurv_upd NONUNIQUE update_date,delete_session_id

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 60 of 106

Triggers
PRMAUD_RSRCCURV OR SQL Server
RT_RSRCCURV_DEL OR SQL Server
RT_RSRCCURV OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_rsrccurv PRIMARY curv_id
ck_rsrccurv_default_flag CHECK default_flag default_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
fk_taskrsrc_rsrccurv FOREIGN TASKRSRC curv_id curv_id
[Top]

RSRCHOUR
Columns
Key Name Type Description Default
PK rsrc_hr_id integer Unique ID
FKFK rsrc_id integer FK to RSRC table - identifies the resource
FK ts_id integer Unique ID
task_ts_flag string(1) Indicates placeholder rows for timesheet tasks, always false for storing hours 'N'
FK taskrsrc_id integer Unique ID
FK nonwork_type_id integer FK to NONWORK table - identifies the overhead code (if overhead activity)
proj_id integer FK to PROJECT table - identifies the project
pend_hr_cnt double(22,2) Count of hours, prior to approval
hr_cnt double(22,2) Count of hours, approved
pend_ot_hr_cnt double(22,2) Count of overtime hours, prior to approval
ot_hr_cnt double(22,2) Count of overtime hours, approved
work_date date Date for resource-timesheet hours
status_code string(20) Indicates whether timesheet currently is not started, active, submitted, approved or rejected
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_rsrchour_project NONUNIQUE proj_id,ts_id,task_ts_flag,rsrc_id,delete_session_id
ndx_rsrchour_nonwork NONUNIQUE nonwork_type_id
ndx_rsrchour_rsrc NONUNIQUE rsrc_id
ndx_rsrchour_taskrsrc NONUNIQUE taskrsrc_id
ndx_rsrchour_timesht NONUNIQUE rsrc_id,ts_id
ndx_rsrchour_work_date NONUNIQUE work_date
ndx_rsrchour_status_code NONUNIQUE status_code,proj_id,ts_id,rsrc_id,delete_session_id
ndx_rsrchour_dsi NONUNIQUE delete_session_id,delete_date
ndx_rsrchour_ts_rsrc NONUNIQUE ts_id,rsrc_id

Triggers
PRMAUD_RSRCHOUR OR SQL Server
RT_RSRCHOUR_DEL OR SQL Server
RT_RSRCHOUR OR SQL Server
TR_RSRCHOUR_LDI OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_rsrchour PRIMARY rsrc_hr_id
fk_rsrchour_nonwork FOREIGN nonwork_type_id NONWORK nonwork_type_id
fk_rsrchour_taskrsrc FOREIGN taskrsrc_id TASKRSRC taskrsrc_id
fk_rsrchour_timesht FOREIGN ts_id,rsrc_id TIMESHT ts_id,rsrc_id
fk_rsrchour_rsrc FOREIGN rsrc_id RSRC rsrc_id
ck_rsrchour_task_ts_flag CHECK task_ts_flag task_ts_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
[Top]

RSRCPROP

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 61 of 106

Columns
Key Name Type Description Default
PK,FK rsrc_id integer FK to RSRC table - identifies the resource
PK prop_name string(20) Property name
prop_value string(255) Property value
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_rsrcprop_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_RSRCPROP OR SQL Server
RT_RSRCPROP_DEL OR SQL Server
RT_RSRCPROP OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_rsrcprop PRIMARY rsrc_id,prop_name
fk_rsrcprop_rsrc FOREIGN rsrc_id RSRC rsrc_id

References
Name Type Table Fields Target Fields
[Top]

RSRCRATE
Columns
Key Name Type Description Default
PK rsrc_rate_id integer Unique ID
FK rsrc_id integer FK to RSRC table - identifies the resource
start_date date Start of time period
FK shift_period_id integer Unique ID
max_qty_per_hr double(22,8) Maximum units per time (hours per hour)
cost_per_qty double(22,8) Price per time
cost_per_qty2 double(22,8) Multiple resource rates, price / time
cost_per_qty3 double(22,8) Multiple resource rates, price / time
cost_per_qty4 double(22,8) Multiple resource rates, price / time
cost_per_qty5 double(22,8) Multiple resource rates, price / time
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_rsrcrate_rsrc NONUNIQUE rsrc_id
ndx_rsrcrate_shiftper NONUNIQUE shift_period_id
ndx_rsrcrate_update_date1 NONUNIQUE update_date
ndx_rsrcrate_dsi NONUNIQUE delete_session_id,delete_date
ndx_rsrcrate_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_RSRCRATE OR SQL Server
RT_RSRCRATE_DEL OR SQL Server
RT_RSRCRATE OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_rsrcrate PRIMARY rsrc_rate_id
fk_rsrcrate_rsrc FOREIGN rsrc_id RSRC rsrc_id
fk_rsrcrate_shiftper FOREIGN shift_period_id SHIFTPER shift_period_id

References
Name Type Table Fields Target Fields
[Top]

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 62 of 106

RSRCRCAT
Columns
Key Name Type Description Default
PK,FK rsrc_id integer FK to RSRC table - identifies the resource
PK,FK rsrc_catg_type_id integer FK to RCATTYPE table - identifies the resource code type
FK rsrc_catg_id integer FK to RCATVAL table - identifies the resource code value
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_rsrcrcat_rcattype NONUNIQUE rsrc_catg_type_id
ndx_rsrcrcat_rcatval NONUNIQUE rsrc_catg_id
ndx_rsrcrcat_update_date1 NONUNIQUE update_date
ndx_rsrcrcat_dsi NONUNIQUE delete_session_id,delete_date
ndx_rsrcrcat_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_RSRCRCAT OR SQL Server
RT_RSRCRCAT_DEL OR SQL Server
RT_RSRCRCAT OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_rsrcrcat PRIMARY rsrc_id,rsrc_catg_type_id
fk_rsrcrcat_rcattype FOREIGN rsrc_catg_type_id RCATTYPE rsrc_catg_type_id
fk_rsrcrcat_rcatval FOREIGN rsrc_catg_id RCATVAL rsrc_catg_id
fk_rsrcrcat_rsrc FOREIGN rsrc_id RSRC rsrc_id

References
Name Type Table Fields Target Fields
[Top]

RSRCROLE
Columns
Key Name Type Description Default
PK,FK rsrc_id integer FK to RSRC table - identifies the resource
PK,FK role_id integer FK to ROLES table - identifies the role
skill_level integer Proficiency level
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_rsrcrole_roles NONUNIQUE role_id
ndx_rsrcrole_dsi NONUNIQUE delete_session_id,delete_date
ndx_rsrcrole_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_RSRCROLE OR SQL Server
RT_RSRCROLE_DEL OR SQL Server
RT_RSRCROLE OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_rsrcrole PRIMARY rsrc_id,role_id
fk_rsrcrole_roles FOREIGN role_id ROLES role_id
fk_rsrcrole_rsrc FOREIGN rsrc_id RSRC rsrc_id

References
Name Type Table Fields Target Fields
[Top]

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 63 of 106

RSRCSEC
Columns
Key Name Type Description Default
PK,FK user_id integer FK to USERS
PK,FK rsrc_id integer FK to RSRC
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_rsrcsec_rsrc NONUNIQUE rsrc_id
ndx_rsrcsec_dsi NONUNIQUE delete_session_id,delete_date
ndx_rsrcsec_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_RSRCSEC OR SQL Server
RT_RSRCSEC_DEL OR SQL Server
RT_RSRCSEC OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_rsrcsec PRIMARY user_id,rsrc_id
fk_rsrcsec_users FOREIGN user_id USERS user_id CASCADE
fk_rsrcsec_rsrc FOREIGN rsrc_id RSRC rsrc_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

RSRFOLIO
Columns
Key Name Type Description Default
PK,FK rfolio_id integer FK to RFOLIO table - identifies the manual resource portfolio
PK,FK rsrc_id integer FK to RSRC table - identifies the resource
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_rsrfolio_rsrc NONUNIQUE rsrc_id
ndx_rsrfolio_dsi NONUNIQUE delete_session_id,delete_date
ndx_rsrfolio_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_RSRFOLIO OR SQL Server
RT_RSRFOLIO_DEL OR SQL Server
RT_RSRFOLIO OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_rsrfolio PRIMARY rfolio_id,rsrc_id
fk_rsrfolio_rfolio FOREIGN rfolio_id RFOLIO rfolio_id
fk_rsrfolio_rsrc FOREIGN rsrc_id RSRC rsrc_id

References
Name Type Table Fields Target Fields
[Top]

SCENARIO
Columns
Key Name Type Description Default
PK scenario_id integer PK Scenario id
scenario_name string(255) Scenario Name
FK user_id integer FK to USERS table - identifies user who owns the view

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 64 of 106

table_name string(30) Table Name


fk_id integer FK ID
scenario_type string(30) Scenario Type
FK view_pref_id integer FK to VIEWPREF
view_type string(30) Type of view
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_scenario_1 NONUNIQUE user_id
ndx_scenario_viewpref NONUNIQUE view_pref_id
ndx_scenario_dsi NONUNIQUE delete_session_id,delete_date
ndx_scenario_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_SCENARIO OR SQL Server
RT_SCENARIO_DEL OR SQL Server
RT_SCENARIO OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_scenario PRIMARY scenario_id
fk_scenario_users FOREIGN user_id USERS user_id
fk_scenario_viewpref FOREIGN view_pref_id VIEWPREF view_pref_id

References
Name Type Table Fields Target Fields
fk_scenproj_scenario FOREIGN SCENPROJ scenario_id scenario_id
fk_scenrole_scenario FOREIGN SCENROLE scenario_id scenario_id
fk_scenuser_scenario FOREIGN SCENUSER scenario_id scenario_id
[Top]

SCENPROJ
Columns
Key Name Type Description Default
PK,FK scenario_id integer PK and FK to SCENARIO TABLE
PK,FK proj_id integer PK,FK to PROJECT table - identifies project
selected_flag string(1) Flag 'N'
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_scenproj_1 NONUNIQUE proj_id,scenario_id
ndx_scenproj_dsi NONUNIQUE delete_session_id,delete_date
ndx_scenproj_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_SCENPROJ OR SQL Server
RT_SCENPROJ_DEL OR SQL Server
RT_SCENPROJ OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_scenprog PRIMARY scenario_id,proj_id
fk_scenproj_project FOREIGN proj_id PROJECT proj_id CASCADE
fk_scenproj_scenario FOREIGN scenario_id SCENARIO scenario_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

SCENROLE

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 65 of 106

Columns
Key Name Type Description Default
PK,FK scenario_id integer PK and FK to SCENARIO TABLE
PK,FK role_id integer PK,FK to ROLES table - identifies project
selected_flag string(1) Flag 'N'
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_scenrole_roles NONUNIQUE role_id,scenario_id
ndx_scenrole_dsi NONUNIQUE delete_session_id,delete_date
ndx_scenrole_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_SCENROLE OR SQL Server
RT_SCENROLE_DEL OR SQL Server
RT_SCENROLE OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_scenrole PRIMARY scenario_id,role_id
fk_scenrole_roles FOREIGN role_id ROLES role_id CASCADE
fk_scenrole_scenario FOREIGN scenario_id SCENARIO scenario_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

SCENUSER
Columns
Key Name Type Description Default
PK,FK scenario_id integer PK and FK to SCENARIO TABLE
PK,FK user_id integer PK,FK to USERS table - identifies user who owns the view
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_scenuser_1 NONUNIQUE user_id,scenario_id
ndx_scenuser_dsi NONUNIQUE delete_session_id,delete_date
ndx_scenuser_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_SCENUSER OR SQL Server
RT_SCENUSER OR SQL Server
RT_SCENUSER_DEL OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_scenuser PRIMARY scenario_id,user_id
fk_scenuser_users FOREIGN user_id USERS user_id CASCADE
fk_scenuser_scenario FOREIGN scenario_id SCENARIO scenario_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

SETTINGS
Columns
Key Name Type Description Default
PK namespace string(255) Grouping of parameter
PK setting_name string(255) Name of Setting
setting_value string(4000) Actual Value of setting

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 66 of 106

user_id integer User Specific setting


update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_settings_dsi NONUNIQUE delete_session_id,delete_date

Triggers
RT_SETTINGS_DEL OR SQL Server
RT_SETTINGS OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_settings PRIMARY namespace,setting_name

References
Name Type Table Fields Target Fields
[Top]

SHIFT
Columns
Key Name Type Description Default
PK shift_id integer FK to SHIFT table - identifies the shift
shift_name string(60) Name of shift
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_shift_dsi NONUNIQUE delete_session_id,delete_date
ndx_shift_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_SHIFT OR SQL Server
RT_SHIFT_DEL OR SQL Server
RT_SHIFT OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_shift PRIMARY shift_id

References
Name Type Table Fields Target Fields
fk_rsrc_shift FOREIGN RSRC shift_id shift_id
fk_shiftper_shift FOREIGN SHIFTPER shift_id shift_id
[Top]

SHIFTPER
Columns
Key Name Type Description Default
PK shift_period_id integer Unique ID
FK shift_id integer FK to SHIFT table - identifies the shift
shift_start_hr_num double(22,3) Start of shift work period, in hours from beginning of day
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_shiftper_shift NONUNIQUE shift_id
ndx_shiftper_shift_start UNIQUE shift_id,shift_start_hr_num

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 67 of 106

ndx_shiftper_dsi NONUNIQUE delete_session_id,delete_date


ndx_shiftper_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_SHIFTPER OR SQL Server
RT_SHIFTPER_DEL OR SQL Server
RT_SHIFTPER OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_shiftper PRIMARY shift_period_id
fk_shiftper_shift FOREIGN shift_id SHIFT shift_id

References
Name Type Table Fields Target Fields
fk_rsrcrate_shiftper FOREIGN RSRCRATE shift_period_id shift_period_id
[Top]

SPIDMAP
Columns
Key Name Type Description Default
PK spid integer Unique ID
user_id integer FK to USERS
user_name string(255) Identified user name
app_name string(25) Idnetified application name
refrdel_project_bypass integer bypass field
audit_info_extended blob Holder blob for audit information.

Indexes
Name Unique Fields

Triggers
TR_PROTECT_SPIDMAP SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_spidmap PRIMARY spid

References
Name Type Table Fields Target Fields
[Top]

SUMPROJCOST
Columns
Key Name Type Description Default
FK proj_id integer FK to PROJECT table - identifies the project
FK wbs_id integer FK to PROJWBS table - identifies the WBS
FK cost_type_id integer FK to COSTTYPE table - identifies the costtype
start_date date starrt date
end_date date end date
spread_type string(20) spread type
act_cost double(23,6) Actual Cost
remain_cost double(23,6) Remaining Cost
target_cost double(23,6) Target Cost
total_cost double(23,6) Total Cost

Indexes
Name Unique Fields
ndx_sumprojcost_wbs NONUNIQUE wbs_id
ndx_sumprojcost_cost_type NONUNIQUE cost_type_id
ndx_sumprojcost_proj NONUNIQUE proj_id

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
fk_sumprojcost_project FOREIGN proj_id PROJECT proj_id CASCADE
fk_sumprojcost_projwbs FOREIGN wbs_id PROJWBS wbs_id CASCADE
fk_sumprojcost_costtype FOREIGN cost_type_id COSTTYPE cost_type_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 68 of 106

SUMTASK
Columns
Key Name Type Description Default
FK proj_id integer FK to PROJECT table - identifies the project
FK wbs_id integer FK to PROJWBS table - identifies the WBS
bcwp double(22,6) Earned value (total) cost
bcws double(22,6) Planned value (total) cost
eac double(22,6) Estimate At Complete (total cost)
eac_work_qty double(22,6) Estimate At Complete labor units
etc double(22,6) Estimate To Complete (total cost)
etc_work_qty double(22,6) Estimate to complete labor units
perfm_work_qty double(22,6) Earned value labor units
sched_work_qty double(22,6) Planned value labor units
complete_cnt integer Actual completed activities
active_cnt integer Actual in-progress activities
notstarted_cnt integer Actual not-started activities
base_complete_cnt integer Baseline completed activities
base_active_cnt integer Baseline in-progress activities
base_notstarted_cnt integer Baseline not-started activities
act_drtn_hr_cnt double(22,6) Actual duration
total_drtn_hr_cnt double(22,6) At completion duration
base_drtn_hr_cnt double(22,6) Baseline duration
remain_drtn_hr_cnt double(22,6) Remaining duration
total_float_hr_cnt double(22,6) Total float
act_end_date date Actual finish
act_start_date date Actual start
base_end_date date Baseline finish
base_start_date date Baseline start
reend_date date Remaining finish
restart_date date Remaining start
act_this_per_work_cost double(22,6) Actual this period labor cost
act_this_per_work_qty double(22,6) Actual this period labor units
act_this_per_equip_cost double(22,6) Actual this period nonlabor cost
act_this_per_equip_qty double(22,6) Actual this period nonlabor units
act_this_per_mat_cost double(22,6) Actual this period material cost
act_cost double(22,6) Actual cost
act_equip_cost double(22,6) Actual nonlabor cost
act_expense_cost double(22,6) Actual expense cost
act_mat_cost double(22,6) Actual material cost
act_work_cost double(22,6) Actual labor cost
act_equip_qty double(22,6) Actual nonlabor units
act_work_qty double(22,6) Actual labor units
base_cost double(22,6) Baseline cost
base_equip_cost double(22,6) Baseline nonlabor cost
base_expense_cost double(22,6) Baseline expense cost
base_mat_cost double(22,6) Baseline material cost
base_work_cost double(22,6) Baseline labor cost
base_equip_qty double(22,6) Baseline nonlabor units
base_work_qty double(22,6) Baseline labor units
remain_cost double(22,6) Remaining cost
remain_equip_cost double(22,6) Remaining nonlabor cost
remain_expense_cost double(22,6) Remaining expense cost
remain_mat_cost double(22,6) Remaining material cost
remain_work_cost double(22,6) Remaining labor cost
remain_equip_qty double(22,6) Remaining nonlabor units
remain_work_qty double(22,6) Remaining labor units
target_cost double(22,6) Target Cost
target_equip_cost double(22,6) Target NonLabor Cost
target_expense_cost double(22,6) Target Expense Cost
target_mat_cost double(22,6) Target Material Cost
target_work_cost double(22,6) Target Work Cost
target_equip_qty double(22,6) Tarket NonLabor Quantity
target_work_qty double(22,6) Target Labor Quantity
total_cost double(22,6) Total cost
total_equip_cost double(22,6) Total nonlabor cost
total_expense_cost double(22,6) Total expense cost
total_mat_cost double(22,6) Total material cost

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 69 of 106

total_work_cost double(22,6) Total labor cost


total_equip_qty double(22,6) Total nonlabor units
total_work_qty double(22,6) Total labor units
target_start_date date Target start date
target_end_date date Target end date
target_drtn_hr_cnt double(22,6) Target duration

Indexes
Name Unique Fields
ndx_sumtask_proj NONUNIQUE proj_id
ndx_sumtask_wbs NONUNIQUE wbs_id

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
fk_sumtask_project FOREIGN proj_id PROJECT proj_id CASCADE
fk_sumtask_projwbs FOREIGN wbs_id PROJWBS wbs_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

SUMTASKSPREAD
Columns
Key Name Type Description Default
FK proj_id integer FK to PROJECT table - identifies the project
FK wbs_id integer FK to PROJWBS table - identifies the WBS
start_date date Start Date
end_date date End date
spread_type string(20) spread type
act_cost double(22,6) Actual cost
act_equip_cost double(22,6) Actual nonlabor cost
act_expense_cost double(22,6) Actual expense cost
act_mat_cost double(22,6) Actual material cost
act_work_cost double(22,6) Actual labor cost
act_equip_qty double(22,6) Actual nonlabor units
act_work_qty double(22,6) Actual labor units
base_cost double(22,6) Baseline cost
base_equip_cost double(22,6) Baseline nonlabor cost
base_expense_cost double(22,6) Baseline expense cost
base_mat_cost double(22,6) Baseline material cost
base_work_cost double(22,6) Baseline labor cost
base_equip_qty double(22,6) Baseline nonlabor units
base_work_qty double(22,6) Baseline labor units
late_remain_cost double(22,6) Late Remaining Cost
late_remain_equip_cost double(22,6) Late Remaining NonLabor Cost
late_remain_expense_cost double(22,6) Late Remaining Expense Cost
late_remain_mat_cost double(22,6) Late Remaining Material Cost
late_remain_work_cost double(22,6) Late Remaining Work Cost
late_remain_equip_qty double(22,6) Late Remaining NonLabor Quantity
late_remain_work_qty double(22,6) Late Remaining Labor Quantity
remain_cost double(22,6) Remaining cost
remain_equip_cost double(22,6) Remaining nonlabor cost
remain_expense_cost double(22,6) Remaining expense cost
remain_mat_cost double(22,6) Remaining material cost
remain_work_cost double(22,6) Remaining labor cost
remain_equip_qty double(22,6) Remaining nonlabor units
remain_work_qty double(22,6) Remaining labor units
target_cost double(22,6) Target Cost
target_equip_cost double(22,6) Target NonLabor Cost
target_expense_cost double(22,6) Target Expense Cost
target_mat_cost double(22,6) Target Material Cost
target_work_cost double(22,6) Target Work Cost
target_equip_qty double(22,6) Tarket NonLabor Quantity
target_work_qty double(22,6) Target Labor Quantity
total_cost double(22,6) Total cost
total_equip_cost double(22,6) Total nonlabor cost
total_expense_cost double(22,6) Total expense cost
total_mat_cost double(22,6) Total material cost

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 70 of 106

total_work_cost double(22,6) Total labor cost


total_equip_qty double(22,6) Total nonlabor units
total_work_qty double(22,6) Total labor units
bcwp double(22,6) Earned value (total) cost
bcws double(22,6) Planned value (total) cost
eac double(22,6) Estimate At Complete (total cost)
eac_work_qty double(22,6) Estimate At Complete labor units
etc double(22,6) Estimate To Complete (total cost)
etc_work_qty double(22,6) Estimate to complete labor units
perfm_work_qty double(22,6) Earned value labor units
sched_work_qty double(22,6) Planned value labor units
fin_period_act_work_qty double(22,6) Financial period actual labor units
fin_period_act_work_cost double(22,6) Financial period actual labor cost
fin_period_act_equip_qty double(22,6) Financial period actual NonLabor Units
fin_period_act_equip_cost double(22,6) Financial period actual NonLabor cost
fin_period_act_mat_cost double(22,6) Financial period actual material cost
fin_period_act_expense_cost double(22,6) Financial period actual expense cost
fin_period_total_work_qty double(22,6) Financial period total labor units
fin_period_total_work_cost double(22,6) Financial period total labor cost
fin_period_total_equip_qty double(22,6) Financial period total nonlabor units
fin_period_total_equip_cost double(22,6) Financial period total nonlabor cost
fin_period_total_mat_cost double(22,6) Financial period total material cost
fin_period_total_expense_cost double(22,6) Financial period total expense cost
fin_period_total_cost double(22,6) Financial period total cost
fin_period_act_cost double(22,6) Financial period actual cost
fin_period_bcwp double(22,6) Financial period earned value (total) cost
fin_period_perfm_work_qty double(22,6) Financial period earned value labor units
fin_period_eac double(22,6) Financial period estimate at complete (total cost)
fin_period_eac_work_qty double(22,6) Financial period estimate at completion labor units
fin_period_bcws double(22,6) Financial period planned value (total) cost
fin_period_sched_work_qty double(22,6) Financial period planned value labor units

Indexes
Name Unique Fields
ndx_sumtaskspread_proj NONUNIQUE proj_id
ndx_sumtaskspread_wbs NONUNIQUE wbs_id

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
fk_sumtaskspread_project FOREIGN proj_id PROJECT proj_id CASCADE
fk_sumtaskspread_projwbs FOREIGN wbs_id PROJWBS wbs_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

SUMTRSRC
Columns
Key Name Type Description
PK sumtrsrc_id integer Unique ID
FK proj_id integer FK to PROJECT table - identifies the project
FK wbs_id integer FK to PROJWBS table - identifies the WBS
start_date date starrt date
end_date date end date
spread_type string(20) spread type
rsrc_id integer rsrc id
role_id integer role id
act_start_date date Actual start date
act_end_date date actual end date
remain_start_date date target start date
remain_end_date date target end date
overalloc_date date The first date for which the resource's allocation is above the resource's limit. Value is Null when resource is not
staffed_act_qty double(23,6) Actual nonlabor units
unstaffed_act_qty double(23,6) Actual nonlabor units
staffed_act_cost double(23,6) Actual labor cost
unstaffed_act_cost double(23,6) Actual labor cost
staffed_act_ot_qty double(23,6) Actual overtime units
unstaffed_act_ot_qty double(23,6) Actual overtime units

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 71 of 106

staffed_act_ot_cost double(23,6) Actual overtime cost


unstaffed_act_ot_cost double(23,6) Actual overtime cost
staffed_act_reg_cost double(23,6) Actua reg cost
unstaffed_act_reg_cost double(23,6) Actua reg cost
staffed_act_reg_qty double(23,6) Actual reg units
unstaffed_act_reg_qty double(23,6) Actual reg units
staffed_late_remain_qty double(23,6) late remaiinig units
unstaffed_late_remain_qty double(23,6) late remaiinig units
staffed_late_remain_cost double(23,6) late remaining cost
unstaffed_late_remain_cost double(23,6) late remaining cost
staffed_remain_qty double(23,6) remaining units
unstaffed_remain_qty double(23,6) remaining units
staffed_remain_cost double(23,6) remaining cost
unstaffed_remain_cost double(23,6) remaining cost
staffed_target_qty double(23,6) target units
unstaffed_target_qty double(23,6) target units
staffed_target_cost double(23,6) target cost
unstaffed_target_cost double(23,6) target cost
staffed_total_qty double(23,6) total units
unstaffed_total_qty double(23,6) total units
staffed_total_cost double(23,6) total cost
unstaffed_total_cost double(23,6) total cost
fin_period_act_qty double(23,6) Financial period actual units
fin_period_act_cost double(23,6) Financial period actual cost
fin_period_total_qty double(23,6) Financial period total units
fin_period_total_cost double(23,6) Financial period total cost

Indexes
Name Unique Fields
ndx_sumtrsrc_project NONUNIQUE proj_id,spread_type
ndx_sumtrsrc_projwbs NONUNIQUE wbs_id,spread_type
ndx_sumtrsrc_rsrcrole NONUNIQUE rsrc_id,role_id,spread_type
ndx_sumtrsrc_projrsrcrole_id NONUNIQUE proj_id,rsrc_id,role_id

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_sumtrsrc PRIMARY sumtrsrc_id
fk_sumtrsrc_project FOREIGN proj_id PROJECT proj_id CASCADE
fk_sumtrsrc_projwbs FOREIGN wbs_id PROJWBS wbs_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

TASK
Columns
Key Name Type Description
PK task_id integer FK to TASK table - identifies the task
FK proj_id integer FK to PROJECT table - identifies the project
FK wbs_id integer FK to PROJWBS table - identifies the WBS
FK clndr_id integer FK to CALENDAR table - identifies the activity calendar
est_wt double(22,2) Estimation weight, for top-down estimation
phys_complete_pct double(22,2) Physical percent complete for the activity, entered by user. What percent of the physical work product has
rev_fdbk_flag string(1) Indicates whether activity has new feedback from primary resource
lock_plan_flag string(1) Indicates whether activity planned units locked, preventing overwrite by top-down estimation
auto_compute_act_flag string(1) Indicates whether to automatically compute actual units based on activity duration completed
complete_pct_type string(10) Controls how the activity percent complete is computed for the activity - either Duration (based on duratio
task_type string(10) Activity type
duration_type string(12) Activity priority, used in multi-project resource leveling
review_type string(12) Indicates whether project manager must approve the completion of an activity marked proposed complet
status_code string(12) Indicates whether timesheet currently is not started, active, submitted, approved or rejected
task_code string(40) Activity code - unique within a project
task_name string(120) Activity name
FK rsrc_id integer FK to RSRC table - identifies the primary resource
total_float_hr_cnt double(22,6) Total float
free_float_hr_cnt double(22,6) Free float (hours)
remain_drtn_hr_cnt double(22,6) Remaining duration
act_work_qty double(22,6) Actual labor units

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 72 of 106

remain_work_qty double(22,6) Remaining labor units


target_work_qty double(22,6) Planned labor units (hours)
target_drtn_hr_cnt double(22,6) Planned duration (hours)
target_equip_qty double(22,6) Planned non-labor units (hours)
act_equip_qty double(22,6) Actual nonlabor units
remain_equip_qty double(22,6) Remaining nonlabor units
cstr_date date Activity constraint date
act_start_date date Actual start
act_end_date date Actual finish
late_start_date date Late start date
late_end_date date Late finish date
expect_end_date date Expected finish date, from primary resource
early_start_date date Early start date
early_end_date date Early finish date
restart_date date Remaining start
reend_date date Remaining finish
target_start_date date Planned start date
target_end_date date Planned finish date
review_end_date date Activity finish date while activity is proposed complete - when activity is marked completed the review finish date i
rem_late_start_date date Remaining late start date
rem_late_end_date date Remaining late finish date
cstr_type string(12) Activity constraint type
priority_type string(12) Activity priority level
guid string(22) Global unique ID
tmpl_guid string(22) Methodology global unique ID
cstr_date2 date Secondary constraint date
cstr_type2 string(12) Secondary constraint type
float_path integer ID's the float path that each activity is on
float_path_order integer An ordering number for each activity on a float path
act_this_per_work_qty double(22,6) Actual this period labor units
act_this_per_equip_qty double(22,6) Actual this period nonlabor units
driving_path_flag string(1) Indicates if an activity is on the longest path
suspend_date date Date activity was suspended
resume_date date Date activity was resumed
external_early_start_date date Early start date for sharing schedules with Primavera Contractor
external_late_end_date date Late end date for sharing schedules with Primavera Contractor
location_id integer Activity Location
control_updates_flag string(1) Indicates whether the status updates must be approved before commiting changes
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_task_1 NONUNIQUE proj_id
ndx_task_calendar NONUNIQUE clndr_id,delete_session_id
ndx_task_projwbs NONUNIQUE wbs_id
ndx_task_rsrc NONUNIQUE rsrc_id
ndx_task_guid NONUNIQUE guid
ndx_task_proj_rsrc NONUNIQUE proj_id,rsrc_id,delete_session_id
ndx_task_dsi NONUNIQUE delete_session_id,delete_date
ndx_fn_task_code NONUNIQUE task_code

Triggers
PRMAUD_TASK OR SQL Server
RT_TASK_DEL OR SQL Server
RT_TASK OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_task PRIMARY task_id
fk_task_calendar FOREIGN clndr_id CALENDAR clndr_id
fk_task_rsrc FOREIGN rsrc_id RSRC rsrc_id
fk_task_project FOREIGN proj_id PROJECT proj_id
fk_task_projwbs FOREIGN wbs_id PROJWBS wbs_id

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 73 of 106

ck_task_auto_compute_act_flag CHECK auto_compute_act_flag auto_compute_act_flag in ('Y', 'N')


ck_task_rev_fdbk_flag CHECK rev_fdbk_flag rev_fdbk_flag in ('Y', 'N')
ck_task_lock_plan_flag CHECK lock_plan_flag lock_plan_flag in ('Y', 'N')
ck_driving_path_flag CHECK driving_path_flag driving_path_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
fk_discussion_task FOREIGN DISCUSSION task_id task_id
fk_iterdays_task FOREIGN ITERDAYS task_id task_id
fk_projcost_task FOREIGN PROJCOST task_id task_id
fk_projissu_task FOREIGN PROJISSU task_id task_id
fk_taskactv_task FOREIGN TASKACTV task_id task_id
fk_taskdoc_task FOREIGN TASKDOC task_id task_id
fk_taskfdbk_task FOREIGN TASKFDBK task_id task_id
fk_taskfin_task FOREIGN TASKFIN task_id task_id
fk_taskmemo_task FOREIGN TASKMEMO task_id task_id
fk_tasknote_task FOREIGN TASKNOTE task_id task_id
fk_taskpred_task_2 FOREIGN TASKPRED pred_task_id task_id
fk_taskpred_task FOREIGN TASKPRED task_id task_id
fk_taskproc_task FOREIGN TASKPROC task_id task_id
fk_risk_task FOREIGN TASKRISK task_id task_id
fk_taskrsrc_task FOREIGN TASKRSRC task_id task_id
fk_taskuser_task FOREIGN TASKUSER task_id task_id
fk_taskwksp_task FOREIGN TASKWKSP task_id task_id
fk_trsrcfin_task FOREIGN TRSRCFIN task_id task_id
[Top]

TASKACTV
Columns
Key Name Type Description Default
PK,FK task_id integer FK to TASK table - identifies the task
PK,FK actv_code_type_id integer FK to ACTVTYPE table - identifies the activity code type
FK actv_code_id integer FK to ACTVCODE table - identifies the activity code value
FK proj_id integer FK to PROJECT table - identifies the project
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_taskactv_1 NONUNIQUE proj_id
ndx_taskactv_actvcode NONUNIQUE actv_code_id
ndx_taskactv_actvtype NONUNIQUE actv_code_type_id
ndx_taskactv_task NONUNIQUE task_id
ndx_taskactv_proj_actv_code NONUNIQUE proj_id,actv_code_id,delete_session_id
ndx_taskactv_proj_task_actv NONUNIQUE proj_id,task_id,actv_code_type_id,actv_code_id,delete_session_id
ndx_taskactv_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_TASKACTV OR SQL Server
RT_TASKACTV_DEL OR SQL Server
RT_TASKACTV OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_taskactv PRIMARY task_id,actv_code_type_id
fk_taskactv_actvcode FOREIGN actv_code_id ACTVCODE actv_code_id
fk_taskactv_actvtype FOREIGN actv_code_type_id ACTVTYPE actv_code_type_id
fk_taskactv_task FOREIGN task_id TASK task_id
fk_taskactv_project FOREIGN proj_id PROJECT proj_id

References
Name Type Table Fields Target Fields
[Top]

TASKDOC

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 74 of 106

Columns
Key Name Type Description Default
PK taskdoc_id integer Unique ID
FK doc_id integer FK to DOCUMENT table - identifies the document
FK proj_id integer FK to PROJECT table - identifies the project
FK wbs_id integer FK to PROJWBS table - identifies the WBS
wp_flag string(1) Identifies which documents are work products (outputs) for the activity 'N'
FK task_id integer FK to TASK table - identifies the task
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_taskdoc_1 NONUNIQUE proj_id
ndx_taskdoc_document NONUNIQUE doc_id
ndx_taskdoc_projwbs NONUNIQUE wbs_id
ndx_taskdoc_task NONUNIQUE task_id
ndx_taskdoc_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_TASKDOC OR SQL Server
RT_TASKDOC_DEL OR SQL Server
RT_TASKDOC OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_taskdoc PRIMARY taskdoc_id
fk_taskdoc_document FOREIGN doc_id DOCUMENT doc_id
fk_taskdoc_projwbs FOREIGN wbs_id PROJWBS wbs_id
fk_taskdoc_project FOREIGN proj_id PROJECT proj_id
fk_taskdoc_task FOREIGN task_id TASK task_id
ck_taskdoc_wp_flag CHECK wp_flag wp_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
[Top]

TASKFDBK
Columns
Key Name Type Description Default
PK,FK task_id integer FK to TASK table - identifies the task
FK proj_id integer FK to PROJECT table - identifies the project
task_fdbk blob Activity feedback stored as text string
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_taskfdbk_1 NONUNIQUE proj_id
ndx_taskfdbk_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_TASKFDBK OR SQL Server
RT_TASKFDBK_DEL OR SQL Server
RT_TASKFDBK OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_taskfdbk PRIMARY task_id
fk_taskfdbk_project FOREIGN proj_id PROJECT proj_id
fk_taskfdbk_task FOREIGN task_id TASK task_id

References
Name Type Table Fields Target Fields

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 75 of 106

[Top]

TASKFIN
Columns
Key Name Type Description Default
PK,FK fin_dates_id integer FK to FINDATEStable - identifies the financial period
PK,FK task_id integer FK to TASK table - identifies the activity
FK proj_id integer FK to PROJECT table - identifies the project
act_work_qty double(22,6) Actual Labor Quantity
act_work_cost double(22,6) Actual Labor Cost
act_equip_qty double(22,6) Actual non-labor Quantity
act_equip_cost double(22,6) Actual non-labor Cost
act_mat_cost double(22,6) Actual Material Cost
act_expense_cost double(22,6) Actual Expense Cost
bcwp double(22,6) Period earned value cost
sched_work_qty double(22,6) Period planned value labor units
bcws double(22,6) Period planned value cost
perfm_work_qty double(22,6) Period earned value labor units
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_taskfin_project NONUNIQUE proj_id
ndx_taskfin_task NONUNIQUE task_id
ndx_taskfin_findates NONUNIQUE fin_dates_id
ndx_taskfin_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_TASKFIN OR SQL Server
RT_TASKFIN_DEL OR SQL Server
RT_TASKFIN OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_taskfin PRIMARY fin_dates_id,task_id
fk_taskfin_project FOREIGN proj_id PROJECT proj_id CASCADE
fk_taskfin_task FOREIGN task_id TASK task_id CASCADE
fk_taskfin_findates FOREIGN fin_dates_id FINDATES fin_dates_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

TASKMEMO
Columns
Key Name Type Description Default
PK memo_id integer Unique ID
FK task_id integer FK to TASK table - identifies the task
FK memo_type_id integer FK to MEMOTYPE table - identifies the notebook topic
FK proj_id integer FK to PROJECT table - identifies the project
task_memo blob Specification contents stored as text string
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_taskmemo_1 NONUNIQUE proj_id
ndx_taskmemo_memotype NONUNIQUE memo_type_id
ndx_taskmemo_task NONUNIQUE task_id
ndx_taskmemo_dsi NONUNIQUE delete_session_id,delete_date

Triggers

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 76 of 106

PRMAUD_TASKMEMO OR SQL Server


RT_TASKMEMO_DEL OR SQL Server
RT_TASKMEMO OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_taskmemo PRIMARY memo_id
fk_taskmemo_memotype FOREIGN memo_type_id MEMOTYPE memo_type_id
fk_taskmemo_project FOREIGN proj_id PROJECT proj_id
fk_taskmemo_task FOREIGN task_id TASK task_id

References
Name Type Table Fields Target Fields
[Top]

TASKNOTE
Columns
Key Name Type Description Default
PK,FK task_id integer FK to TASK table - identifies the task
FK proj_id integer FK to PROJECT table - identifies the project
task_notes blob Activity notes stored as text string
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_tasknote_1 NONUNIQUE proj_id
ndx_tasknote_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_TASKNOTE OR SQL Server
RT_TASKNOTE_DEL OR SQL Server
RT_TASKNOTE OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_tasknote PRIMARY task_id
fk_tasknote_project FOREIGN proj_id PROJECT proj_id
fk_tasknote_task FOREIGN task_id TASK task_id

References
Name Type Table Fields Target Fields
[Top]

TASKPRED
Columns
Key Name Type Description Default
PK task_pred_id integer Unique ID
FK task_id integer FK to TASK table - identifies the task
FK pred_task_id integer FK to TASK table - identifies the predecessor activity
FK proj_id integer FK to PROJECT table - identifies the project
FK pred_proj_id integer FK to PROJECT table - identifies the predecessor project
pred_type string(12) Dependency type - FS/FF/SS/SF
lag_hr_cnt double(22,6) Time lag of dependency
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_taskpred_1 NONUNIQUE proj_id
ndx_taskpred_pred_proj NONUNIQUE pred_proj_id,proj_id,delete_session_id
ndx_taskpred_task NONUNIQUE task_id
ndx_taskpred_task_2 NONUNIQUE pred_task_id

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 77 of 106

ndx_taskpred_perfc1 NONUNIQUE proj_id, pred_proj_id, task_pred_id, task_id, pred_task_id, pred_type, lag_hr_cnt, delete_session_id
ndx_taskpred_perfc2 NONUNIQUE pred_proj_id,proj_id, task_id, pred_task_id, task_pred_id, pred_type, lag_hr_cnt, delete_session_id
ndx_taskpred_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_TASKPRED OR SQL Server
RT_TASKPRED_DEL OR SQL Server
RT_TASKPRED OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_taskpred PRIMARY task_pred_id
fk_taskpred_project FOREIGN proj_id PROJECT proj_id
fk_taskpred_project_2 FOREIGN pred_proj_id PROJECT proj_id
fk_taskpred_task_2 FOREIGN pred_task_id TASK task_id
fk_taskpred_task FOREIGN task_id TASK task_id

References
Name Type Table Fields Target Fields
[Top]

TASKPROC
Columns
Key Name Type Description Default
PK proc_id integer Unique ID
FK task_id integer FK to TASK table - identifies the task
seq_num integer Sequence number for sorting
FK proj_id integer FK to PROJECT table - identifies the project
complete_flag string(1) Indicates step has been completed 'N'
proc_name string(120) Step name
proc_wt double(22,2) Relative weight or contribution of work on task Step Weight
complete_pct double(22,2) Pct complete for the step, entered by the user
proc_descr blob Step description stored as text string
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_taskproc_1 NONUNIQUE proj_id
ndx_taskproc_task NONUNIQUE task_id
ndx_taskproc_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_TASKPROC OR SQL Server
RT_TASKPROC_DEL OR SQL Server
RT_TASKPROC OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_taskproc PRIMARY proc_id
fk_taskproc_project FOREIGN proj_id PROJECT proj_id
fk_taskproc_task FOREIGN task_id TASK task_id
ck_taskproc_complete_flag CHECK complete_flag complete_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
[Top]

TASKRISK
Columns
Key Name Type Description Default
PK,FK task_id integer FK to TASK table - identifies the activity
PK,FK risk_id integer FK to RISK table - identifies the risk
FK proj_id integer FK to PROJECT table - identifies the project
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 78 of 106

create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_taskrisk_risk NONUNIQUE risk_id
ndx_taskrisk_proj NONUNIQUE proj_id
ndx_taskrisk_task NONUNIQUE task_id

Triggers
RT_TASKRISK OR SQL Server
PRMAUD_TASKRISK OR SQL Server
RT_TASKRISK_DEL OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_risk_task PRIMARY risk_id,task_id
fk_risk_riskid FOREIGN risk_id PROJRISK risk_id
fk_risk_task FOREIGN task_id TASK task_id
fk_taskrisk_project FOREIGN proj_id PROJECT proj_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

TASKRSRC
Columns
Key Name Type Description
PK taskrsrc_id integer Unique ID
FK task_id integer FK to TASK table - identifies the task
FK proj_id integer FK to PROJECT table - identifies the project
rsrc_type string(10) Resource type Labor, Equipment, or Material
cost_qty_link_flag string(1) Indicates whether costs and quantities are linked for this resource assignment
FK role_id integer FK to ROLES table - identifies the role
FK acct_id integer FK to ACCOUNT table - identifies cost account for activity
FK rsrc_id integer FK to RSRC table - identifies the resource
FK pobs_id integer FK to POBS table
skill_level integer Proficiency level
pend_complete_pct double(22,2) Pending percent complete, entered by primary resource
remain_qty double(22,6) Count of units for remaining work (hours)
pend_remain_qty double(22,6) Pending count of units for remaining work (hours)
target_qty double(22,6) Planned units (hours)
remain_qty_per_hr double(22,8) Units per time for remaining work (hours per hour)
pend_act_reg_qty double(22,6) Pending actual regular units, entered by primary resource (hours)
target_lag_drtn_hr_cnt double(22,6) Time lag of activity-resource start date wrt activity start date (hours)
target_qty_per_hr double(22,8) Planned units per time (hours per hour)
act_ot_qty double(22,6) Actual overtime units (hours)
pend_act_ot_qty double(22,6) Pending actual overtime units, entered by primary resource (hours)
act_reg_qty double(22,6) Actual regular units (hours)
relag_drtn_hr_cnt double(22,6) Time lag of remaining work wrt activity start date
ot_factor double(22,3) Multiplier factor to compute overtime price from regular price
cost_per_qty double(22,8) Price per time
target_cost double(22,6) Planned cost
act_reg_cost double(22,6) Actual regular cost
act_ot_cost double(22,6) Actual overtime cost
remain_cost double(22,6) Remaining cost
act_start_date date Actual start
act_end_date date Actual finish
restart_date date Remaining start
reend_date date Remaining finish
target_start_date date Planned start date
target_end_date date Planned finish date
rem_late_start_date date Remaining late start date
rem_late_end_date date Remaining late finish date
guid string(22) Global unique ID
rate_type string(14) Multiple resource rates
act_this_per_cost double(22,6) Actual this period cost (will be labor or non labor)
act_this_per_qty double(22,6) Actual this period units (hours) (will be labor or non labor)
FK curv_id integer FK to RSRCCURV table - identifies curve for assignments

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 79 of 106

rollup_dates_flag string(1) Indicates if the rsource dates should be rolled up to the activity when the resource dates are racalculat
cost_per_qty_source_type string(24) Indicates whether the price/unit used is from the resource or role when both are assigned.
remain_crv string(4000) Stores profile(Manual Curve) for remaining
target_crv string(4000) Stores profile(Manual Curve) for planned
actual_crv string(4000) Stores profile(Manual Curve) for actual
rsrc_request_data blob Resource request criteria (in addition to the primary role)
ts_pend_act_end_flag string(1) Timesheet flag to enable resuorce to mark an assignment as complete
prior_ts_act_reg_qty double(22,6) Stores last period actual regular units for JDE
prior_ts_act_ot_qty double(22,6) Stores last period actual overtime units for JDE
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_taskrsrc_1 NONUNIQUE proj_id
ndx_taskrsrc_account NONUNIQUE acct_id
ndx_taskrsrc_roles NONUNIQUE role_id
ndx_taskrsrc_rsrc NONUNIQUE rsrc_id
ndx_taskrsrc_task NONUNIQUE task_id
ndx_taskrsrc_rsrccurv NONUNIQUE curv_id
ndx_taskrsrc_pobs NONUNIQUE pobs_id
ndx_taskrsrc_proj_rsrc NONUNIQUE proj_id,rsrc_id, delete_session_id
ndx_taskrsrc_proj_role NONUNIQUE proj_id,role_id, delete_session_id
ndx_taskrsrc_proj_acct NONUNIQUE proj_id,acct_id, delete_session_id
ndx_taskrsrc_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_TASKRSRC OR SQL Server
RT_TASKRSRC_DEL OR SQL Server
RT_TASKRSRC OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_taskrsrc PRIMARY taskrsrc_id
fk_taskrsrc_account FOREIGN acct_id ACCOUNT acct_id
fk_taskrsrc_roles FOREIGN role_id ROLES role_id
fk_taskrsrc_rsrc FOREIGN rsrc_id RSRC rsrc_id
fk_taskrsrc_project FOREIGN proj_id PROJECT proj_id
fk_taskrsrc_task FOREIGN task_id TASK task_id
fk_taskrsrc_rsrccurv FOREIGN curv_id RSRCCURV curv_id
fk_taskrsrc_pobs FOREIGN pobs_id POBS pobs_id
ck_taskrsrc_cost_qty_flag CHECK cost_qty_link_flag cost_qty_link_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
fk_rsrchour_taskrsrc FOREIGN RSRCHOUR taskrsrc_id taskrsrc_id
fk_trsrcfin_taskrsrc FOREIGN TRSRCFIN taskrsrc_id taskrsrc_id
[Top]

TASKSUM
Columns
Key Name Type Description Default
PK task_sum_id integer Unique ID
wbs_id integer FK to PROJWBS table - identifies the WBS
proj_id integer FK to PROJECT table - identifies the project
complete_cnt integer Actual completed activities
active_cnt integer Actual in-progress activities
notstarted_cnt integer Actual not-started activities
base_complete_cnt integer Baseline completed activities
base_active_cnt integer Baseline in-progress activities
base_notstarted_cnt integer Baseline not-started activities
act_drtn_hr_cnt double(22,6) Actual duration
act_equip_qty double(22,6) Actual nonlabor units
act_work_qty double(22,6) Actual labor units
total_drtn_hr_cnt double(22,6) At completion duration

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 80 of 106

base_drtn_hr_cnt double(22,6) Baseline duration


base_work_qty double(22,6) Baseline labor units
base_equip_qty double(22,6) Baseline nonlabor units
etc_work_qty double(22,6) Estimate to complete labor units
remain_drtn_hr_cnt double(22,6) Remaining duration
remain_work_qty double(22,6) Remaining labor units
remain_equip_qty double(22,6) Remaining nonlabor units
total_float_hr_cnt double(22,6) Total float
act_expense_cost double(22,6) Actual expense cost
act_work_cost double(22,6) Actual labor cost
act_equip_cost double(22,6) Actual nonlabor cost
base_expense_cost double(22,6) Baseline expense cost
base_work_cost double(22,6) Baseline labor cost
base_equip_cost double(22,6) Baseline nonlabor cost
bcwp double(22,6) Earned value (total) cost
etc double(22,6) Estimate To Complete (total cost)
bcws double(22,6) Planned value (total) cost
remain_expense_cost double(22,6) Remaining expense cost
remain_work_cost double(22,6) Remaining labor cost
remain_equip_cost double(22,6) Remaining nonlabor cost
perfm_work_qty double(22,6) Earned value labor units
sched_work_qty double(22,6) Planned value labor units
act_end_date date Actual finish
act_start_date date Actual start
base_end_date date Baseline finish
base_start_date date Baseline start
reend_date date Remaining finish
restart_date date Remaining start
act_this_per_work_cost double(22,6) Actual this period labor cost
act_this_per_work_qty double(22,6) Actual this period labor units
act_this_per_equip_cost double(22,6) Actual this period nonlabor cost
act_this_per_equip_qty double(22,6) Actual this period nonlabor units
base_mat_cost double(22,6) Baseline material cost
remain_mat_cost double(22,6) Remaining material cost
act_mat_cost double(22,6) Actual material cost
act_this_per_mat_cost double(22,6) Actual this period material cost
spread_data blob Contains the spread data (time bins of cost and units) stored in a memo field
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_tasksum_1 NONUNIQUE proj_id
ndx_tasksum_projwbs NONUNIQUE wbs_id
ndx_tasksum_update_date NONUNIQUE update_date
ndx_tasksum_dsi NONUNIQUE delete_session_id,delete_date
ndx_tasksum_upd NONUNIQUE update_date,delete_session_id
ndx_tasksum_m1 NONUNIQUE task_sum_id, wbs_id, proj_id, complete_cnt, active_cnt, notstarted_cnt, base_complete_cnt, base_active_cnt, base_no
ndx_tasksum_m2 NONUNIQUE task_sum_id, wbs_id, proj_id, bcwp, bcws, remain_expense_cost, remain_work_cost, remain_equip_cost, perfm_work_

Triggers
PRMAUD_TASKSUM OR SQL Server
RT_TASKSUM_DEL OR SQL Server
RT_TASKSUM OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_tasksum PRIMARY task_sum_id

References
Name Type Table Fields Target Fields
[Top]

TASKSUMFIN
Columns
Key Name Type Description Default

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 81 of 106

PK task_sum_fin_id integer Unique ID


fin_dates_id integer FK to FINDATES table - identifies the financial period id
wbs_id integer FK to PROJWBS table - identifies the WBS
proj_id integer FK to PROJECT table - identifies the project
task_sum_id integer FK to TASKSUM table - identifies the task summary id
act_work_qty double(22,6) Actual labor units
act_work_cost double(22,6) Actual labor cost
act_equip_qty double(22,6) Actual nonlabor units
act_equip_cost double(22,6) Actual nonlabor cost
act_mat_cost double(22,6) Actual material cost
act_expense_cost double(22,6) Actual expense cost
total_work_qty double(22,6) Total labor units
total_work_cost double(22,6) Total labor cost
total_equip_qty double(22,6) Total nonlabor units
total_equip_cost double(22,6) Total nonlabor cost
total_mat_cost double(22,6) Total material cost
total_expense_cost double(22,6) Total expense cost
total_cost double(22,6) Total cost
act_cost double(22,6) Actual cost
bcwp double(22,6) Earned value (total) cost
perfm_work_qty double(22,6) Earned value labor units
etc double(22,6) Estimate to Completion (total cost)
etc_work_qty double(22,6) Estimate to Completion labor units
eac double(22,6) Estimate at Completion (total cost)
eac_work double(22,6) Estimate at Completion labor units
bcws double(22,6) Planned value (total) cost
acwp double(22,6) Actual Cost - Earned Value Field
sched_work_qty double(22,6) Planned value labor units
base_cost double(22,6) Baseline cost
base_work_qty double(22,6) Baseline labor units
base_work_cost double(22,6) Baseline labor cost
base_mat_cost double(22,6) Baseline material cost
base_equip_cost double(22,6) Baseline nonlabor cost
base_equip_qty double(22,6) Baseline nonlabor units
base_expense_cost double(22,6) Baseline expense cost
remain_cost double(22,6) Remaining cost
remain_work_qty double(22,6) Remaining labor units
remain_work_cost double(22,6) Remaining labor cost
remain_mat_cost double(22,6) Remaining material cost
remain_equip_cost double(22,6) Remaining nonlabor cost
remain_equip_qty double(22,6) Remaining nonlabor units
remain_expense_cost double(22,6) Remaining expense cost
target_cost double(22,6) Target cost
target_equip_cost double(22,6) Target nonlabor cost
target_equip_qty double(22,6) Target nonlabor units
target_expense_cost double(22,6) Target expense cost
target_mat_cost double(22,6) Target material cost
target_work_cost double(22,6) Target labor cost
target_work_qty double(22,6) Target labor units
late_remain_work_qty double(22,6) Late Remaining labor units
late_remain_work_cost double(22,6) Late Remaining labor cost
late_remain_equip_cost double(22,6) Late Remaining nonlabor cost
late_remain_equip_qty double(22,6) Late Remaining nonlabor units
late_remain_cost double(22,6) Late Remaining cost
late_remain_mat_cost double(22,6) Late Remaining material cost
late_remain_expense_cost double(22,6) Late Remaining expense cost
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_tasksumfin_1 NONUNIQUE proj_id
ndx_tasksumfin_projwbs NONUNIQUE wbs_id
ndx_tasksumfin_findates NONUNIQUE fin_dates_id

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 82 of 106

ndx_tasksumfin_tasksum NONUNIQUE task_sum_id


ndx_tasksumfin_dsi NONUNIQUE delete_session_id,delete_date
ndx_tasksumfin_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_TASKSUMFIN OR SQL Server
RT_TASKSUMFIN_DEL OR SQL Server
RT_TASKSUMFIN OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_tasksumfin PRIMARY task_sum_fin_id

References
Name Type Table Fields Target Fields
[Top]

TASKUSER
Columns
Key Name Type Description Default
PK,FK task_id integer PK and FK to TASK TABLE
PK,FK user_id integer PK,FK to USERS table - identifies user who owns the view
FK proj_id integer PK,FK to USERS table - identifies user who owns the view
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_taskuser_user NONUNIQUE user_id,task_id
ndx_taskuser_project NONUNIQUE proj_id
ndx_taskuser_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_TASKUSER OR SQL Server
RT_TASKUSER OR SQL Server
RT_TASKUSER_DEL OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_taskuser PRIMARY task_id,user_id
fk_taskuser_users FOREIGN user_id USERS user_id CASCADE
fk_taskuser_task FOREIGN task_id TASK task_id CASCADE
fk_taskuser_project FOREIGN proj_id PROJECT proj_id

References
Name Type Table Fields Target Fields
[Top]

TASKWKSP
Columns
Key Name Type Description Default
PK,FK workspace_id integer FK to WORKSPACE table - identifies the workspace
PK,FK task_id integer FK to TASK table - identifies the task
FK proj_id integer FK to PROJECT table - identifies the project
cr_external_key string(4000) Content repository unique key
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_taskwksp_project NONUNIQUE proj_id
ndx_taskwksp_task NONUNIQUE task_id
ndx_taskwksp_dsi NONUNIQUE delete_session_id,delete_date

Triggers

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 83 of 106

PRMAUD_TASKWKSP OR SQL Server


RT_TASKWKSP_DEL OR SQL Server
RT_TASKWKSP OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_taskwksp PRIMARY workspace_id,task_id
fk_taskwksp_workspace FOREIGN workspace_id WORKSPACE workspace_id
fk_taskwksp_task FOREIGN task_id TASK task_id
fk_taskwksp_project FOREIGN proj_id PROJECT proj_id

References
Name Type Table Fields Target Fields
[Top]

TEMPKEYS
Columns
Key Name Type Description Default
pk1 integer temp pk1
pk2 integer temp pk2

Indexes
Name Unique Fields

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition

References
Name Type Table Fields Target Fields
[Top]

THRSPARM
Columns
Key Name Type Description Default
PK thresh_parm_id integer Unique ID
seq_num integer Sequence number for sorting
wbs_flag string(1) Indicates whether to monitor WBSs 'N'
task_flag string(1) Indicates whether to monitor activities 'N'
rsrc_flag string(1) Indicates whether to monitor resources 'N'
thresh_parm_type string(12) Threshold parameter type - duration / money / percent / ratio
thresh_parm_name string(80) Threshold parameter name
thresh_field_name string(40) Threshold parameter internal field name - mapped to virtual table
thresh_short_name string(80) Abbreviation for threshold parameter
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_thrsparm_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_THRSPARM OR SQL Server
RT_THRSPARM_DEL OR SQL Server
RT_THRSPARM OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_thrsparm PRIMARY thresh_parm_id
ck_thrsparm_rsrc_flag CHECK rsrc_flag rsrc_flag in ('Y', 'N')
ck_thrsparm_task_flag CHECK task_flag task_flag in ('Y', 'N')
ck_thrsparm_wbs_flag CHECK wbs_flag wbs_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
fk_projissu_thrsparm FOREIGN PROJISSU thresh_parm_id thresh_parm_id
fk_projthrs_thrsparm FOREIGN PROJTHRS thresh_parm_id thresh_parm_id

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 84 of 106

[Top]

TIMESHT
Columns
Key Name Type Description Default
PK ts_id integer Unique ID
PK rsrc_id integer FK to RSRC table - identifies the resource
daily_flag string(1) Indicates whether timesheet hours entered daily or for entire timesheet reporting period 'Y'
status_code string(20) Indicates whether timesheet currently is not started, active, submitted, approved or rejected
user_id integer FK to USERS table - identifies user who owns the view
last_recv_date date Last date the timesheet was submitted by the user (Remote or Direct ERPS)
status_date date Date of the last change to the status of the timesheet
ts_notes blob Timesheet notes entered by resource and/or timesheet reviewer
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_timesht_1 NONUNIQUE user_id
ndx_timesht_rsrc NONUNIQUE rsrc_id
ndx_timesht_ts_user NONUNIQUE ts_id,user_id
ndx_timesht_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_TIMESHT OR SQL Server
RT_TIMESHT_DEL OR SQL Server
RT_TIMESHT OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_timesht PRIMARY ts_id,rsrc_id
ck_timesht_daily_flag CHECK daily_flag daily_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
fk_rsrchour_timesht FOREIGN RSRCHOUR ts_id,rsrc_id ts_id,rsrc_id
[Top]

TMPLCATG
Columns
Key Name Type Description Default
PK tmplcatg_catg_id integer Unique ID
catg_name string(255) Name of the template category
project_flag string(1) Is this a project template?
process_flag string(1) Is this a process template?
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_tmplcatg_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_TMPLCATG OR SQL Server
RT_TMPLCATG_DEL OR SQL Server
RT_TMPLCATG OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_tmplcatg PRIMARY tmplcatg_catg_id

References
Name Type Table Fields Target Fields
fk_wkfltmpl_tmplcatg FOREIGN WKFLTMPL tmplcatg_catg_id tmplcatg_catg_id

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 85 of 106

[Top]

TPROJMAP
Columns
Key Name Type Description Default
session_id integer from Usession
context_id integer new
source_proj_id integer from Projwbs table
target_proj_id integer from Projwbs table
target_wbs_id integer from Projwbs table

Indexes
Name Unique Fields

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition

References
Name Type Table Fields Target Fields
[Top]

TRAKVIEW
Columns
Key Name Type Description Default
PK track_view_id integer Unique ID
display_type string(12) Display type - grid / bar / gantt / time / resource-usage
track_view_name string(80) Tracking view name
web_view_flag string(1) Indicates whether this tracking view is for publishing onto project website 'N'
FK user_id integer FK to USERS table - identifies user who owns the view
track_view_data blob Tracking view parameter settings stored as text string
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_trakview_1 NONUNIQUE user_id
ndx_trakview_dsi NONUNIQUE delete_session_id,delete_date
ndx_trakview_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_TRAKVIEW OR SQL Server
RT_TRAKVIEW_DEL OR SQL Server
RT_TRAKVIEW OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_trakview PRIMARY track_view_id
fk_trakview_users FOREIGN user_id USERS user_id
ck_trakview_web_view_flag CHECK web_view_flag web_view_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
fk_projissu_trakview FOREIGN PROJISSU track_view_id track_view_id
fk_projthrs_trakview FOREIGN PROJTHRS track_view_id track_view_id
[Top]

TRSRCFIN
Columns
Key Name Type Description Default
PK,FK fin_dates_id integer FK to FINDATEStable - identifies the financial period
PK,FK taskrsrc_id integer FK to TASKRSRC table - identifies the activity resource
FK task_id integer FK to TASK table - identifies the activity
FK proj_id integer FK to PROJECT table - identifies the project
act_qty double(22,6) Actual Labor Quantity
act_cost double(22,6) Actual Labor Cost
update_date date Refresh audit field of last date updated. Trigger maintained.

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 86 of 106

update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_trsrcfin_project NONUNIQUE proj_id
ndx_trsrcfin_task NONUNIQUE task_id
ndx_trsrcfin_taskrsrc NONUNIQUE taskrsrc_id
ndx_trsrcfin_findates NONUNIQUE fin_dates_id
ndx_trsrcfin_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_TRSRCFIN OR SQL Server
RT_TRSRCFIN_DEL OR SQL Server
RT_TRSRCFIN OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_trsrcfin PRIMARY fin_dates_id,taskrsrc_id
fk_trsrcfin_project FOREIGN proj_id PROJECT proj_id
fk_trsrcfin_task FOREIGN task_id TASK task_id
fk_trsrcfin_taskrsrc FOREIGN taskrsrc_id TASKRSRC taskrsrc_id
fk_trsrcfin_findates FOREIGN fin_dates_id FINDATES fin_dates_id

References
Name Type Table Fields Target Fields
[Top]

TRSRCSUM
Columns
Key Name Type Description
PK taskrsrc_sum_id integer Unique ID
proj_id integer FK to PROJECT table - identifies the project
rsrc_id integer FK to RSRC table - identifies the resource
role_id integer FK to ROLES table - identifies the role
skill_level integer Proficiency level
overalloc_date date The first date for which the resource's allocation is above the resource's limit. Value is Null when resource is not overallocat
spread_data blob Contains the spread data (time bins of cost and units) stored in a memo field
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_trsrcsum_1 NONUNIQUE proj_id,rsrc_id
ndx_trsrcsum_roles NONUNIQUE role_id
ndx_trsrcsum_rsrc NONUNIQUE rsrc_id
ndx_trsrcsum_update_date NONUNIQUE update_date
ndx_trsrcsum_dsi NONUNIQUE delete_session_id,delete_date
ndx_trsrcsum_upd NONUNIQUE update_date,delete_session_id
ndx_trsrcsum_role_dialog NONUNIQUE proj_id,taskrsrc_sum_id,rsrc_id,role_id,skill_level,overalloc_date,delete_session_id

Triggers
PRMAUD_TRSRCSUM OR SQL Server
RT_TRSRCSUM_DEL OR SQL Server
RT_TRSRCSUM OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_trsrcsum PRIMARY taskrsrc_sum_id

References
Name Type Table Fields Target Fields
[Top]

TRSRCSUMFN

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 87 of 106

Columns
Key Name Type Description Default
PK trsrc_sum_fin_id integer Unique ID
fin_dates_id integer FK to FINDATES table - identifies the project
proj_id integer FK to PROJECT table - identifies the project
rsrc_id integer FK to RSRC table - identifies the resource
role_id integer FK to ROLES table - identifies the role
taskrsrc_sum_id integer FK to TASKSUM table - identifies the task summary id
act_qty double(22,6) Actual Labor Quantity
act_cost double(22,6) Actual Labor Cost
act_ot_qty double(22,6) Actual Labor OT Quantity
act_reg_qty double(22,6) Actual Labor Reg Quantity
act_ot_cost double(22,6) Actual Labor OT Cost
act_reg_cost double(22,6) Actual Labor Reg Cost
total_qty double(22,6) Total labor quantity
total_cost double(22,6) Total cost
remain_qty double(22,6) Remaining quantity
remain_cost double(22,6) Remaining cost
target_qty double(22,6) Planned units (hours)
target_cost double(22,6) Target cost
staffed_remain_qty double(22,6) Staffed remaining quantity
unstaffed_remain_qty double(22,6) Unstaffed remaining quantity
staffed_remain_cost double(22,6) Staffed remaining cost
unstaffed_remain_cost double(22,6) Unstaffed remaining cost
staffed_late_remain_qty double(22,6) Staffed late remaining quantity
unstaffed_late_remain_qty double(22,6) Unstaffed late remaining quantity
staffed_late_remain_cost double(22,6) Staffed late remaning cost
unstaffed_late_remain_cost double(22,6) Unstaffed late remaining cost
late_remain_qty double(22,6) Late remaining quantity
late_remain_cost double(22,6) Late remaining cost
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_trsrcsumfn_1 NONUNIQUE fin_dates_id
ndx_trsrcsumfn_project NONUNIQUE proj_id
ndx_trsrcsumfn_roles NONUNIQUE role_id
ndx_trsrcsumfn_rsrc NONUNIQUE rsrc_id
ndx_trsrcsumfn_trsrcsum NONUNIQUE taskrsrc_sum_id
ndx_trsrcsumfn_dsi NONUNIQUE delete_session_id,delete_date
ndx_trsrcsumfn_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_TRSRCSUMFN OR SQL Server
RT_TRSRCSUMFN_DEL OR SQL Server
RT_TRSRCSUMFN OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_trsrcsumfn PRIMARY trsrc_sum_fin_id

References
Name Type Table Fields Target Fields
[Top]

TSAUDIT
Columns
Key Name Type Description Default
PK ts_audit_id integer Unique ID
audit_date date Timestamp for this audit record
rsrc_id integer FK to RSRC table - identifies the resource
rsrc_short_name string(255) Resource code
rsrc_name string(255) Resource name
ts_status_code string(20) Indicates whether timesheet currently is not started, active, submitted, approved or rejected
reg_hrs double(22,6) Hours

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 88 of 106

reg_ot_hrs double(22,6) Remaining overtime duration


pend_reg_hrs double(22,6) Pending hours
pend_reg_ot_hrs double(22,6) Pending overtime hours
oh_hrs double(22,6) Overtime hours
oh_ot_hrs double(22,6) Overhead overtime hours
pend_oh_hrs double(22,6) Pending overhead hours
pend_oh_ot_hrs double(22,6) Pending oerhead overtime hours
ts_id integer Unique ID
ts_start_date date Start of time period
ts_end_date date Timesheet period finish date
proj_id integer FK to PROJECT table - identifies the project
proj_short_name string(40) Project code
ts_task_status string(20) Task Status
user_id integer FK to USERS table - identifies user who owns the view
user_name string(255) Login name for user
approving_as string(50) Role approving

Indexes
Name Unique Fields
ndx_tsaudit_audit_date NONUNIQUE audit_date

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_tsaudit PRIMARY ts_audit_id

References
Name Type Table Fields Target Fields
[Top]

TSDATES
Columns
Key Name Type Description Default
PK ts_id integer Unique ID
start_date date Start of time period
end_date date Timesheet period finish date
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_tsdates_dsi NONUNIQUE delete_session_id,delete_date
ndx_tsdates_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_TSDATES OR SQL Server
RT_TSDATES_DEL OR SQL Server
RT_TSDATES OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_tsdates PRIMARY ts_id

References
Name Type Table Fields Target Fields
[Top]

TSDELEGATE
Columns
Key Name Type Description Default
PK ts_delegate_id integer Unique ID
FK user_id integer Approval user id also FK to USERS
FK ts_delegate_user_id integer Delegate user id also FK to users
FK proj_id integer FK to PROJECT
active_flag string(1) Flag 'N'
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 89 of 106

create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_tsdelegate_1 NONUNIQUE proj_id
ndx_tsdelegate_users1 NONUNIQUE user_id
ndx_tsdelegate_users2 NONUNIQUE ts_delegate_user_id

Triggers
PRMAUD_TSDELEGATE OR SQL Server
RT_TSDELEGATE_DEL OR SQL Server
RT_TSDELEGATE OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_tsdelegate PRIMARY ts_delegate_id
fk_tsdelegate_users FOREIGN user_id USERS user_id
fk_tsdelegate_users2 FOREIGN ts_delegate_user_id USERS user_id
fk_tsdelegate_project FOREIGN proj_id PROJECT proj_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

UACCESS
Columns
Key Name Type Description Default
PK,FK user_id integer FK to USERS table - identifies user who owns the view
PK proj_id integer FK to PROJECT table - identifies the project
access_flag string(1) Extended flag for full hierarchy entries 'Y'
wbs_id integer FK to PROJWBS
parent_wbs_id integer FK to PROJWBS table - identifies parent in WBS hierarchy

Indexes
Name Unique Fields
ndx_uaccess_project NONUNIQUE proj_id
ndx_uaccess_user_wbs NONUNIQUE user_id,wbs_id
ndx_uaccess_user_parent NONUNIQUE user_id,parent_wbs_id

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_uaccess PRIMARY user_id,proj_id
fk_uaccess_users FOREIGN user_id USERS user_id

References
Name Type Table Fields Target Fields
[Top]

UDFCODE
Columns
Key Name Type Description Default
PK udf_code_id integer Unique identifier
FK udf_type_id integer FK to UDFTYPE
seq_num integer Order of values
short_name string(60) Code Value
udf_code_name string(120) Description of code
parent_udf_code_id integer Parent for Hierarchical codes
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_udfcode_udf_type_id NONUNIQUE udf_type_id
ndx_udfcode_dsi NONUNIQUE delete_session_id,delete_date

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 90 of 106

ndx_udfcode_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_UDFCODE OR SQL Server
RT_UDFCODE_DEL OR SQL Server
RT_UDFCODE OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_udfcode PRIMARY udf_code_id
fk_udfcode_udftype FOREIGN udf_type_id UDFTYPE udf_type_id CASCADE

References
Name Type Table Fields Target Fields
fk_udfvalue_udfcode FOREIGN UDFVALUE udf_code_id udf_code_id
[Top]

UDFTYPE
Columns
Key Name Type Description Default
PK udf_type_id integer Unique identifier
table_name string(30) Name of database table where column resides
udf_type_name string(32) User defined field name
udf_type_label string(40) Label for column
logical_data_type string(20) User defined label
super_flag string(1) Super Code Flag 'N'
udf_code_short_len integer Max Length of Code Values
formula string(4000) Formula for Calculated field for UDF
indicator_expression string(4000) Indicator expression for Calculated UDF
disp_data_flag string(1) Display Data Value Flag 'Y'
disp_indicator_flag string(1) Display Indicator Flag 'Y'
summary_indicator_expression string(4000) Summary Indicator expression for Calculated field UDF
summary_method string(20) Calculation for Summary Rows for Calculated field for UDF
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_udftype_table_name NONUNIQUE table_name
ndx_udftype_dsi NONUNIQUE delete_session_id,delete_date
ndx_udftype_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_UDFTYPE OR SQL Server
RT_UDFTYPE_DEL OR SQL Server
RT_UDFTYPE OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_udftype PRIMARY udf_type_id

References
Name Type Table Fields Target Fields
fk_udfcode_udftype FOREIGN UDFCODE udf_type_id udf_type_id
fk_udfvalue_udftype FOREIGN UDFVALUE udf_type_id udf_type_id
[Top]

UDFVALUE
Columns
Key Name Type Description Default
PK,FK udf_type_id integer FK to UDFTYPE Table
PK fk_id integer Generic foreign key to appropriate table. No constrained
FK proj_id integer FK to PROJECT table (if appropriate) for performance
udf_date date Date value
udf_text string(255) String value
udf_number number Generic numeric value
FK udf_code_id integer FK to UDFCODE (if a Code Type)

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 91 of 106

table_name string(30) Name of database table where column resides


update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_udfvalue_project NONUNIQUE proj_id
ndx_udfvalue_fk NONUNIQUE fk_id
ndx_udfvalue_update_date1 NONUNIQUE update_date
ndx_udfvalue_udfcode NONUNIQUE udf_code_id
ndx_udfvalue_dsi NONUNIQUE delete_session_id,delete_date
ndx_udfvalue_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_UDFVALUE OR SQL Server
RT_UDFVALUE_DEL OR SQL Server
RT_UDFVALUE OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_udfvalue PRIMARY udf_type_id,fk_id
fk_udfvalue_project FOREIGN proj_id PROJECT proj_id CASCADE
fk_udfvalue_udftype FOREIGN udf_type_id UDFTYPE udf_type_id
fk_udfvalue_udfcode FOREIGN udf_code_id UDFCODE udf_code_id

References
Name Type Table Fields Target Fields
[Top]

UEVNTREG
Columns
Key Name Type Description Default
PK,FK user_id integer user id
PK app_name string(255) Application Name
PK operation_name string(255) Function Being Performed
PK action_name string(255) Action Primavera_event can perform
action_level integer Level which action is performed
user_name string(255) De-normalize user_name to avoid join
event_reg_data string(4000) Addtl data needed to process event

Indexes
Name Unique Fields
ndx_uevntreg_users NONUNIQUE user_id
ndx_uevntreg_user_name NONUNIQUE user_name

Triggers

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_uevntreg PRIMARY user_id,app_name,operation_name,action_name
fk_uevntreg_users FOREIGN user_id USERS user_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

UMEASURE
Columns
Key Name Type Description Default
PK unit_id integer Unique ID
seq_num integer Sequence Number
unit_name string(100) Unit Name
unit_abbrev string(16) Unit abbreviation
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 92 of 106

delete_session_id integer Deleted by session id. Client maintained.


delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_umeasure_dsi NONUNIQUE delete_session_id,delete_date
ndx_umeasure_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_UMEASURE OR SQL Server
RT_UMEASURE_DEL OR SQL Server
RT_UMEASURE OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_umeasure PRIMARY unit_id

References
Name Type Table Fields Target Fields
fk_rsrc_umeasure FOREIGN RSRC unit_id unit_id
[Top]

UPKLIST
Columns
Key Name Type Description Default
FK session_id integer Unique ID
context_id integer App. ID
pk_id integer key from table accessed by user
pk2_id integer key from table accessed by user with multi-part keys

Indexes
Name Unique Fields
ndx_upklist_session_pk NONUNIQUE session_id,pk_id

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
fk_upklist_usession FOREIGN session_id USESSION session_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

USERCOL
Columns
Key Name Type Description Default
PK user_col_id integer Unique identifier
table_name string(16) Name of database table where column resides
logical_data_type string(20) Logical data type for column
user_col_name string(32) Name of column
user_col_label string(40) Label for column
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_usercol_dsi NONUNIQUE delete_session_id,delete_date
ndx_usercol_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_USERCOL OR SQL Server
RT_USERCOL_DEL OR SQL Server
RT_USERCOL OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_usercol PRIMARY user_col_id

References

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 93 of 106

Name Type Table Fields Target


Fields
[Top]

USERDATA
Columns
Key Name Type Description Default
PK user_data_id integer Unique ID
FK user_id integer FK to USERS table - identifies user who owns the view
topic_name string(20) Topic for user data. Combination of user_id and topic_name unique.
user_data blob User settings/preferences for this topic
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_userdata_1 NONUNIQUE user_id
ndx_userdata_dsi NONUNIQUE delete_session_id,delete_date
ndx_userdata_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_USERDATA OR SQL Server
RT_USERDATA_DEL OR SQL Server
RT_USERDATA OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_userdata PRIMARY user_data_id
fk_userdata_users FOREIGN user_id USERS user_id

References
Name Type Table Fields Target Fields
[Top]

USERENG
Columns
Key Name Type Description
PK user_eng_id integer Unique ID
FK user_id integer FK to USERS table - identifies user who owns the view
db_engine_type string(20) Database engine type (concatenated with the application suite type): ie, P3e_PM / TP_PM / TP_MM, etc. This is a st
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_usereng_users NONUNIQUE user_id
ndx_usereng_dsi NONUNIQUE delete_session_id,delete_date
ndx_usereng_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_USERENG OR SQL Server
RT_USERENG_DEL OR SQL Server
RT_USERENG OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_usereng PRIMARY user_eng_id
fk_usereng_users FOREIGN user_id USERS user_id

References
Name Type Table Fields Target Fields
[Top]

USEROBS

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 94 of 106

Columns
Key Name Type Description Default
PK,FK user_id integer FK to USERS table - identifies user who owns the view
PK,FK obs_id integer FK to OBS table - identifies the OBS within the project
FK prof_id integer FK to PROFILE table - identifies global security profile for the user
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_userobs_obs NONUNIQUE obs_id
ndx_userobs_profile NONUNIQUE prof_id
ndx_userobs_dsi NONUNIQUE delete_session_id,delete_date
ndx_userobs_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_USEROBS OR SQL Server
RT_USEROBS_DEL OR SQL Server
RT_USEROBS OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_userobs PRIMARY user_id,obs_id
fk_userobs_obs FOREIGN obs_id OBS obs_id
fk_userobs_users FOREIGN user_id USERS user_id
fk_userobs_profile FOREIGN prof_id PROFILE prof_id

References
Name Type Table Fields Target Fields
[Top]

USEROPEN
Columns
Key Name Type Description Default
PK user_open_id integer Unique ID
user_open_name string(255) Name of this set to open that is unique for each user.
FK user_id integer FK to USERS table - identifies user who owns the view
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_useropen_users UNIQUE user_id,user_open_name,delete_session_id
ndx_useropen_dsi NONUNIQUE delete_session_id,delete_date
ndx_useropen_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_USEROPEN OR SQL Server
RT_USEROPEN_DEL OR SQL Server
RT_USEROPEN OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_useropen PRIMARY user_open_id
fk_useropen_users FOREIGN user_id USERS user_id CASCADE

References
Name Type Table Fields Target Fields
fk_usropnval_useropen FOREIGN USROPNVAL user_open_id user_open_id
[Top]

USERS
Columns
Key Name Type Description Default

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 95 of 106

PK user_id integer FK to USERS table - identifies user who owns the view
global_flag string(1) Identifies users who are also entered in the master consolidation database 'N'
email_type string(16) Email type for user - Internet or MAPI 'ET_Internet'
user_name string(255) Login name for user
FK prof_id integer FK to PROFILE table - identifies global security profile for the user
FK curr_id integer FK to CURRTYPE table - identifies the user's view currency 1
all_rsrc_access_flag string(1) Does user have access to all resources. 'N'
report_user_flag string(1) Does the user have access to Enterprise Reporting Database 'N'
guid string(22) Global unique ID
email_srv_user_name string(32) Email server login name
office_phone string(32) User's office phone number
actual_name string(255) Personal name of user
email_send_server string(120) Outgoing email server
email_addr string(120) Return email address
email_srv_passwd string(255) Email server login password
passwd string(255) Login password for user
notify_prefs string(255) String of notification preferences
navi_view_id integer FK to NAVIVIEW table
override_naviview_flag string(1) Does the user have the ability to override their navigation view in MyPrimavera.
ui_view_pref_id integer FK to VIEWPREF table-unconstrained
cr_external_key string(4000) Content repository key
cr_user_name string(255) repository user name
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.
failed_login_attempts_cnt integer Count of failed login attempts 0

Indexes
Name Unique Fields
ndx_users_profile NONUNIQUE prof_id
ndx_users_dsi NONUNIQUE delete_session_id,delete_date
ndx_users_upd NONUNIQUE update_date,delete_session_id
ndx_users_curr NONUNIQUE curr_id

Triggers
TR_USERS_TSDELEGATE OR SQL Server
PRMAUD_USERS OR SQL Server
RT_USERS_DEL OR SQL Server
RT_USERS OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_users PRIMARY user_id
fk_users_currtype FOREIGN curr_id CURRTYPE curr_id
fk_users_profile FOREIGN prof_id PROFILE prof_id
ck_users_global_flag CHECK global_flag global_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
fk_dashboard_users FOREIGN DASHBOARD user_id user_id
fk_dashuser_users FOREIGN DASHUSER user_id user_id
fk_discussion_read_users FOREIGN DISCUSSION_READ user_id user_id
fk_docreview_users FOREIGN DOCREVIEW user_id user_id
fk_docreviewtask_users FOREIGN DOCREVIEWTASK user_id user_id
fk_filtprop_users FOREIGN FILTPROP user_id user_id
fk_gchange_user FOREIGN GCHANGE user_id user_id
fk_jobsvc_users FOREIGN JOBSVC user_id user_id
fk_pcatuser_user FOREIGN PCATUSER user_id user_id
fk_pfolio_users FOREIGN PFOLIO user_id user_id
fk_prefer_users FOREIGN PREFER ts_approve_user_id user_id
fk_project_users FOREIGN PROJECT checkout_user_id user_id
fk_rfolio_users FOREIGN RFOLIO user_id user_id
fk_rlfolio_user FOREIGN RLFOLIO user_id user_id
fk_rpt_users FOREIGN RPT user_id user_id
fk_rsrc_users FOREIGN RSRC user_id user_id
fk_rsrcanview_users FOREIGN RSRCANVIEW user_id user_id
fk_rsrcsec_users FOREIGN RSRCSEC user_id user_id

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 96 of 106

fk_scenario_users FOREIGN SCENARIO user_id user_id


fk_scenuser_users FOREIGN SCENUSER user_id user_id
fk_taskuser_users FOREIGN TASKUSER user_id user_id
fk_trakview_users FOREIGN TRAKVIEW user_id user_id
fk_tsdelegate_users FOREIGN TSDELEGATE user_id user_id
fk_tsdelegate_users2 FOREIGN TSDELEGATE ts_delegate_user_id user_id
fk_uaccess_users FOREIGN UACCESS user_id user_id
fk_uevntreg_users FOREIGN UEVNTREG user_id user_id
fk_userdata_users FOREIGN USERDATA user_id user_id
fk_usereng_users FOREIGN USERENG user_id user_id
fk_userobs_users FOREIGN USEROBS user_id user_id
fk_useropen_users FOREIGN USEROPEN user_id user_id
fk_userset_users FOREIGN USERSET user_id user_id
fk_userwksp_users FOREIGN USERWKSP user_id user_id
fk_usession_users FOREIGN USESSION user_id user_id
fk_viewpref_users FOREIGN VIEWPREF user_id user_id
fk_viewprop_users FOREIGN VIEWPROP user_id user_id
fk_vwprefuser_users FOREIGN VWPREFUSER user_id user_id
ndx_wkfluser_users FOREIGN WKFLUSER user_id user_id
fk_workflow_users FOREIGN WORKFLOW user_id user_id
[Top]

USERSET
Columns
Key Name Type Description Default
PK namespace string(255) Grouping of parameter
PK setting_name string(255) Name of Setting
setting_value string(4000) Actual Value of setting
PK,FK user_id integer User Specific setting
userset_blob blob store data whose value exceeds 4000 char
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_userset_dsi NONUNIQUE delete_session_id,delete_date
ndx_userset_user NONUNIQUE user_id

Triggers
RT_USERSET_DEL OR SQL Server
RT_USERSET OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_userset PRIMARY namespace,setting_name,user_id
fk_userset_users FOREIGN user_id USERS user_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

USERWKSP
Columns
Key Name Type Description Default
PK,FK user_id integer Unique ID
PK,FK workspace_id integer FK to Workspace table
FK proj_id integer FK to Project table
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 97 of 106

ndx_userwksp_project NONUNIQUE proj_id


ndx_userwksp_workspace NONUNIQUE workspace_id
ndx_userwksp_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_USERWKSP OR SQL Server
RT_USERWKSP_DEL OR SQL Server
RT_USERWKSP OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_userwksp PRIMARY user_id,workspace_id
fk_userwksp_users FOREIGN user_id USERS user_id
fk_userwksp_workspace FOREIGN workspace_id WORKSPACE workspace_id
fk_userwksp_project FOREIGN proj_id PROJECT proj_id

References
Name Type Table Fields Target Fields
[Top]

USESSAUD
Columns
Key Name Type Description
session_id integer Unique ID
login_date date The time the application logged in
logout_date date Last active time of the application
last_active_time date Last active time of the application
user_name string(255) Computer host name
user_id integer User being audited
host_name string(50) The name of the application logged in
app_name string(25) The name of the application logged in
hard_drive_code string(40) Computer hard drive identifier code
db_engine_type string(20) Database engine type (concatenated with the application suite type): ie, P3e_PM / TP_PM / TP_MM, etc. This is a static type
os_user_name string(255) Operating system login name for user

Indexes
Name Unique Fields
ndx_usessaud_logout_date NONUNIQUE logout_date

Triggers

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition

References
Name Type Table Fields Target Fields
[Top]

USESSION
Columns
Key Name Type Description
PK session_id integer Unique ID
login_time date The time the application logged in
last_active_time date Last active time of the application
host_name string(50) Computer host name
FK user_id integer FK to USERS table - identifies user who owns the view
process_num integer Process number for the application running on the host computer
app_name string(25) The name of the application logged in
hard_drive_code string(40) Computer hard drive identifier code
db_engine_type string(20) Database engine type (concatenated with the application suite type): ie, P3e_PM / TP_PM / TP_MM, etc. This is a static
os_user_name string(255) Operating system login name for user
vdb_instance_guid string(22) Tracks a VDB engine instance; when going multiuser, if an engine is destroyed, it can quickly free all these rows with one
spid integer RDBMS session id to match database session with primavera session
operation_name string(255) operation name to track heavy hitter events to avoid being deleted by usession cleanup
operation_start_date date operation start date
long_operation_flag string(1) operation flag
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 98 of 106

delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_usession_users NONUNIQUE user_id
ndx_usession_spid NONUNIQUE spid,user_id,delete_session_id
ndx_ussesion_dsi NONUNIQUE delete_session_id,delete_date

Triggers
RT_USESSION OR SQL Server
TR_USESSION_LOGOFF OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_usession PRIMARY session_id
fk_usession_users FOREIGN user_id USERS user_id

References
Name Type Table Fields Target Fields
fk_hqdata_usession FOREIGN HQDATA session_id session_id
fk_hquery_usession FOREIGN HQUERY session_id session_id
fk_projshar_usession FOREIGN PROJSHAR session_id session_id
fk_upklist_usession FOREIGN UPKLIST session_id session_id
[Top]

USROPNVAL
Columns
Key Name Type Description Default
PK,FK user_open_id integer FK to USEROPEN
PK pk_id integer FK to related open tables based on type
PK usropn_type string(20) Type of related table
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_usropnval_user_open_id NONUNIQUE user_open_id
ndx_usropnval_dsi NONUNIQUE delete_session_id,delete_date
ndx_usropnval_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_USROPNVAL OR SQL Server
RT_USROPNVAL_DEL OR SQL Server
RT_USROPNVAL OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_usropnval PRIMARY user_open_id,pk_id,usropn_type
fk_usropnval_useropen FOREIGN user_open_id USEROPEN user_open_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

VIEWPREF
Columns
Key Name Type Description Default
PK view_pref_id integer Unique ID
view_pref_name string(255) View name
view_pref_type string(20) Type of view
FK user_id integer FK to USERS table - identifies user who owns the view
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 99 of 106

Indexes
Name Unique Fields
ndx_viewpref_user NONUNIQUE user_id
ndx_viewpref_type NONUNIQUE view_pref_type,user_id
ndx_viewpref_dsi NONUNIQUE delete_session_id,delete_date
ndx_viewpref_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_VIEWPREF OR SQL Server
RT_VIEWPREF_DEL OR SQL Server
RT_VIEWPREF OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_viewpref PRIMARY view_pref_id
fk_viewpref_users FOREIGN user_id USERS user_id CASCADE

References
Name Type Table Fields Target Fields
fk_scenario_viewpref FOREIGN SCENARIO view_pref_id view_pref_id
fk_vwprefdash_viewpref FOREIGN VWPREFDASH view_pref_id view_pref_id
fk_vwprefdata_viewpref FOREIGN VWPREFDATA view_pref_id view_pref_id
fk_vwprefuser_viewpref FOREIGN VWPREFUSER view_pref_id view_pref_id
[Top]

VIEWPROP
Columns
Key Name Type Description Default
PK view_id integer Unique ID
view_name string(40) View name
FK user_id integer FK to USERS table - identifies user who owns the view
FK proj_id integer FK to PROJECT table
view_type string(20) Type of view
view_data blob View parameter values stored as text string
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_viewprop_1 NONUNIQUE user_id
ndx_viewprop_project NONUNIQUE proj_id
ndx_viewprop_dsi NONUNIQUE delete_session_id,delete_date
ndx_viewprop_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_VIEWPROP OR SQL Server
RT_VIEWPROP_DEL OR SQL Server
RT_VIEWPROP OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_viewprop PRIMARY view_id
fk_viewprop_users FOREIGN user_id USERS user_id
fk_viewprop_project FOREIGN proj_id PROJECT proj_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

VWPREFDASH
Columns
Key Name Type Description Default
PK,FK dashboard_id integer PK and FK to DASHBOARD TABLE
PK,FK view_pref_id integer PK,FK to VIEWPREF table
seq_num integer Sequence Number
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 100 of 106

create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_vwprefdash_viewpref NONUNIQUE view_pref_id,dashboard_id
ndx_vwprefdash_dsi NONUNIQUE delete_session_id,delete_date
ndx_vwprefdash_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_VWPREFDASH OR SQL Server
RT_VWPREFDASH OR SQL Server
RT_VWPREFDASH_DEL OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_vwprefdash PRIMARY dashboard_id,view_pref_id
fk_vwprefdash_dashboard FOREIGN dashboard_id DASHBOARD dashboard_id CASCADE
fk_vwprefdash_viewpref FOREIGN view_pref_id VIEWPREF view_pref_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

VWPREFDATA
Columns
Key Name Type Description Default
PK,FK view_pref_id integer Unique ID
PK view_pref_key string(255) Key name
view_pref_value string(4000) view value
view_pref_value_blob blob store data whose value exceeds 4000 char
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_vwprefdata_dsi NONUNIQUE delete_session_id,delete_date
ndx_vwprefdata_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_VWPREFDATA OR SQL Server
RT_VWPREFDATA_DEL OR SQL Server
RT_VWPREFDATA OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_vwprefdata PRIMARY view_pref_id,view_pref_key
fk_vwprefdata_viewpref FOREIGN view_pref_id VIEWPREF view_pref_id CASCADE

References
Name Type Table Fields Target Fields
[Top]

VWPREFUSER
Columns
Key Name Type Description Default
PK,FK view_pref_id integer Unique ID
PK,FK user_id integer FK to USERS table - identifies user who owns the view
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 101 of 106

Indexes
Name Unique Fields
ndx_vwprefuser_users NONUNIQUE user_id,view_pref_id
ndx_vwprefuser_dsi NONUNIQUE delete_session_id,delete_date
ndx_vwprefuser_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_VWPREFUSER OR SQL Server
RT_VWPREFUSER_DEL OR SQL Server
RT_VWPREFUSER OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_vwprefuser PRIMARY view_pref_id,user_id
fk_vwprefuser_viewpref FOREIGN view_pref_id VIEWPREF view_pref_id CASCADE
fk_vwprefuser_users FOREIGN user_id USERS user_id

References
Name Type Table Fields Target Fields
[Top]

WBRSCAT
Columns
Key Name Type Description Default
PK wbrs_cat_id integer PK for WBRSCAT
wbrs_cat_name string(36) resource planning name
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_wbrscat_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_WBRSCAT OR SQL Server
RT_WBRSCAT_DEL OR SQL Server
RT_WBRSCAT OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_wbrscat PRIMARY wbrs_cat_id

References
Name Type Table Fields Target Fields
fk_wbsrsrc_wbrscat FOREIGN WBSRSRC wbrs_cat_id wbrs_cat_id
[Top]

WBSBUDG
Columns
Key Name Type Description Default
PK wbs_budg_id integer Unique internal ID
FK proj_id integer FK to PROJECT table - identifies the project
FK wbs_id integer FK to PROJWBS table - identifies the WBS
start_date date Start of time period
spend_cost double(22,6) Spending plan
benefit_cost double(22,6) Benefit Plan
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_wbsbudg_1 NONUNIQUE proj_id
ndx_wbsbudg_2 NONUNIQUE wbs_id
ndx_wbsbudg_dsi NONUNIQUE delete_session_id,delete_date

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 102 of 106

ndx_wbsbudg_upd NONUNIQUE update_date,delete_session_id

Triggers
PRMAUD_WBSBUDG OR SQL Server
RT_WBSBUDG_DEL OR SQL Server
RT_WBSBUDG OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_wbsbudg PRIMARY wbs_budg_id
fk_wbsbudg_project FOREIGN proj_id PROJECT proj_id
fk_wbsbudg_projwbs FOREIGN wbs_id PROJWBS wbs_id

References
Name Type Table Fields Target Fields
[Top]

WBSMEMO
Columns
Key Name Type Description Default
PK wbs_memo_id integer Unique ID
FK proj_id integer FK to PROJECT table - identifies the project
FK wbs_id integer FK to PROJWBS table - identifies the WBS
FK memo_type_id integer FK to MEMOTYPE table - identifies the notebook topic
wbs_memo blob Notebook contents stored as text string
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_wbsmemo_1 NONUNIQUE proj_id
ndx_wbsmemo_2 NONUNIQUE wbs_id
ndx_wbsmemo_memotype NONUNIQUE memo_type_id
ndx_wbsmemo_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_WBSMEMO OR SQL Server
RT_WBSMEMO_DEL OR SQL Server
RT_WBSMEMO OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_wbsmemo PRIMARY wbs_memo_id
fk_wbsmemo_memotype FOREIGN memo_type_id MEMOTYPE memo_type_id
fk_wbsmemo_project FOREIGN proj_id PROJECT proj_id
fk_wbsmemo_projwbs FOREIGN wbs_id PROJWBS wbs_id

References
Name Type Table Fields Target Fields
[Top]

WBSRSRC
Columns
Key Name Type Description Default
PK wbsrsrc_id integer PK for WBSRSRC
FK wbs_id integer FK to PROJWBS
FK rsrc_id integer FK to RSRC
FK proj_id integer FK to project table
committed_flag string(1) Is this resource committed 'Y'
start_date date Start Date of assigment
end_date date End Date of assigment
auto_compute_dates_flag string(1) Resource assignment is tied to life of the project 'N'
FK role_id integer FK to ROLE
rsrc_request_data string(4000) Implement Resource Requests functionality
allocation_pct double(22,2) allocation in resource planning spreadsheet
FK wbrs_cat_id integer FK for WBRSCAT
update_date date Refresh audit field of last date updated. Trigger maintained.

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 103 of 106

update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_wbsrsrc_project NONUNIQUE proj_id
ndx_wbsrsrc_projwbs NONUNIQUE wbs_id
ndx_wbsrsrc_rsrc NONUNIQUE rsrc_id
ndx_wbsrsrc_wbrscat NONUNIQUE wbrs_cat_id
ndx_wbsrsrc_role NONUNIQUE role_id
ndx_wbsrsrc_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_WBSRSRC OR SQL Server
RT_WBSRSRC_DEL OR SQL Server
RT_WBSRSRC OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_wbsrsrc PRIMARY wbsrsrc_id
fk_wbsrsrc_project FOREIGN proj_id PROJECT proj_id CASCADE
fk_wbsrsrc_projwbs FOREIGN wbs_id PROJWBS wbs_id CASCADE
fk_wbsrsrc_rsrc FOREIGN rsrc_id RSRC rsrc_id
fk_wbsrsrc_role FOREIGN role_id ROLES role_id
fk_wbsrsrc_wbrscat FOREIGN wbrs_cat_id WBRSCAT wbrs_cat_id

References
Name Type Table Fields Target Fields
fk_wbsrsrc_qty_wbsrsrc FOREIGN WBSRSRC_QTY wbsrsrc_id wbsrsrc_id
[Top]

WBSRSRC_QTY
Columns
Key Name Type Description Default
PK,FK wbsrsrc_id integer PK for WBSRSRC
PK week_start date Week Start Date for Bucket
PK month_start date Month Start Date for Bucket
qty double(22,6) Quantity Bucket.
FK fin_dates_id1 integer FK to FINDATES
fin_qty1 double(22,6) Financial Quantity Bucket.
FK fin_dates_id2 integer FK to FINDATES
fin_qty2 double(22,6) Financial Quantity Bucket.
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_wbsrsrc_qty_dsi NONUNIQUE delete_session_id,delete_date
ndx_wbsrsrc_qty_fin_dates_id2 NONUNIQUE fin_dates_id2
ndx_wbsrsrc_qty_fin_dates_id1 NONUNIQUE fin_dates_id1

Triggers
PRMAUD_WBSRSRC_QTY OR SQL Server
RT_WBSRSRC_QTY_DEL OR SQL Server
RT_WBSRSRC_QTY OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_wbsrsrc_qty PRIMARY wbsrsrc_id,week_start,month_start
fk_wbsrsrc_qty_wbsrsrc FOREIGN wbsrsrc_id WBSRSRC wbsrsrc_id CASCADE
fk_wbsrsrc_qty_findates1 FOREIGN fin_dates_id1 FINDATES fin_dates_id
fk_wbsrsrc_qty_findates2 FOREIGN fin_dates_id2 FINDATES fin_dates_id

References

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 104 of 106

Name Type Table Fields Target


Fields
[Top]

WBSSTEP
Columns
Key Name Type Description Default
PK wbs_step_id integer Unique ID
FK proj_id integer FK to PROJECT table - identifies the project
FK wbs_id integer FK to PROJWBS table - identifies the WBS
seq_num integer Sequence number for sorting
complete_flag string(1) Indicates step has been completed 'N'
step_name string(120) Descriptive name of WBS milestone
step_wt double(22,2) Relative weight or contribution of step Weight
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_wbsstep_1 NONUNIQUE proj_id
ndx_wbsstep_2 NONUNIQUE wbs_id
ndx_wbsstep_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_WBSSTEP OR SQL Server
RT_WBSSTEP_DEL OR SQL Server
RT_WBSSTEP OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_wbsstep PRIMARY wbs_step_id
fk_wbsstep_project FOREIGN proj_id PROJECT proj_id
fk_wbsstep_projwbs FOREIGN wbs_id PROJWBS wbs_id
ck_wbsstep_complete_flag CHECK complete_flag complete_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
[Top]

WKFLTMPL
Columns
Key Name Type Description Default
PK wkfl_tmpl_id integer Unique ID
template_name string(255) Name of the template
project_flag string(1) Is this a project template?
wk_external_key string(255) External Workflow Key
FK tmplcatg_catg_id integer Optional FK to TMPLCATG
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_wkfltmpl_tmplcatg NONUNIQUE tmplcatg_catg_id,delete_session_id
ndx_wkfltmpl_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_WKFLTMPL OR SQL Server
RT_WKFLTMPL_DEL OR SQL Server
RT_WKFLTMPL OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_wkfltmpl PRIMARY wkfl_tmpl_id

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 105 of 106

fk_wkfltmpl_tmplcatg FOREIGN tmplcatg_catg_id TMPLCATG tmplcatg_catg_id

References
Name Type Table Fields Target Fields
[Top]

WKFLUSER
Columns
Key Name Type Description Default
PK,FK work_flow_id integer FK to WORKFLOW
PK,FK user_id integer FK to USERS
PK stage_num integer Current stage number in workflow.
comments string(4000) Comments from user for this stage
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_wkfluser_workflow NONUNIQUE work_flow_id
ndx_wkfluser_users NONUNIQUE user_id
ndx_wkfluser_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_WKFLUSER OR SQL Server
RT_WKFLUSER_DEL OR SQL Server
RT_WKFLUSER OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_wkfluser PRIMARY work_flow_id,user_id,stage_num
fk_wkfluser_workflow FOREIGN work_flow_id WORKFLOW work_flow_id
ndx_wkfluser_users FOREIGN user_id USERS user_id

References
Name Type Table Fields Target Fields
[Top]

WORKFLOW
Columns
Key Name Type Description Default
PK work_flow_id integer PK for PROJINIT.
FK proj_id integer FK to project table
workflow_name string(255) Name of the workflow.
external_key string(512) Key into colaboration vendor (iManage)
stage_num integer Current stage number in workflow.
status string(15) Current initiation status.
existing_project_flag string(1) Is the workflow for an existing project? 'N'
stage_name string(255) Store stage name from iManage
stage_modified_flag string(1) Has current stage been modified. 'N'
initiated_date date Date the workflow was initiated sysdate
FK workspace_id integer FK to workpace table
FK user_id integer FK to User table for project champion.
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_workflow_project NONUNIQUE proj_id
ndx_workflow_users NONUNIQUE user_id
ndx_workflow_workspace NONUNIQUE workspace_id
ndx_workflow_dsi NONUNIQUE delete_session_id,delete_date

Triggers

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020
PPMDB Schema for version 1770.0001.0001.0001 Page 106 of 106

PRMAUD_WORKFLOW OR SQL Server


RT_WORKFLOW_DEL OR SQL Server
RT_WORKFLOW OR SQL Server

Constraints
Delete Refer
Name Type Fields Target Fields Condition
rule Type
pk_workflow PRIMARY work_flow_id
fk_workflow_project FOREIGN proj_id PROJECT proj_id
fk_workflow_users FOREIGN user_id USERS user_id
fk_workflow_workspace FOREIGN workspace_id WORKSPACE workspace_id
ck_workflow_existing_proj_flag CHECK existing_project_flag existing_project_flag in ('Y', 'N')

References
Name Type Table Fields Target Fields
fk_wkfluser_workflow FOREIGN WKFLUSER work_flow_id work_flow_id
[Top]

WORKSPACE
Columns
Key Name Type Description Default
PK workspace_id integer Primay Key
workspace_type string(12) Type of Workspace (project or sub-space)
FK proj_id integer FK to PROJECT
workspace_name string(255) Workspace Name
workspace_prefs blob Workspace Preferences
cr_external_key string(4000) Content repository key
update_date date Refresh audit field of last date updated. Trigger maintained.
update_user string(255) Refresh audit field of last user updated. Trigger maintained.
create_date date Refresh audit field for date record created. Trigger maintained.
create_user string(255) Refresh audit field for user that created the record. Trigger maintained.
delete_session_id integer Deleted by session id. Client maintained.
delete_date date Deleted date. Client maintained.

Indexes
Name Unique Fields
ndx_workspace_project NONUNIQUE proj_id
ndx_workspace_dsi NONUNIQUE delete_session_id,delete_date

Triggers
PRMAUD_WORKSPACE OR SQL Server
RT_WORKSPACE_DEL OR SQL Server
RT_WORKSPACE OR SQL Server

Constraints
Name Type Fields Target Fields Delete rule Refer Type Condition
pk_workspace PRIMARY workspace_id
fk_workspace_project FOREIGN proj_id PROJECT proj_id

References
Name Type Table Fields Target Fields
fk_projissu_workspace FOREIGN PROJISSU workspace_id workspace_id
fk_taskwksp_workspace FOREIGN TASKWKSP workspace_id workspace_id
fk_userwksp_workspace FOREIGN USERWKSP workspace_id workspace_id
fk_workflow_workspace FOREIGN WORKFLOW workspace_id workspace_id

file:///C:/Users/Anibor%20George/Downloads/Primavera_P6_Professional_17.7_Downlo… 1/19/2020

You might also like