• Admin 123
  • NEWBIE
  • 20 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 6
    Replies
 The logic is when we create Customer Project(Custom obj) for an Opportunity(Standard obj) with the Status=Active(Picklist value), then Active Customer project check box on the Opportunity detail page is automatically checked.
wherein there is lookup between Customer Project and Opportunity..!
 
trigger UpdateSA on Task (before insert,before update)
 { for(Task t: Trigger.new)
    {  If (t.Date_Time_Denied__c == null ||    t.Declined_By__c == null)
        {
           t.SA_Denied__c = true;
        } else
            {            
               t.SA_Denied__c = false;  
      }  
    }
    Test class for this?
 The logic is when we create Customer Project(Custom obj) for an Opportunity(Standard obj) with the Status=Active(Picklist value), then Active Customer project check box on the Opportunity detail page is automatically checked.
wherein there is lookup between Customer Project and Opportunity..!
 
 The logic is when we create Customer Project(Custom obj) for an Opportunity(Standard obj) with the Status=Active(Picklist value), then Active Customer project check box on the Opportunity detail page is automatically checked.
wherein there is lookup between Customer Project and Opportunity..!
 
trigger UpdateSA on Task (before insert,before update)
 { for(Task t: Trigger.new)
    {  If (t.Date_Time_Denied__c == null ||    t.Declined_By__c == null)
        {
           t.SA_Denied__c = true;
        } else
            {            
               t.SA_Denied__c = false;  
      }  
    }
    Test class for this?

I want to change the pick list value (Open,Inprogress,Hold,Complete) the default value is open . when i click a button or link  ask one meaasge are you sure want to complete? Y/N, click Y means,  the picklist value to change (open to complete), also enable the check box is true.?

 

Any suggestion is helpful..