WindChill Sequence Number Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
WindChill Sequence Number Problem
Version: Windchill 12.1
Use Case: Cant Retrieve the sequence number and its really pissing me off
Description:
Hey,
How can I retrieve the sequence number for a WT.Part or WT.Document in Windchill using the API?
When I create a WT.Part, the number is generated automatically, but I can't find a method to get the next number in the sequence. I'm using Info.Engine. Any suggestions on how to solve this would be greatly appreciated. Thanks!
- Labels:
-
Windchill Visualization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Similar question - "How to get sequence number in Windchill through API?": https://community.ptc.com/t5/Windchill/How-to-get-sequence-number-in-Windchill-through-API/td-p/886708
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Just curious.. why do you need the next number, before it's created?
If someone happens to create a WTPart just half a second after your query, the number you think is the next number will already be taken.
