Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A trigger is a feature of the Salesforce platform consisting of Apex code that executes before or after DML operations.
0
votes
1
answer
435
views
Add AccountTeamMember and TeamMemberRole when Account Request Object is Converted
I have the majority of all of the trigger and everything situated for my new custom object except for this last piece. … trigger addAccountTeamMember on Account_Request__c (after insert){
List<Account> AccountTeamMember = new List<Account>();
for (Account_Request__c ar : Trigger.new){
if(ar.Account_Request_Status …
0
votes
1
answer
44
views
Compare UserId__c field values on other Contact records and populate UserId field on Contact...
trigger UserIDpop on Contact (before insert) {
if( ISBLANK(userid__c), userid__c = LastName,
if( userid__c = LastName, userid__c = FirstName + LastName,
if( userid__c = FirstName Last Name, userid …
0
votes
2
answers
1k
views
Apex Trigger for Creating a New Account Record when Custom Field on Custom Object is UpDated
This is my first attempt at writing an Apex Trigger so I apologize if it seems somewhat elementary as far as the issues I am having. Either way I am very grateful! … The current error I am getting is
Error= Line10 "Method does not exist or incorect signature:
[SOBject:Account_Reques__c].RecordTypeId(String)
trigger newAccountRequestConvert on Account_Request …
-4
votes
1
answer
130
views
Test Code for Apex Trigger... HELP PLEASE [duplicate]
Good morning, I have written the following APEX Trigger and it does seem to work in my Full Sandbox. … trigger newContactRequestConvert on Account_Request__c (before Update)
{
List<Contact> contacts = new List<Contact>();
List<Contact> Update_contacts = new List<Contact>();
List<Account_Request …
1
vote
Accepted
CaseTeam Test Code Coverage 63% coverage HELP
For those of yall who see this in the future... Nathan Pepper of the Los Angeles SalesForce Developer Group, @MayTheSForceBeWithYou, was able to assist me in creating the following... thank you N8!
@ …
1
vote
1
answer
804
views
CaseTeam Test Code Coverage 63% coverage HELP
I have the following CaseTeam Trigger and CaseTeam Trigger Test Class... it runs but it is only providing 63% code coverage... can you please show me how I can increase my code coverage for this Trigger … TRIGGER
//My Trigger is as follows
trigger AffectedSalesForceUserCaseTeamUpDate on Case (before update)
{
List<CaseTeamMember> ctm = new List<CaseTeamMember>();
List<CaseTeamMember> ctmdelete …