I was wondering if I can alter what happens when I hit “duplicate”.
I am generating a purchase order number in a logic hook as soon as the status of a quote is changed to “won”. The po number will be saved with the quote and all is good - until I want to create a similar quote and just duplicate the existing one. In that case the quote already has a po number (the old one) and no new number is generated and assigned.
To overcome this issue I’d like to customize the duplicate action and delete the po number in the newly created quote.
Is that easily possible?