Salesforce coding lessons for the 99%
Finally, Apex tutorials for point-and-click admins! Written by a self-taught Google engineer.
  • Beginner Tutorials
    • Apex
    • Certifications
    • Career Info
    • Technical Architect
    • Visualforce
    • Videos
  • Apex Academy
  • Success Stories
  • About Me
  • Misc
    • Mailbag
    • Challenges
    • Links
    • Login to my Org
Follow @dvdkliuor SUBSCRIBE!

SFDC99 Login Updated!

June 21, 2014

Welcome back!

Login URL: https://login.salesforce.com
Username: learn@sfdc99.com
Password: iCanCode!
Security token: MpZIsUKjmAkw9c6jBgb21eiU

David

2 Comments
Justin
July 22, 2014 @ 5:54 am

trigger CopyFieldsonCase on Case (before insert, before update) {
for(Case : trigger.new) {

Serial.Number = Component;
}
}

David

I have a Serial Number1 (Serial_Number__c) text field on our cases and a Serial Number2 (SVMXC__Component__c) lookup field. I want to have the customer enter the serial number in Serial Number1 and upon saving copy into Serial number2 for entitlements.

Thanks for the help

Justin

Reply
    David Liu
    July 27, 2014 @ 10:00 pm

    You can also use a workflow for this =) Much easier!

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *


*

*

Theme: Simple Style by Fimply