Forum Replies Created

  • Hi Ravi,

    Thank you for taking the time to write out this APEX trigger. I tested it out in sandbox, and pushed to production and with some slight modifications, it is working just great! I had gone down the path of creating these in process builder, but was getting a little messy.

    I appreciate this!

    Many thanks!

  • Nick

    Member
    June 28, 2016 at 9:24 pm in reply to: How to do multiple if else statements in a formula field?

    I have this scenario:

    abc_c  (A)+ def_c (West)  + ghi_c (Elite) = 90,o00

    abc_c (B)+ def_c(MidWest) + ghi_c (Preferred) = 50,000

    values in the () are values from a picklist. The custom api fields are picklists which contains various values. Whenever any of these combinations are selected, the final value should be the set value, e.g., 90,000.

    What would be the correct syntax to write this up, thanks in advance!

     

Popular Salesforce Blogs

Popular Salesforce Videos