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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Is there any way we can delete the Latest Iterations of a part? batch removal

ptc-3312241
1-Visitor

Is there any way we can delete the Latest Iterations of a part? batch removal

Hi All,

I have updated obsolete information of 3000 parts(Business critical) by mistake. Now I want to rollback. Is it possible by a batch script like?

Please advise. Its very crucial for my company.Thanks in advance.

3 REPLIES 3

Can you not just use the Purge functionality for this?

Hi Buddy ,

Correct, But I am trying to understanf if there is a way we can selectively remove iterations of a list of parts in a specific context. As when we did the wrong update, it effected some 5000 parts out of 15000, so when I use purge manager I want to set criteria based on timestamp of last update, so that I can touch only those 5000 not the entire context. Is it possible?

We dont want to end up removing good data for all the other parts which were not iterated or changed.

I appreciate your advise on this.

Praveen,

You can certainly create a QuerySpec to find WTParts whose updatestampA2 is within a range of dates then loop thru the QueryResult deleting each WTPart returned in the query.

David

Announcements


Top Tags