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
Ravi Bhoyar 1Ravi Bhoyar 1 

Compare two object fields

I have two object Offer discount matrix (Custom object) and Order Product (Standard).Offer discount matrix is master table with Discount code and Discount% field. Oreder Product object have Total Discount% field.
whenever any new Order product add how to campare Total discount% in Order Product and Discount% in Offer discount matrix and if it matches populate discount code in Order Project object field.
Note  :There is no any relationship between these two object 
How to achive this requirement? need your expertise.

Thank you in advance.
Musunuru SurekhaMusunuru Surekha
Hi Ravi,

Did you try using process builder?
Ravi Bhoyar 1Ravi Bhoyar 1
Yes,I tried process builder