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
GMASJGMASJ 

Fire trigger when sync button is clicked on quote

Hi Experts,  

  I want to build a logic inside trigger it must fire when sycn button is clicked on quote please suggest me how to apply this logic inside the trigger. 

Thanks
Sudhir
Rohit B ☁Rohit B ☁
Hi Sudhir,
I think if you are using standard sync button functionality then you need to adopt custom functionality.
Create a dummy page and it's controller, call this page on the click of Sync button and write your logic on the controller part.
Create a field or custom setting whichever you find suitable. Set this field or custom setting in your logic and check this field or custom setting in your trigger then only it will work.

Hope it helps..