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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

How to get WTChangeRequest2 and WTChangeOrder2 object from the WTDocument

ptc-3953915
1-Newbie

How to get WTChangeRequest2 and WTChangeOrder2 object from the WTDocument

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

ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

3 REPLIES 3

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

Announcements

Top Tags