-
How to calculate the sum of the contact records expiring soon on an account object in Salesforce?
Want to calculate the sum of the contact records expiring soon on an account object
Hi I am new toapex code and I am trying to caliculate the sum of the contact records where the email opt-in is about to expire. (email permission = Date + 60 OR email permission = NULL). on Account object I want to display the count of these records. can somebody please help me with the code.
Log In to reply.
Popular Salesforce Blogs

All You Need to Know About DupeCatcher Salesforce
Duplicate records can be a headache for any Salesforce admin or user. Not only do they clutter up the database and make it difficult to…

Salesforce With Selenium
This is my First post for Salesforce with Selenium. In this post, we will understand why we use selenium in salesforce and how we are…

Strategies for Finding Your Salesforce Training Plan
The company and staff should know why Salesforce is vital. After training, don’t presume that the why is the exact same for all classes. Senior…
Popular Salesforce Videos
Run Report With Filters from UiPath Studio | Salesforce
New features on Salesforce Activities Extention Package from UiPath MarketPlace: https://connect.uipath.com/marketplace/components/salesforce-activities-extention-package (0:40) Use complex object in the Query and Timeout part of the Setting to…
Salesforce Exam Dumps - Are They Worth It?
In this video, Brad discusses the unethical, yet common, practice of using Exam Dumps to pass a certification exam. These dumps are not only immoral,…
5 Salesforce Developer Interview Red Flags That’ll Likely Get You Rejected
These are some common interview red flags that’ll likely get you rejected for that dream Salesforce developer job. Start prepping accordingly! Watch this video and…
Popular Salesforce Infographics

The Benefits Of PDO Partnerships & Its Strategic Advantages
Salesforce Product Development Outsourcers (PDOs) are specialized partners in the Salesforce ecosystem that help organizations develop, build, and bring their applications to the Salesforce AppExchange.…

How to Create Campaign in Salesforce for Sales Departments: 5 Best Practices
Salesforce Sales Cloud is a powerful platform with several facilities for maintaining and improving the sales function. One of the dominant features offered by Salesforce…

Automation Tools In Salesforce
Automation tools in Salesforce can eliminate monotonous tasks, freeing up an admin’s time to do more profound things. These tools include Workflow Rules, Process Builder,…