Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
CAPA Request --> CAPA Plan --> CAPA Action
In structure tab you can see that Action are on CAPA PLAN
So I want API to get CAPA actions from CAPA REQUEST
Solved! Go to Solution.
Solved..
QueryResult qr = PersistenceHelper.manager.navigate(capaObj, FlexibleChangeLink.ROLE_BOBJECT_ROLE, FlexibleChangeLink.class, true);
//iterate qr and get CAPA plan
capaChangeActivitiesList = CAPAHelper.service.getCAPAChangeActivities(plan);
Solved..
QueryResult qr = PersistenceHelper.manager.navigate(capaObj, FlexibleChangeLink.ROLE_BOBJECT_ROLE, FlexibleChangeLink.class, true);
//iterate qr and get CAPA plan
capaChangeActivitiesList = CAPAHelper.service.getCAPAChangeActivities(plan);