• EvanSF
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi All,
 
I am new to Salesforce.com, Please can somebody help me with their suggestions since Apex coding is very new to me.
 
I have a requirement as mentioned below.
 
Need to develop a apex code trigger when Opportunity Stage is "Closed-Won" following takes place:
 
a. Creates a new Contract record.
b. Childs the contract record to the opportunity organisation.
c. Link from contract record to opportunity itself.
d. Maps the values from fields on the opportunity record onto fields in Contract record.
 
"Contract" is a simple custom object and not the sfdc standard object.
 
Any sample code will be really useful.
 
Thanks in Advance,
Ak**bleep**h