• JimmyPom
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

Hi guys!

 

I need some advice on wether I should be learning / writing an APEX trigger, or wether a custom button would be better for my application.

 

I have the 'Cases' Related List in my Opportunities Section. My Cases object has 3x Record Types (New Warranty Service, New Installation Service & New Maintenance Service)

 

Under My Opportunity, I want to have the three buttons on the cases related list (New Warranty Service, New Installation Service & New Maintenance Service). Once they are clicked, I need different information from the opportunity to populate each different record type.

 

Am I best to use a custom button and 'URL HACK' it to populate these field, or should I look into writing an APEX tigger to 'future proof' my SFDC instance? I have been told that the 'URL HACK' is really just a temporary fix if SFDC decide to update field names etc, they will break.

 

Thanks in advance for the help!

 

Jimmy.