I am trying to create a basic BPM to set the NonStock field to True when a part is duplicated and it is not working. Our thinking is, if the part is stock, and a user copies it to a new part, we don’t want that part to also be stock. Hence the BPM to set it to true.
I am not sure as I have never worked with duplicate part. What I have found is that the most obvious choice is not always the correct one. I like to trace the transaction and then put pop ups in the methods to see the dataset. It helps me figure out which method is the best one to use.
I have a BPM on PartDuplicate that works with widgets. But, it is Post-Processing. A bunch of changes are made in temporary variable tables, then PartUpdate is invoked.