Apex Use Case 27 | Chapter 86 | Salesforce Developer Masterclass

Поделиться
HTML-код
  • Опубликовано: 1 дек 2024

Комментарии • 4

  • @naveenyalamala
    @naveenyalamala 3 месяца назад +1

    Hi Sir , I didn't find your LinkedIn profile

  • @sanjothshetty
    @sanjothshetty 2 дня назад +1

    public class ApexUseCase27_UC27 {
    public static Set getTheAccIdFromOppRevenue(){
    Set accIds = new Set();
    List oppRecords = [Select Id, AccountId from Opportunity Where Amount >= 80000];
    for(Opportunity opp : oppRecords){
    accIds.add(opp.AccountId);
    }
    return accIds;
    }
    }

    • @salesforcemakessense
      @salesforcemakessense  2 дня назад

      Looks good Sanjoy, the apex classs name however doesn't match the naming best practices, you can call it ApexUseCase27, that's it.