{"id":42878,"date":"2018-08-19t05:15:25","date_gmt":"2018-08-19t09:15:25","guid":{"rendered":"\/\/www.deco-dalles.com\/?p=42878"},"modified":"2024-08-01t15:38:57","modified_gmt":"2024-08-01t19:38:57","slug":"how-to-audit-your-primavera-p6-global-activity-codes","status":"publish","type":"post","link":"\/\/www.deco-dalles.com\/how-to-audit-your-primavera-p6-global-activity-codes\/","title":{"rendered":"how to audit your primavera p6 global activity codes"},"content":{"rendered":"
i had a very simple question posed to me in the 世界杯2022亚洲比赛时间 member’s community area recently about auditing p6’s activity codes. it was this:<\/p>\n
how can i prepare a\u00a0report<\/strong>\u00a0to see which projects use my global activity codes? ie: can i prepare a report where i can see all the \u201cglobal activity codes\u201d used in\u00a0each project in my primavera p6 database?<\/strong><\/p><\/blockquote>\n
posted by one our p6 trainees, it was a question i’d been asked before and so i was ready with my standard answer….<\/p>\n
“it sucks, but you can’t really do that in p6.”<\/p>\n
i think i give that answer fairly often, and it highlights the need for more flexibility and features to be added to our dear primavera p6 software, but that’s a whole separate blog post ;).<\/p>\n
but once in a while, i do get very curious to see if something can be solved, somehow.<\/p>\n
recently i’ve been listening to malcolm gladwell’s excellent podcast “revisionist history”<\/a> and it’s got me thinking alot about challenging assumptions and the status quo.<\/p>\n
true, i’m not yet ready to buck the status quo on a lot of things, but maybe i could improve how quickly i am prone to give my pat answer “p6 won’t do that.”<\/p>\n
activity codes really do rock<\/h3>\n
one of the best features in primavera p6 are activity codes<\/a>.<\/p>\n
they let you get majorly categorizical with your projects 10,000 activities. they let you filter, group, slice, dice and puree your project data in umpteen ways.<\/p>\n
activity codes help in oh so many circumstances to add an additional layer of organization to a p6 project. some of us would be lost without them.<\/p>\n
they’re great, but also they can get truly unruly<\/strong>.<\/p>\n
to be fair, global<\/span> activity codes<\/strong> are the problem.<\/p>\n
since they can be used across multiple projects and new entries are easily imported with an xer file, global activity codes can seemingly spread like locusts in your p6 database, making a big mess.<\/p>\n
(ok, maybe locusts is not the right analogy, but i think you get the idea).<\/p>\n
how to build a report to audit p6 global activity codes<\/h2>\n
so i got curious, dug in and figured out how to generate a report that tells you which global activity codes are used on which projects.<\/p>\n
want to try it yourself?<\/p>\n
here’s how to build the p6 global activity codes audit report.<\/p>\n
0) understanding the data first<\/h3>\n
just wanted to mention that this report runs only on projects that you have opened.<\/p>\n
so if you want to audit which p6 global activity codes are assigned to a group of projects, you’ll have to open them all first simultaneously, then run the report.<\/p>\n
if you want to audit all global activity codes, then you’ll have to open all of your database’s projects and run the report.<\/p>\n
don’t worry. p6 should be able to handle it.<\/p>\n
i have over 250 projects in my database and i can open them all at the same time with only a slight impact on my pc’s performance.<\/p>\n
1) create a new report in p6<\/h3>\n
it helps to have at least 1 (or even a few) projects opened before you get started on this.<\/p>\n
from the activities screen, goto tools menu -> report wizard<\/strong>.\u00a0 create a new report.<\/strong><\/p>\n
from the first subject area list, choose activity codes<\/strong>.<\/p>\n
refine the subject area as shown, choosing activity code assignments,<\/strong> and clicking next.<\/p>\n
<\/p>\n
<\/p>\n
2) choosing columns & grouping options<\/h3>\n
if you’ve never built a report using this wizard before, then you should know that each subject area can have it’s own set of columns and grouping options<\/a>.<\/p>\n
so here we will first set columns & grouping for the activity codes subject, then for the activity code assignments subject.<\/p>\n
here are the columns we will want for the activity codes subject<\/strong>.<\/p>\n
<\/p>\n
<\/p>\n
now the group & sort options. let’s group the p6 report data by activity code type scope. (this defines what type of activity code it is, either global, project or eps.)<\/p>\n
<\/p>\n
moving on the 2nd subject area, activity code assignments. pick these columns.<\/p>\n
<\/p>\n
now set the grouping to be by project.<\/p>\n
make sure you check on “show summaries only”, otherwise you’ll get a monster activity report.<\/p>\n
we’d prefer to have summarized data to keep it simple.<\/p>\n
<\/p>\n
there are no filters to set for either subject area.<\/p>\n
i find that sometimes if you do try to filter, say including just global activity codes, the report output isn’t right. so leave the filters out for the moment.<\/p>\n
click next in the wizard, until you see the button to save the report.<\/p>\n
name the report and save it.<\/p>\n
3) previewing the report output so far<\/h3>\n
note: remember to open a bunch of projects first before running the report.<\/p>\n
to run a preview, from the reports screen (tools -> reports ->reports),<\/strong>\u00a0right-click on the report and choose run -> report<\/strong>.<\/p>\n
then choose to send it to print preview.<\/strong><\/p>\n
if you run a print preview on the report from here, you should get something that looks like this.<\/p>\n
ugh. i know, it’s disappointingly crappy output.<\/strong><\/p>\n
why?<\/p>\n
primavera p6’s report wizard will only take this global activity code report so far.<\/p>\n
using the wizard, you have no control on layout, and for some reason the columns are always lacking in width.<\/p>\n
but if you’re not afraid to get dirty, we’ll fix it up and get something we can use.<\/p>\n
4) improving the p6 global activity code audit report<\/h3>\n
ok, so close the preview.<\/p>\n
right-click on your report and choose\u00a0modify.<\/strong><\/p>\n
<\/p>\n
<\/p>\n
prepare to enter a whole new world – the p6 report editor.<\/strong><\/p>\n
not many of us venture into the p6 report editor too often, so i hope you’re ready for a further trip to the ugly world of 1990s user interfaces. yuck!<\/strong><\/p>\n
the first thing i want to do is to fix the scrunched data by moving columns out. this image shows what i’m going to move.<\/p>\n
<\/p>\n
at the same time, i’m going to expand the project name<\/strong> column and the two above it like so.<\/p>\n
<\/p>\n
that’s better.<\/p>\n
5) adding a new data element to the report<\/h3>\n
one thing that would make this report even more helpful is to know exactly in how many projects a particular global activity code is being used. is it 5 projects? or 350 projects?<\/p>\n
we can add a project count<\/strong> to the report. here’s how.<\/p>\n
i’m going to click in the row to the right of bolded activity code type (just below the blue highlighted data source header area<\/strong>).<\/p>\n
by clicking there, i should be highlighting the entire row.<\/p>\n
now i can click the “ab” icon<\/strong> at the top toolbar of the editor – the one that says “add text cell”<\/strong> if you hover over the icon.<\/p>\n
this adds a new data cell or column to the report. here are the setting for the properties popup box<\/strong>.<\/p>\n
note: i had to drag the properties box window wider to see the full column names in the dropdown list. try it.<\/p>\n
<\/p>\n
just click the x on the box to close it.<\/p>\n
now, click save in the bottom right of the editor to save your report.<\/p>\n
now we’re done.<\/p>\n
6) previewing the p6 global activity codes final report<\/h3>\n
it’s time to see what the final output of the report looks like.<\/p>\n
note that i did remove some extra column headers that weren’t needed to clean it up a bit and i renamed one header as well. i also expanded the width of the report to 11 inches.<\/p>\n
things for you to try as well.<\/p>\n
<\/p>\n
<\/p>\n
how can i use this report to audit my p6 global activity codes?<\/h3>\n
well, we can finally answer the question:<\/p>\n
which primavera p6 global activity codes are being used and on what projects?<\/p><\/blockquote>\n
if you’re an administrator of a primavera p6 install, this report can help you see which activity codes can be purged and which can be kept.<\/p>\n
you could also use this report on individual projects as well like say a project imported from a subcontractor. you would be able to quickly see which global activity codes are in use.<\/p>\n
i hope you get lots of good use out of it.<\/p>\n
having trouble getting results from the report?<\/h3>\n
some folks have had trouble getting the report to work. if that’s you, try downloading my report file (.erp) and importing it into your p6 install.<\/p>\n
to import the .erp file below, first unzip the archive. in p6, goto the reports screen<\/strong>. right-click and choose import.\u00a0<\/strong>import the .erp file. run the report.<\/p>\n