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
Arundhati DebArundhati Deb 

hi, i want to write a trigger to update opportunity currency same as the opportunity owner currency

The opportunity currency should be the same as opportunity owner currency. I have to write a trigger for it. Can anyone help me with it.
Currency is custom field on both opportunity and opportunity owner?

Arundhati DebArundhati Deb
Opportunity owner is a user created in the system, there we have a currency field.
Hi @ Arundhathi,
Instead of trigger use  process builder,
Kindly  find below screenshot.

User-added image

Kindly let us know if it helps you.