Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Version: Windchill 12.1
Use Case: Requirement 1) Want to fetch change summary details like On Order, Work-in-Process, Finished, etc. Requirement 2) How to get Release Target or Change Transition details for Objects
Description:
I don't know actually how to use :
1) wt.change2.ChangeRecord2 record = (wt.change2.ChangeRecord2)
2) wt.lifecycle.Transition
Hi @_1647
I would advice to study a link overview how the data are connected together in the change management.
CS63595 - Understanding Change Management objects and their relations
Based on this information you could use ChangeManagemen helper to get all information you need
wt.change2.StandardChangeService2
wt.change2.ChangeService2
wt.change2.ChangeHelper2
ChangeHelper2.service.getChangeablesAfter() // objects in a affected table
ChangeHelper2.service.getChangeablesBefore() // objects in a resulting table
PetrH
Hi @@_1647,
I wanted to follow up with you on your post to see if your question has been answered.
If so, please mark the appropriate reply as the Accepted Solution.
Of course, if you have more to share on your issue, please let the Community know so that we can continue to help you.
Thanks,
Anurag