Sevilay

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-06-04
08:17
517 views
Hi,
In which table can i find the project stakeholders and how can i relate this to projects?
Thanks.
In which table can i find the project stakeholders and how can i relate this to projects?
Thanks.
1 Solution
Accepted Solutions


Cadet 1st Class
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-06-04
12:08
Regardless of the data model you can use functions like pm_utils.get_prj_stakeholders(projectID) from the package pm_utils to get whatever you need (resources, project and program managers, stakeholders...)
6 Replies
Mahen M

Ensign
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-06-04
09:48
I hope 'ITG_TRUSTEE' is a releted table.
Regards,
Mahendran M
Regards,
Mahendran M
Sevilay

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-06-04
12:05
Hi Mahen,
yes you are right.Theoretically all the users related to an entity should be reposited in that table,at least DataModel.pdf says that.
But in real,there is no user in the knta_users table related to trustee_id of the itg_trustee table.In datamodel.pdf,it says that trustee_id must match a USER_ID
in KNTA_USERS.
In fact i want to find all the projects in which a user is chosen as a stakeholder.
Thanks again.
yes you are right.Theoretically all the users related to an entity should be reposited in that table,at least DataModel.pdf says that.
But in real,there is no user in the knta_users table related to trustee_id of the itg_trustee table.In datamodel.pdf,it says that trustee_id must match a USER_ID
in KNTA_USERS.
In fact i want to find all the projects in which a user is chosen as a stakeholder.
Thanks again.


Cadet 1st Class
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-06-04
12:08
Regardless of the data model you can use functions like pm_utils.get_prj_stakeholders(projectID) from the package pm_utils to get whatever you need (resources, project and program managers, stakeholders...)
Sevilay

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-06-04
12:57
Hi Sacsha,
this is very usefull information for me.
But is there any package that gets the stakeholder's name or id as an input and gives the names of the projects related to that stakeholder.
i want to go vice versa.
Thanks.
this is very usefull information for me.
But is there any package that gets the stakeholder's name or id as an input and gives the names of the projects related to that stakeholder.
i want to go vice versa.
Thanks.


Cadet 1st Class
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-06-04
13:31
Sure, use it like this:
SELECT * FROM pm_projects
WHERE InStr('#'||pm_utils.get_prj_stakeholders(project_ID)||'#', '#30004#') != 0
And put the user_id of the user you're doing the lookup for where the 30004 is.
SELECT * FROM pm_projects
WHERE InStr('#'||pm_utils.get_prj_stakeholders(project_ID)||'#', '#30004#') != 0
And put the user_id of the user you're doing the lookup for where the 30004 is.
RBnaerjee

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-02-24
03:58
Hi all,
Any oe has a clue hhow to change security settings of all projects at once in HP PPM.
I have to change settigs for 4000 projects ... please help.
Regards
Raj