Toggle Side Panel

  • Home
  • Articles
    • All Articles
    • Blogs
    • Videos
    • Infographics
  • 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
  • Marketplace
  • Advertise With Us
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Home
    • Articles
      • All Articles
      • Blogs
      • Videos
      • Infographics
    • 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
    • Marketplace
    • Advertise With Us
    • 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 7 years, 5 months 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

    application solution

    Popular Salesforce Blogs

    How can organizations benefit from sales cloud implementation?

    How can Organizations Benefit From Salesforce Sales Cloud Implementation

    Blog in Salesforce Cloud Platform

    Businesses today, irrespective of their scope or size need a feasible platform to pull through the fierce marketplace competition, nurture the existing customers, and acquire…

    Customer Experience, Customer Experiences, Customer Journeys, Customer Loyalty, marketing cloud and sales cloud integration
    Carol Mar 6, 2023
    1,892  Views

    What Role Does Salesforce Play in High-Tech Success?

    Blog in Salesforce

    The high-tech sector is experiencing explosive growth, emerging as a global economic powerhouse. Projections indicate that this industry's global market value will rise to $16…

    Cloud-Native Architecture, Competitive Advantage, CRM Platform, Customer Experience, Customer Relationships
    Grazitti Aug 16, 2024
    549  Views

    4 New Salesforce Einstein Features – What it means for Service Cloud users

    Blog in Salesforce Einstein

    Salesforce Einstein Key Features – Salesforce’s recent announcement of Einstein Artificial Intelligence capabilities have quickly made headlines and for all the right reasons. With the…

    Artificial Intelligence in Salesforce, Customer Experience, Einstein Bots, Einstein Features, Einstein Voice Assistant
    LevelShift (formerly DemandBlue) Apr 18, 2019
    3,562  Views

    Popular Salesforce Videos

    Salesforce Security – An Encryption Guide For The Paranoid

    Salesforce Security – An Encryption Guide For The Paranoid

    Video in Salesforce Security, Salesforce Implementation

    If you are using Salesforce, you would be having a lot of data stored in Salesforce objects. Some of it would even be sensitive enough…

    Salesforce Development, Salesforce Apex, Salesforce Security, Salesforce Implementation, Salesforce Data Management
    Algoworks Feb 21, 2018
    2,489  Views
    How Is The Future Of Salesforce?

    How Is The Future Of Salesforce?

    Video in Salesforce Development

    Wondering about the future of Salesforce? Join this useful group for Salesforce job & career info and get all the details you need.

    Salesforce Training, Salesforce Tutorial, Salesforce Development, Salesforce Admin, Salesforce Developers
    Intelogik Nov 18, 2022
    1,646  Views
    How Will Salesforce Career Look Like 3 Years From Now?

    How Will Salesforce Career Look Like 3 Years From Now?

    Video in Salesforce Stories

    In this video, Shrey shares his opinions about How will Salesforce career look like 3 years from now. Watch and learn. If you have any…

    Salesforce Training, Salesforce Tutorial, Salesforce Certification, Salesforce Developer, salesforce
    Jogender Feb 25, 2021
    1,311  Views

    Popular Salesforce Infographics

    salesforce administrator salaries

    Salesforce Administrator Salaries – Around The World

    Infographic in Salesforce Admin

    A Salesforce administrator; the gatekeeper to an organisation’s Salesforce capabilities. With the huge acceleration of data in our lives, it’s no surprise that job roles…

    Salesforce Data Management, Salesforce Administrator, Certified Salesforce Admin, Salesforce Jobs, Salesforce Certifications
    Abhay Jan 11, 2018
    2,760  Views

    Infographic: State of Service 2019

    Infographic in Others

    Did you know that 64% of people think that customer experience is more important than price in their choice of brand? The new trends in customer service…

    Salesforce Infographics, Customer Experience, Customer Service, Infographics
    Pooja Sep 13, 2019
    2,019  Views
    donate your talent

    See Why Salesforce Goes All In on Pro Bono

    Infographic in Salesforce Org.

    Salesforce Pro Bono Program aims to match nonprofits and higher education institutions with Salesforce professionals to maximize their Salesforce implementation and transform their organization. Scroll…

    Salesforce Products, Customer Success, Salesforce Jobs, Salesforce Pro Bono, Pro Bono Week
    Hazel Jan 17, 2018
    3,129  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®.

    Try AuditMyCRM - It is a Salesforce CRM Audit tool which comprehensively scans your Salesforce org and gives you the list of errors or warnings you need to take care of.
    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.