Guild of Project Controls: Compendium | Roles | Assessment | Certifications | Membership

Tips on using this forum..

(1) Explain your problem, don't simply post "This isn't working". What were you doing when you faced the problem? What have you tried to resolve - did you look for a solution using "Search" ? Has it happened just once or several times?

(2) It's also good to get feedback when a solution is found, return to the original post to explain how it was resolved so that more people can also use the results.

Activity Code vs User Defined Field

8 replies [Last post]
Sandy Matheson
User offline. Last seen 10 years 36 weeks ago. Offline
Joined: 22 Sep 2004
Posts: 57
It is possible to assign ’code’ values to activities either through ’Activity Code’ or using ’User Defined’ fields. I find User Defined easier to work with as the codes do not need to be pre-defined and when assigning codes the system does not continually refer to a code library to verify exisitence. What are the drawbacks from using the ’User Defined’ field.

Replies

Trevor Williams
User offline. Last seen 8 years 36 weeks ago. Offline
Joined: 11 Mar 2009
Posts: 12
The Enterprise SDK file for retrieving and populating P6 is and excel spreadsheet named dictionary60.xls. It is pretty straight forward to use. You can also retrieve a global code from a schedule and convert the code field to a project or EPS codes and push it back in to the project, should you ever have the need to do so.

One use I have found for UDF’s are if you have multiple schedule and open them together and have a need to group by an activity code it will duplicate the code value for each file you have open. If you do the same with a UDF it will group all projects under on grouping band. Provided the spelling in the UDF is exactly the same in all schedules.

We operate on a citrix server and our global codes are locked down, so this is the only way to achieve grouping across multiple schedules that I have found so far. If anyone knows of a better way please let me know.

Trevor
Ali Farhat
User offline. Last seen 13 years 42 weeks ago. Offline
Joined: 23 Oct 2008
Posts: 120
Groups: None
another thing, i think it is not practical to use UDF if you might export your schedule to other softwares, say P3.1, pertmaster etc...
Peter Nicol
User offline. Last seen 13 years 50 weeks ago. Offline
Joined: 31 Jan 2009
Posts: 23
Groups: None
You are correct - i don’t have the details for this in front me right now, but I use the SDK to keep our resource list up to date based upon Oracle data.

I use the SDK to export the data from P6 first - tidy it up and then import back in... saves a lot of time as excel can be a lot easier to work with.

- Peter.
Dieter Wambach
User offline. Last seen 7 years 5 days ago. Offline
Joined: 15 Jan 2007
Posts: 1350
Sandy
As far as I remember there is a SDK-routine to provide this.
I don’t have SDK installed. It should be on your installation cd under other components. Theere is a special entry in the security profiles as well.
Regards
Dieter
Sandy Matheson
User offline. Last seen 10 years 36 weeks ago. Offline
Joined: 22 Sep 2004
Posts: 57
OK, the agrument about validation of the codes has value. Now I have several hundred codes & decriptions(company defined/used) in excel format. How can I import these into P6 from Excel?
Lloyd Young
User offline. Last seen 8 years 31 weeks ago. Offline
Joined: 19 Jan 2004
Posts: 26
Groups: None
Sandy,

I agree with the other two replies, Although i do use both Activity codes and User defined but i am using stand alone projects, as User Defined codes in a networked project means that someone else could change the code without you knowing. To be honest Activity coding is a good planning practice and also helps when filtering.

regards

L
Dieter Wambach
User offline. Last seen 7 years 5 days ago. Offline
Joined: 15 Jan 2007
Posts: 1350
Sandy
As Patricia wrote, the advantage of codes is, they are predefined with the same writing - not Manager, Mgr, Mgr (with a blank), Mgmt,... and under control of admins.
Both you’ll need for reporting, codes are more secure. If you cansecure same writing and understanding for UDF, they will be ok.
I have the same understanding as Patricia.
Regards
Dieter
Patricia Le Clainche
User offline. Last seen 9 years 24 weeks ago. Offline
Joined: 18 May 2007
Posts: 86
Groups: None
Hello Sandy,

As far as I am concerned, I prefer to use Activity Codes.
I often work with the correct code column to update this field easily. When you have to put the same Code on many activities, you can use the "fill down" function. And the codes are formalised. You avoid "writing mistakes".

If you choose to use a User Defined field, you have to make sure someone else has not already taken it (when you are several people in writing access => Workpackage Mger, Programme Mger, Financial controler, planner...).
You have to make the rules clear for everybody.

Kindest regards.
Patricia