Toggle Side Panel

  • Blogs
  • Consultants
    • Salesforce Product Expertise
      • Top Salesforce ConsultantsTop Salesforce Consultants
      • Marketing Cloud ConsultantsMarketing Cloud Consultants
      • Service Cloud ConsultantsService Cloud Consultants
      • Experience Cloud ConsultantsExperience Cloud Consultants
      • Analytics Cloud ConsultantsAnalytics Cloud Consultants
    • Salesforce Industry Expertise
      • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
      • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
      • Health Cloud ConsultantsHealth Cloud Consultants
      • Commerce Cloud ConsultantsCommerce Cloud Consultants
      • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
    • Salesforce Experts by Location
      • USATop Salesforce Consultants in USA
      • IndiaTop Salesforce Consultants in India
      • AustraliaTop Salesforce Consultants in Australia
      • United KingdomTop Salesforce Consultants in UK
      • CanadaTop Salesforce Consultants in Canada
  • Webinars
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Blogs
    • Consultants
      • Salesforce Product Expertise
        • Top Salesforce ConsultantsTop Salesforce Consultants
        • Marketing Cloud ConsultantsMarketing Cloud Consultants
        • Service Cloud ConsultantsService Cloud Consultants
        • Experience Cloud ConsultantsExperience Cloud Consultants
        • Analytics Cloud ConsultantsAnalytics Cloud Consultants
      • Salesforce Industry Expertise
        • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
        • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
        • Health Cloud ConsultantsHealth Cloud Consultants
        • Commerce Cloud ConsultantsCommerce Cloud Consultants
        • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
      • Salesforce Experts by Location
        • USATop Salesforce Consultants in USA
        • IndiaTop Salesforce Consultants in India
        • AustraliaTop Salesforce Consultants in Australia
        • United KingdomTop Salesforce Consultants in UK
        • CanadaTop Salesforce Consultants in Canada
    • Webinars
    • Contact Us
    • Discussions
    Close search

    Activity › Forums › Salesforce® Discussions › How to calculate the sum of the contact records expiring soon on an account object in Salesforce?

    Tagged: Account Object, Contact Record, Email, Email Permission, Salesforce Apex Code

    • Salesforce® Discussions

      How to calculate the sum of the contact records expiring soon on an account object in Salesforce?

      Posted by sindhu on September 25, 2018 at 2:18 PM

      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.

      sindhu replied 8 years ago 1 Member · 0 Replies
      • Account Object
      • Contact Record
      • Email
      • Email Permission
      • Salesforce Apex Code
    • 0 Replies

    Log In to reply.

    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me

    Popular Salesforce Blogs

    What is Salesforce Customer Portal?

    Blog in Salesforce, Salesforce Products

    Before we start with the Salesforce customer portal, let’s explore all the types of Salesforce portals, their differences, and their use case. Types of Salesforce…

    Business Logic, Business-level Insights, Change Portal Fonts, Contact Detail, Custom Objects and Tabs
    CRMJetty Sep 23, 2020
    3,994  Views

    Leverage the Power of Personalization with Salesforce Marketing Cloud

    Blog in Salesforce Cloud Platform

    Reaching out to the customers with the right content at the right time through their preferred platform is the key to ensuring a delightful experience.…

    Audience Studio, Automate Email Campaigns, Campaign Performance, Cloud-based Platform, Customer Acquisition
    Carol Aug 23, 2023
    1,635  Views

    Importance of Building the Right Salesforce Support Team

    Blog in Salesforce customization

    Customer Care has now become a big industry due to the mass evolution of technology. A consumer is no longer a passive entity; they possess…

    Salesforce Support Services, Salesforce Support Team
    Louis Oct 16, 2017
    6,439  Views

    Popular Salesforce Videos

    Generative AI: What Diverse Data Types Can It Create? | Salesforce

    Generative AI: What Diverse Data Types Can It Create? | Salesforce

    Video in Others, AI and ML

    Imagine a technology that can take various types of data – from text and images to music and even beyond – and create something entirely…

    salesforce, Artificial Intelligence, Salesforce Community, Salesforce Webinar, Webinar
    Cyntexa Nov 6, 2023
    1,014  Views
    Saving Journey History in Marketing Cloud

    Saving Journey History in Marketing Cloud

    Video in Marketing, Salesforce Cloud Platform

    We explore how to leverage Marketing Cloud REST API and its automations to save all the journey history data for your organization. Includes a video…

    Salesforce Training, salesforce, Salesforce Marketing Cloud, Salesforce Video, Salesforce Learning
    DB Apr 4, 2022
    2,138  Views
    Automate Workflows and Process Intelligence with Nintex Development Services | Salesforce

    Automate Workflows and Process Intelligence with Nintex Development Services | Salesforce

    Video in Salesforce Stories, Salesforce Apex

    Nintex is a leading process improvement, workflow, and automation software platform. In their own words, you can use the Nintex platform to manage, automate, and…

    salesforce, Salesforce Video, Salesforce Learning, Business, Workflow
    Cyntexa Oct 18, 2022
    1,307  Views

    Popular Salesforce Infographics

    salesforce administrator

    How to Select A Cerified Salesforce Administrator?

    Infographic in Salesforce Consultant

    Once you implement Salesforce, one of the most important ways to stay successful is to designate an incredible Salesforce Administrator. Easier said than done, right?…

    Salesforce Training, Salesforce Data Management, Salesforce Implementation, Salesforce Administrator, Salesforce Tips
    Portia Jan 10, 2018
    3,151  Views

    Enjoy the Salesforce Innovation Management infographic

    Infographic in Others

    Without innovation, a company will stay in one place. Without getting ideas from those closest to your product or service - customers, employees, and partners…

    Salesforce, CRM Software, Cloud Computing, Salesforce Automation, Salesforce CRM
    Abhay May 7, 2018
    6,629  Views

    Salesforce Developer Career Path

    Infographic in Salesforce Certifications

    Embarking along your journey of becoming a Salesforce Technical Extraordinaire is a wise move, as programming in Apex and Visualforce is one of the hottest,…

    Salesforce Consultant, Salesforce Developers, Salesforce Administrator, Certified Salesforce Admin, Salesforce Certifications
    Portia Mar 21, 2018
    7,497  Views
    Footer Forcetalks logo

    support@forcetalks.com

    • twitterx

    Quick Links

    Advertise with Us

    Salesforce® Articles

    Dreamforce 2023

    Top Salesforce® Bloggers 2023

    Top Salesforce Consultants

    Get Listed

    Company

    Contact Us

    About Us

    Privacy Policy

    Terms & Conditions

    InsightHub

    Salesforce Blogs

    Salesforce Videos

    Salesforce Groups

    Salesforce Jobs

    © 2026 - Forcetalks ● All Rights Reserved

    Salesforce® is a trademark of Salesforce® Inc. No claim is made to the exclusive right to use “Salesforce”. Any services offered within the Forcetalks website/app are not sponsored or endorsed by Salesforce®.

    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.