In my last post on Salesforce, I talked about the methodology I use when tackling a Salesforce implementation. One of the key points to my methodology is to do code only where it is absolutely necessary (In fact, this is my methodology when using almost any product).
I came across a situation for a client that I knew would require a trigger – the business requirement is that they enter the names of the two people involved in the purchase into the lead. These two people (Person A and B) must exist as separate Contacts in their own right but be joined as part of this purchase (Person A may then make another purchase with Person C at another time). For this scenario, the standard Salesforce Convert Lead to Opportunity button could not be used.