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

how to get related resulting change Notice form part

Level 3

how to get related resulting change Notice form part

Hi ,

How to get related resulting change notices from parts. Please provide the syntax@

Tags (1)
3 REPLIES 3

Re: how to get related resulting change Notice form part

RelatedChangesQueryCommands.getRelatedAffectingChangeNotices((Changeable2)wtPart);

Regards,

Kaushik

Re: how to get related resulting change Notice form part

Hi Basha Shaik

You can try below API:

  • To query Affected by Change Notices use below API:

QueryResult affected = com.ptc.windchill.enterprise.change2.commands.RelatedChangesQueryCommands.getRelatedAffectingChangeNotices((Changeable2)prt);

  • To query Related Resulting Change Notices use this API:


WTCollection resulting = com.ptc.windchill.enterprise.change2.commands.RelatedChangesQueryCommands.getRelatedResultingChangeNotices((Changeable2)prt);

I hope this helps you.

Regards,

Shirish

Re: how to get related resulting change Notice form part

Hi Shirish,

To query Related Resulting Change Notices am using   getRelatedResultingChangeNotices((Changeable2)prt ) method and it working for me

Thanks for your Support.

Thanks,

Shaik Basha