• PRASENJIT BANERJEE 24
  • NEWBIE
  • 10 Points
  • Member since 2022

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
public with sharing class  AccountTeamMemberController 
{
    @AuraEnabled
    public static list<Account_Team_Member__c> getRelatedList(Id recordId)
        {
            Apttus__APTS_Agreement__c objAgreement = [Select id , Apttus__Account__c from Apttus__APTS_Agreement__c where id =: recordId ];
            List<Account_Team_Member__c> atmlist = [Select Name, Role__c, Active__c,Email__c from Account_Team_Member__c 
                                                    where Account__c =: objAgreement.Apttus__Account__c AND Role__c ='Relationship Manager'];
             return atmlist;
           
        }
}