
return new List<String> {Select id,Code__c,Name,Description__c,Frequency__c,Functional__c,Priority__c,Time_Zone__r.name FROM Activity_Master__c
where Status__c = 'Active' and id in (Select Activity_Name__c from CT_Org_Activity_Mapping__c
WHERE Organisation_Level_Name__c = :orgid)};
3 answers