P6-Loader - Easy Moving of Pre-Turnaround Work to the Turnaround Window

On every Turnaround there are Pre-Turnaround activities that do not get done prior to the actual Turnaround and need to be moved into the Turnaround phase of the schedule.

The challenge is how to record actual hours earned in the PRE phase vs the TA phase, since a large number of these activities already have earned hours associated with them. Simply moving the activities would decrease the reporting of hours in PRE and create earned hours in TA for work that was actually done in PRE.

This can be done simply and quickly with P6-Loader.

In the last Turnaround I was on, there were three activity statuses to deal with in the Pre-Turnaround activities:

  1. Not Started
  2. In Progress
  3. 98% or greater progress (complete or effectively complete)

The company had set up a “Phase” activity code at the global level to signify the phase in which the activities were to be done.

P6 Loader Easy Moving of Pre TurnaroundWorktotheTurnaroundWindow ActivityCodes 1

This wasn't just a matter of copying and pasting the activities:

  • Turnaround specific resources were required for each unit that were different than the resources used for the Pre-Turnaround phase.
  • A different calendar would be used for the Turnaround phase.
  • The Pre-Turnaround activities were linked to Pre-Turnaround Milestones, so those links needed to be replaced by TA milestones.

Case 1: Pre-TA activities that weren't started before the TA started

In the first case, dealing with the “Not Started” activities, the activities, resources and relationships were extracted using P6-Loader. Using Excel Autofiltering, the activities were filtered down to only the Pre-Turnaround activities that had a “Not Started” status.

P6 Loader Easy Moving of Pre TurnaroundWorktotheTurnaroundWindow PreTurnaroundNotStarted 2

The original activities were changed in Excel and updated in P6 using P6-Loader:

  • Status was changed to “Completed” to preserve the original schedule for subsequent Turnaround planning and loaded back into P6 with the P6-Loader. The durations were set to 0 to prevent the man-hours being earned during the PRE-TA phase, since they would now have to be earned during the Turnaround phase.

P6 Loader Easy Moving of Pre TurnaroundWorktotheTurnaroundWindow OriginalCompletedDurationZero 3

To create new activities in the Turnaround phase, the same extraction file was altered to re-create the “Not Started” activities in the Turnaround phase using P6-Loader. The Pre-TA activities were changed in Excel:

  • Id’s appended with “-a” to signify they were activities created from the unfinished activities moved from Pre-Turnaround,
  • Their WBS was updated to put the new activities in the TA WBS,
  • The “Phase” activity code was changed to “3A” from “1”
  • The Calendar changed to the TA calendar named “7 x 20.”
  • All other fields remained unchanged.


P6 Loader Easy Moving of Pre TurnaroundWorktotheTurnaroundWindow AppendId 4

In the resource extraction sheet, a VLOOKUP was used to find the resources that needed to be updated to reflect the resources being used for the Turnaround phase. The Activity Id was appended with “-a” to assign the updated resources to the new Activity Id. Note that the ActivityId-Original, ResourceId-Original and VLOOKUP are columns that I added to the spreadsheet to ease the calculations - P6-Loader will ignore them.

P6 Loader Easy Moving of Pre TurnaroundWorktotheTurnaroundWindow ResourceAssign 5

The next step was to remove any of the relationships with a Pre-TA start or finish milestone. The activities were filtered down to only the predecessors and successors that were Pre-TA milestones, marked to be deleted and loaded into P6. The ability of P6-Loader to delete data was a great help here.

The newly created activities were assigned to the TA predecessors and successors in two different loads (one to handle predecessors and one to handle successors.) A VLOOKUP was used to find the predecessors/successors for the activities, the Activity Id was updated to reflect the new Activity Id with “-a” and the predecessors/successors file was loaded into P6.

 P6 Loader Easy Moving of Pre TurnaroundWorktotheTurnaroundWindow RemovePreTARelationships 6


Case 2: In Progress Activities

With the previous load done, we were ready to move the “In Progress” activities. These are activities where work was started in the PRE phase but wasn't completed. In this case, we need to split the work to show that some hours were earned in PRE and some in TA.

The steps are the same for this move, except the Planned Units, Actual Units and Remaining Units for Resources were stored so they could be used to update the activities with the correct numbers.

The stored Actual Units were used to update the Planned Units and the Remaining Units were set to “0” in the existing Pre-TA activities prior to marking the activities as complete. This step ensures that the Earned Hours during the Pre-Turnaround Phase stay in that phase.

The Remaining Units were then used to set the Planned Units on the new activities in the Turnaround phase.

P6 Loader Easy Moving of Pre TurnaroundWorktotheTurnaroundWindow SetPlannedUnits 7

When creating the new TA activities, the Resource Planned Units were populated with the Delta of Planned Units – Actual Units from the existing Pre-TA activities.

 P6 Loader Easy Moving of Pre TurnaroundWorktotheTurnaroundWindow ResourcePlannedUnits 8

After these few changes to the original steps, the “In Progress” activities in the Pre-TA were completed.

Case 3: Nearly Completed Activities

It's common in a TA to mark activities that are very close to being completed or expected to be completed within the current shift to be marked as 99% complete. This allows the hours to be earned for the activity while also creating a checklist of work to be confirmed. A quirk of P6 is that sometimes in the background database, 99% is actually stored as 98.9999 or 99.0001, so an exact match on 99% can be problematic.

Activities that were marked greater than or equal to 98% and less than 100% were marked “Completed” on the existing Pre-TA activities and given full Earned Hours for those activities.

However, we still needed to be sure the activities were moved to the TA phase, so we could be sure the activities were completed prior to the maintenance work in the TA phase. We created the new activities with “-a”, set the Status to “Not Started” and put all the Planned Durations to 0.

P6 Loader Easy Moving of Pre TurnaroundWorktotheTurnaroundWindow NearlyCompletedActivities 9

As always, all of our newly created files were first run on copies of each project to ensure our changes were what we anticipated. Changing the ProjectId in Excel is much easier than changing it in P6.

The result was the the TA team had accurate and timely reporting of progress in PRE and TA without a lot of manual activity creation.




About the Author

Sue Hopkins - Implementation Specialist

At Emerald Associates, Sue is an Implementation Specialist and has been successful at drawing on her accounting and project management background to consult with our diverse client base. With her friendly demeanor and strong communication skills, she has become a talented Primavera trainer and works very hard to effectively implement Oracle Primavera solutions that cater to each client’s unique organizational needs.  

Leave a comment

Please login to leave a comment.