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.
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
You can also use a workflow for this =) Much easier!