Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hi I am working on one custom report functionality for one WTDocument object where I need to display change objects in the report can anyone help me how I can retrieve WTChangeRequest2 and WTChangeOrder2 objects from the WTDocument
Solved! Go to Solution.
you can try below API to get change objects from Changable2 (WTDocument)
//if document is Resulting from any Change task
ChangeHelper2.service.getImplementedChangeActivities(changeble2)
//if document is affected by any Change task
ChangeHelper2.service.getAffectingChangeActivities(changeble2)
//Get change Notice from Change activity
ChangeHelper2.service.getChangeOrder(changeActivity)
//if document is affected by any Change Request
ChangeHelper2.service.getRelevantChangeRequests(changeble2)
Hope this helps !!!
Thanks
Shreyas
you can try below API to get change objects from Changable2 (WTDocument)
//if document is Resulting from any Change task
ChangeHelper2.service.getImplementedChangeActivities(changeble2)
//if document is affected by any Change task
ChangeHelper2.service.getAffectingChangeActivities(changeble2)
//Get change Notice from Change activity
ChangeHelper2.service.getChangeOrder(changeActivity)
//if document is affected by any Change Request
ChangeHelper2.service.getRelevantChangeRequests(changeble2)
Hope this helps !!!
Thanks
Shreyas
Thank you Shreyas for all your help
Query Builder Report.
From tab: Change Request, Document
Join tab: CR < Relevant Request Data > Document
Criteria: Document Number