cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Number/Item ID reservation possiblities in WNC

AS_9097437
2-Explorer

Number/Item ID reservation possiblities in WNC

I am using Windchill PDMLink Release 11.1

Is it possible to reserve the next Item ID in WNC?

The REST API documentation does not offer a method to get the next Number (at least I did not find any method). Thingworkx also does not provide an API that does support this.

This Stack Overflow article gives some hints on the implementation in WNC using InfoEngine: https://stackoverflow.com/questions/35412452/how-to-get-sequence-number-in-windchill-through-api. It also suggests a work around: create a new part; take its number and then delete it. However, I think we should look for a better solution.
2 REPLIES 2

Hi @AS_9097437,

 

This is Bhushan from PTC Technical Support.

On latest Windchill REST Services, we have a provision to run Info*Engine Tasks using REST Service: /Windchill/servlet/odata/v1/IE/InvokeIETask

 

This can be leveraged to generate next sequence number, however currently Windchill REST Services do not have provision to create objects with user input numbers where Auto Numbering is enabled.

 

If you need this next sequence number to be reserved for any other custom operation, you can develop an Info*Engine Task and run it using Windchill REST Services.

 

Please let me know if this helps.

hi bhushan,

thank you for the provided in formation-no further questions so far.

br,
andreas
Announcements


Top Tags