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

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 7
    Replies
upsert failed on ship to insert transaction: duplicate value found: Legacy_System_Id__c duplicates value on record with id: 001C000001aktGT
what is this error?
And the account information fields are not updating into Salesforce.com correctly.
For this, I checked all the triggers, Classes, rules and I found nothing about the field that is not updating.
Even I checked in dev Console if there's any duplicate id, But only one row i got.
What might be the reason? Please help.
Now I created new page having sections of Account and Task and created two buttons and now the conditions are " if you click on Save with task button it should create record in account and display in related list (Open Activities) and if you click on Save Without task button it should create Account record but not Task (Open Activities) record."

How will I achieve this functionality?
 
 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..!
 
Now I created new page having sections of Account and Task and created two buttons and now the conditions are " if you click on Save with task button it should create record in account and display in related list (Open Activities) and if you click on Save Without task button it should create Account record but not Task (Open Activities) record."

How will I achieve this functionality?
 
 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..