Programmatically how to get change summary details & Release Tragets of objects using CN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Programmatically how to get change summary details & Release Tragets of objects using CN
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
- Labels:
-
Business Logic Customization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
