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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

How to get WTChangeRequest2 and WTChangeOrder2 object from the WTDocument

ptc-3953915
1-Visitor

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