Listener for attaching document as reference to the part
I worked on a listener which attaches a document to the part in "references" table.The scenario is once a document is attached ito a part as described by document then the same document should go to references table (of that part )also.
I used the POST_CHECKIN listener and it tells part cannot be checedout as this is not the latest iteration.I even obtained the working copy of teh part then tried to modify.
But this works only when the part is checkedout again not in the same checkout.
Any one has any idea on which listener i can use so that if a part is checked out to attach a document in described by then taht document should get attached in references also.