All UniqueIDs are machine generated, nothing we can do about it.
Within a file, the UniqueID is generated sequentially and the UID of a
deleted task is not reused.
When an mpp is inserted into another file as NOT linked, the inserted file
generates UIDs in accordance with the master file (indeed it is just like you
typed all the tasks).
No mystery just yet .... just increasing numbers.
So, now you insert the file as LINKED and the UIDs of the inserted file are,
well, unique. The first summary line follows the pattern as same as the
master file. The remaning lines have a large UID (somehow system generated).
The best I can tell is that they appear to honor the underlying file UID by
a fixed offset. So, if a UID of a deleted task is missing in the underlying
file, there will be a skip in the large UID as well. Sorry, I don't have an
algorithm for you.. perhaps one of the other regular posters will enlighten
us.
I need to go fishing for these UIDs myself. So here is what we did to get
around it.
In a spare text column, add a formula (Right Click on a column heading,
select customize fields, then Formula).
In the spare field we generate a 4 letter code (or anything else you want).
So we use SoSE for "System of Systems Engineering". It specifically
identifies the file and we make sure each file has a unique code. So, then
the Text1 field formula becomes:
"SoSE" + [UniqueID]. In the Master file, the formula is "MSTR" +
[UniqueID], in the Core Assets file we use "CAIC" + [UniqueID].
So now, in the Master Project File, The text1 column goes MSTR1, MSTR2..
until we get down to the first inserted file, then it changes to SoSE1,
SoSE2, etc. while the SoSE uniqueID column shows 8386113.. This way, we use
the Text1 field to truly identify our intentions when we speak about
different files and their tasks. As you know, the TaskID numbers walk all
over the place... but SoSE1123 does not change...
Probably didn't really answer your question, but hopefully I provided some
useful information. I assume you are asking the question becuase you want to
do something with the UIDs rather than just wanting to know how Project
generates them in a master file.
--
If this post was helpful, please consider rating it.
Jim
It''s software; it''s not allowed to win.
Visit
http://project.mvps.org/ for FAQs and more information
about Microsoft Project
ET902 said:
Specifically, working with Master and Subproject Files, how should the
Subprojects UIDs reflect in the Master and how are those numbers generated?