• Aishwarya Londhe
  • NEWBIE
  • 0 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 1
    Replies
 List<string> countries = new list<string>();
        opportunity opp;
        Id oppId;
if(eatsSetting!= NULL && eatsSetting.CLM_Live_Countries__c !=null){
            countries = eatsSetting.CLM_Live_Countries__c.contains(';')?          eatsSetting.CLM_Live_Countries__c.split(';') :               eatsSetting.CLM_Live_Countries__c.split(',');
 }
if(eatsSetting != NULL && eatsSetting.CLM_Live_Countries1__c != NULL){
           countries = eatsSetting.CLM_Live_Countries1__c.contains(';') ?eatsSetting.CLM_Live_Countries1__c.split(';') : eatsSetting.CLM_Live_Countries1__c.split(',');
}
Send Docusign contract button on opportuntiy should be updated to throw and error message 
when clicked on CLM live country record (for now the cusotm setitng will only have united states 
but should be able to flexible to expand out to addtionl countries as we launch to other countries
Set<Id> accId= new Set<Id>(rootParentIdSet);
for(Integer counter = 0; counter < 7; counter++) {
                 Map<Id, Account> accMap = new Map<Id, Account>([Select Id,ParentId from Account
                 where ParentId In :accId);
              if(accMap != null && !accMap.isEmpty()) {
                    accId= accMap.keySet();
                    accIdSet.addAll(accId);
               }
            }
Set<Id> accId= new Set<Id>(rootParentIdSet);
for(Integer counter = 0; counter < 7; counter++) {
                 Map<Id, Account> accMap = new Map<Id, Account>([Select Id,ParentId from Account
                 where ParentId In :accId);
              if(accMap != null && !accMap.isEmpty()) {
                    accId= accMap.keySet();
                    accIdSet.addAll(accId);
               }
            }