• SFDC ROCK
  • NEWBIE
  • 20 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 31
    Questions
  • 6
    Replies
I am getting below while installing package 

1. (Customer_Record_Page) Your org doesn't have access to component runtime_sales_social:socialPanel.
Customer_Record_Page: Your org doesn't have access to component runtime_sales_social:socialPanel.

any solution ?
 Method Snipet :
 
 Map<String,Decimal> typeAmonutMap= new Map<String,Decimal>();
                  for(items__c Item:LineItem){
                      if(typeAmonutMap.containsKey(Item.Type__c)){  
                           } 
                           
            typeAmonutMap.put(Item.Type__c,Item.Amount__c);
        system.debug('typeAmonutMap====' +typeAmonutMap);
==>  // getting  type=A     Amount=3
                         type=A      amount=4
                         type=B      Amount= 6                                                                            type=B       Amount=9
                         type=B      amount=3
                         type=C     amount=99
                                                                                           

I need to insert above record to the related object like below:

Record1 

type=A amount=7 (3+4)

Record2

Type=B  Amount=18 (6+9+3)        

Record3

Type=C amount=99

and so on.    

Please help me to complete the method.
How to write a trigger code with handler class to copy few field value from one object (A)to another object (B) ?


Condition :1
Object A

picklist Field : Subodh            Salary =5000
picklist Field : Subodh             Salary =7000

Object B 
picklist Field : Subodh       Total Salary :12000

Condition : 2

Object : A

picklist Field : Subodh             Salary =7000
picklist Field : Rahul                Salary =7000
picklist Field : Amit                  Salary =5000
picklist Field : Rahul                Salary =7000
picklist Field : Amit                   Salary =5000


Object : B

picklist Field : Subodh            Total Salary =7000
picklist Field : Rahul               Total Salary =14000
picklist Field : Amit                  Total Salary =10000


Thanks
Subodh
What will be execution
priority of below in salesforce :

1.after update workflow  
2.procees builder  
3.aproval procees
4.workflow
we can not call one asynchronous process to another asynchronous process but how can we call from one batch to another batch since batch is also asynchronous process?