-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
3Questions
-
0Replies
Apex trigger to copy field value
I wrote a trigger to copy field date from one fiel to another. Keeping getting this error. Any suggestions?
Compile Error: expecting an equals sign, found ":" at Line 3 column 12 (highlighted)
Trigger updateFields on Case (before update){
for (Case : trigger.new){
Serial_Number__c = SVMXC__Component__c;
}
}
Compile Error: expecting an equals sign, found ":" at Line 3 column 12 (highlighted)
Trigger updateFields on Case (before update){
for (Case : trigger.new){
Serial_Number__c = SVMXC__Component__c;
}
}
-
- Justin Garey
- July 22, 2014
- Like
- 0
- Continue reading or reply
Case feed layout
I like the layout in the doc below, but am unalbe to acheive this look and feel. i am only able to use the standard case feed layout. Any suggestions on to acheive this layout? The sample code is provided but not clear on how and where to apply
http://www.salesforce.com/us/developer/docs/case_feed_dev/
http://www.salesforce.com/us/developer/docs/case_feed_dev/
-
- Justin Garey
- July 14, 2014
- Like
- 0
- Continue reading or reply
Tigger to populate serial number lookup
I would like to add a trigger to populate a serial number lookup field after a case is created. We have a second serial number number field that I would like to use as a text field and when the customer saves the case, this information is used to populate the serial number lookup for entitlements. I would also need to return a null value if the serial number is not found in the lookup.
-
- Justin Garey
- July 14, 2014
- Like
- 0
- Continue reading or reply