function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

product trigger

Hi All,

in Product i have a external id field,if external id matches i want insert a new product and new standard pricebook and new custom pricebook, delete the old pricebooks and deactivate the product.

i want a upsert operation on product, product are coming from external system, can any one help me on this?
Hey ,

Your post is not trasparent to give solution .can you please explain with clarity ,If external Id matches you want to update or insert .
Please expalin with more clarity .