Ajouter aux favorisRaghav Sharma (Salesforce) a posé une question dans #Apex17 oct. 2018, 10:42On account , we have contact. There is a custom object called employee having lookup on contact and custom field called salary. I want to display the sum of all employee salaries on account record . Can we write an soql query for this?1 réponseTriTrier par dateTrier par ordre d’utilitéTrier par dateRajamohan Vakati (Amazon)17 oct. 2018, 16:00Try this.. Select Sum (sal__c) from Employee__c groupBy Contacts.AccountID__cAjouter un commentaireRédiger une réponse...GrasItaliqueSoulignerBarréListe à pucesListe numérotéeAjouter un lienBloc de codeInsérer une imageJoindre des fichiersURL du lienAnnulerEnregistrer0/9000Répondre
Rajamohan Vakati (Amazon)17 oct. 2018, 16:00Try this.. Select Sum (sal__c) from Employee__c groupBy Contacts.AccountID__c