I am using Windchill PDMLink Release 11.1 and Datecode with CPS M020-CPS02
User is unable to change version of a part from V202 to V203.
Solved! Go to Solution.
Hi @WillQi
The point is, if you add it, you corrupt the sequence and you need to recreate the sequence not just correct it.
That means delete the sequence and recreate it.
As I said, never ever change existing HarvardSeries.
I can suggest to create new HarvardSeries with a correct sequence and values, Use this new series to all objects where you use it.
PetrH
What procedure is the user trying?
A Revise should do it.
What is your versioning file defined as? Does it have entries that go that high? Mine stops at revision 99.
The user is trying to use Revise. They are met with this error message:
Hi @WillQi
Go to Windchill shell and get/read the versioning schema
java wt.series.LoadFileBasedSeries outputxmlFile.xml -read
https://www.ptc.com/en/support/article/CS18605
1. Your revision number is not in the schema
2. Is on wrong position or
3. there could be some corruption.
4. Someone rewrite the schema with OOTB one.
5. You move the object to a context where is a different revision schema and now it is not possible to revise. Check the OIR in the context.
PetrH
Hi PetrH,
My colleague found the XML file:
She tried adding 'V203' to the file.
The user is still experiencing the same issue. Is there a step that we are missing?
Hi @WillQi
It is complicated. You should never ever change existing Revision schema, because it cases many issues.
If you really need to do so, you have to do some additional steps that are needed to correct the database inconsistency.
here is general article describes that change is not supported.
CS28597 - Is it possible to change the Versioning Scheme of existing objects in Windchill PDMLink
there is utility that corrects the changed sequence of the revision labels and it should help
I would follow the process describes here>
CS22606 - "Revise" of object throws error "New Revision failed
read the article carefully
clean a table in database
run SeriesSortValuePopulater
run RevisionLabelCleanser
PetrH
Hi Petrh,
I think article CS22606 will fix the sequence only. Seems need to add V203 between V202 and V303.
Hi @WillQi
The point is, if you add it, you corrupt the sequence and you need to recreate the sequence not just correct it.
That means delete the sequence and recreate it.
As I said, never ever change existing HarvardSeries.
I can suggest to create new HarvardSeries with a correct sequence and values, Use this new series to all objects where you use it.
PetrH