-
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
Creating And Maintaining the User in Salesforce
Salesforce administrator manages users by creating and editing users’ details, resetting passwords, granting/removing permissions, configuring data access levels, and much more. A user is typically…
Data Modeling in Salesforce - The Basics
Salesforce Data Model is the method to represent the table in your Salesforce org in order to make the data understandable to the viewers. Data…
Popular Salesforce Videos
Object Oriented Programming - Salesforce Developer Tutorial
In relation to programming languages, object-oriented means that the code focuses on describing objects. An object can be anything that has unique characteristics, such as…
Salesforce Field Service Scheduling Optimization | AblyPro Webinar
Revolutionize and Level Up Your Game in Services Business With Field Service With Salesforce Field Service on your side, businesses can reduce travel time, improve…
How to Use Product Rules with Salesforce CPQ
In this demo video, you'll learn about the three most popular types of product rules for CPQ: validation, alert, and selection. You'll also see how…
Popular Salesforce Infographics
How IT Leaders Can Build Employee Advocacy | Salesforce Infographic
We created the APAC Employee Engagement report based on this research, to provide key insights that are critical to IT and people leaders now and…
6 Types of Relationships in Salesforce
A relationship in Salesforce is a 2-way association between 2 objects. Using relationships we can link objects with each other and we can make connections…
Salesforce - Key For Your Industry Solutions
Salesforce endlessly improves the productivity and performance of the company. To enhance the customer experience and generate more revenue many industries will be opting for…