SHARE
TWEET

Untitled

a guest Jul 16th, 2019 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Method does not exist or incorrect signature: void CASE(String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String) from the type beforeInsertOpportunity at line 6 column 5
  2.  
  3.  
  4.  
  5.  
  6.  
  7. trigger beforeInsertOpportunity on Opportunity (before insert) {
  8.  
  9.    
  10.     for(Opportunity op: Trigger.New){
  11.    
  12.     CASE(op.Listing_Property_State__c , 'AL','Alabama',
  13. 'AK','Alaska',
  14. 'AZ','Arizona',
  15. 'AR','Arkansas',
  16. 'CA','California',
  17. 'CO','Colorado',
  18. 'CT','Connecticut',
  19. 'DE','Delaware',
  20. 'FL','Florida',
  21. 'GA','Georgia',
  22. 'HI','Hawaii',
  23. 'ID','Idaho',
  24. 'IL','Illinois',
  25. 'IN','Indiana',
  26. 'IA','Iowa',
  27. 'KS','Kansas',
  28. 'KY','Kentucky',
  29. 'LA','Louisiana',
  30. 'ME','Maine',
  31. 'MD','Maryland',
  32. 'MA','Massachusetts',
  33. 'MI','Michigan',
  34. 'MN','Minnesota',
  35. 'MS','Mississippi',
  36. 'MO','Missouri',
  37. 'MT','Montana',
  38. 'NE','Nebraska',
  39. 'NV','Nevada',
  40. 'NH','New Hampshire',
  41. 'NJ','New Jersey',
  42. 'NM','New Mexico',
  43. 'NY','New York',
  44. 'NC','North Carolina',
  45. 'ND','North Dakota',
  46. 'OH','Ohio',
  47. 'OK','Oklahoma',
  48. 'OR','Oregon',
  49. 'PA','Pennsylvania',
  50. 'RI','Rhode Island',
  51. 'SC','South Carolina',
  52. 'SD','South Dakota',
  53. 'TN','Tennessee',
  54. 'TX','Texas',
  55. 'UT','Utah',
  56. 'VT','Vermont',
  57. 'VA','Virginia',
  58. 'WA','Washington',
  59. 'WV','West Virginia',
  60. 'WI','Wisconsin',
  61. 'WY','Wyoming',
  62. 'Other');
  63.        
  64.                
  65.     }
  66.    
  67.    
  68.  
  69. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top