Hi Folks,
First time posting here. We are moving from Vantage 8.03 to E10.2.600 and I am trying to implement some BPM functionality.
I have successfully written a BPM using Ice.Lib.NextValue to auto-increment part numbers when a new part is created. The issue I am having is trying to get the same to apply when Duplicating a part. Creating a Post-Processing Method Directive Part.DuplicatePart gets ignored as the “Duplicate Part” form insists on having a part number entered before moving on.
I have traced the flow and the form takes a source PN and a target PN. The target is whatever is typed in the dialog and I would ideally want to replace this with the value from the “NextValue” sequence.
I cannot see the values in the form or get to the form through customisation tools. Has anyone managed to do this or am I embarking on a fools errand?
Any advice appreciated.
Steve.
Welcome Steve!
I am just going through this too! I’m surprised that there’s logic in the form to prevent the blank part from even hitting the Part.Duplicate pre code.
We could have checked for blank and use the NextValue. What I’m working on now is a customization of the Duplicate form that will get the next value and populate TargetPart. 
This will most certainly change in Kinetic 2021+. So a little technical debt to keep track of…
Mark W.
Hi Mark,
Thanks for the reply.
I would happily try to customise the the Duplicate Part window but I see no way of launching it as a customisation. There is no “Tools” menu to launch. Can you tell me how to get at it?
Steve.
Get into Customization Mode as usual. Start Part Maintenance. Open the Duplicate menu. Right mouse click and you will see Customization. Name this customization the EXACT name as the one for Part. If you don’t have a customization on Part, create one and make sure both customization names are identical.
2 Likes