DEV Community

Cover image for Change the beginning of the product code whenever we insert a new product
Shubham Vaishnav
Shubham Vaishnav

Posted on

Change the beginning of the product code whenever we insert a new product

Problem:

You need to create a trigger on the product object which fires every time we insert a new product, we want to make sure that we will add XYZ at the beginning of that product code.

Trigger code :

Continue reading . . .
https://salesforceforfresher.wordpress.com/2021/07/08/change-the-beginning-of-the-product-code-whenever-we-insert-a-new-product/

Top comments (0)