Primavera 15.1 - Udf query

Hello Folks ,

Just need to ask about UDF removal / hide

- We are having lots of UDFs which are not using from long time but  consuming lots of data. Is there any way we can filter out which udf is not in use so that we can remove the UDF. Also need to take backup for udf .

Pulkit Verma

+91-7095956111

S
Steven Auld 👤 Member for 8 years 8 months

The only way that I can think of to see exactly what is being used by each project is by directly querying the data in the database & not in the P6 application.

The Following SQL gives the correct results when testing in a SQLite database:

SELECT DISTINCT

PROJECT.PROJ_SHORT_NAME AS 'Project Code',

UDFTYPE.UDF_TYPE_LABEL AS 'UDF Type',

COUNT(UDFVALUE.FK_ID) AS 'Number of Assignments'

FROM

UDFVALUE

INNER JOIN

UDFTYPE ON UDFVALUE.UDF_TYPE_ID = UDFTYPE.UDF_TYPE_ID

INNER JOIN

PROJECT ON UDFVALUE.PROJ_ID = PROJECT.PROJ_ID

GROUP BY

PROJECT.PROJ_SHORT_NAME,

UDFTYPE.UDF_TYPE_LABEL

This should give you a list of the Projects in the Database that have UDF's assigned to them, the Name of the UDF as given in the P6 Application List along with the number of times that UDF has been assigned per project.

Please note that this is not all of the UDF's & will only show the number of UDF's assigned to each project. There are a number of different UDF's all saved into this table that are not based on a Project (Resources UDF's etc).

Unfortunately you cannot easily backup just the UDF's, as the remaining project data may change over time - best option would be to archive the entire project in either XER or XML format & save these files outside the database so that they could be fully restored if required at a later date.

Please note that this has been tested against the P6 SQLite Database only - check with your Database admin before running.

Hope this helps.

Steven

P
pulkit verma 👤 Member for 11 years 10 months

Hi ,

Its ok server ......

As you said sending mail but to whoom ?

only things is there are lots of UDF and There are lots of User base so how to figure out which UDF are gettign use and which one is not in use...

P
pulkit verma 👤 Member for 11 years 10 months

Hi ,

Its ok server ......

As you said sending mail but to whoom ?

only things is there are lots of UDF and There are lots of User base so how to figure out which UDF are gettign use and which one is not in use...

S
Santosh Bhat 👤 Member for 21 years 1 month

Unfortuantely there is no way within P6 to inspect which UDF fields are being used by whcih projects. One option is to prefix the ones that you thinki are not being used with a "ZZ" so they appear at the bottom of all data fields - then wait to see who complains!

Otherwise, you can use tools like P6 Audit from Emeral Associates which can actually run reports against your P6 database to determine which projects are using UDF field and then make a decisions on whether it can be simply deleted or not.

Z
Zoltan Palffy 👤 Member for 16 years 10 months

is this on a server ?

if so or if not send out an email asking what UDF's are being used. If you do not hear back by XXXXXXX date then it wil be deleted.

you will know shortly if there is an issue

Forum Sponsor

Top Posters

Julian Pegg
1 posts
Peter Nagy
2 posts
Raymund de Laza
17 posts
Syed_Asad
0 posts
Tony Greyvenstein
0 posts
Ahmed Al-Jubouri
13 posts
Umar Alvi
3 posts
Sibusiso Mahlalela
0 posts
Michael Samanyayi
3 posts
Simon Gumede
0 posts