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, 1 month 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

    Salesforce - Hubspot Integration #1: Setup Salesforce Integration with Hubspot

    Blog in Salesforce integration

    Setup Salesforce Integration with Hubspot You might have came across various Salesforce integration with different third party tools to widen the business with more customers…

    Authentication Configuration, Hubspot, Production Environment, Salesforce Account, Salesforce Contacts
    Parul Sep 11, 2018
    5,437  Views
    Salesforce Sales Cloud

    Salesforce Sales Cloud - All You Need To Know

    Blog in Sales, Salesforce Cloud Platform

    Sales Cloud by Salesforce is the perfect platform for organizing and streamlining your sales processes. From creating product logs to creating campaigns and managing contacts,…

    Artificial Intelligence, Basic Internet Browser, Better Strategies, Business, Business Deal
    SP Oct 5, 2020
    2,943  Views

    Fuel Your B2B Marketing Engine With Salesforce Marketing Cloud

    Blog in Salesforce Cloud Platform

    Are you considering implementing a top-notch marketing automation platform? Sure, it takes your marketing operations to the next level. But as you start your research, you…

    AppExchange, B2B, B2B Marketing, B2B Marketing Engine, B2B Marketing Leaders
    Grazitti Apr 13, 2022
    4,277  Views

    Popular Salesforce Videos

    Introduction to Journey Builder in Salesforce Marketing Cloud

    Introduction to Journey Builder in Salesforce Marketing Cloud

    Video in Marketing, Salesforce Cloud Platform

    Marketing Cloud's Journey Builder is a campaign planning tool that enables you to design and automate campaigns that guide customers through their journey with a…

    Salesforce Training, salesforce, Salesforce Marketing Cloud, Salesforce Video, Journey Builder
    Prafull Mar 14, 2022
    2,491  Views
    Salesforce Sales Cloud Implementation

    Salesforce Sales Cloud Implementation

    Video in Sales, Salesforce Cloud Platform, Salesforce Implementation

    There are many things to take into consideration when developing and deploying a Salesforce Sales Cloud implementation that will take your business to the next…

    Salesforce Training, Salesforce Sales Cloud, Salesforce Implementation, salesforce, Salesforce Cloud Platform
    DB Mar 29, 2022
    2,748  Views
    What are Custom Page Layout in Salesforce?

    What are Custom Page Layout in Salesforce?

    Video in Salesforce Training, Salesforce Admin

    Custom Page Layout is creating its own layout and modifying the same layout which we have created. Watch this video to learn all about Custom…

    Salesforce Administration, Salesforce Online Training, Page Layouts, Custom Fields, Salesforce Courses
    CRS Feb 8, 2022
    2,292  Views

    Popular Salesforce Infographics

    salesforce experience cloud

    Salesforce Experience Cloud Benefits For Business Growth

    Infographic in Salesforce Cloud Platform

    Explore How Salesforce Experience Cloud Can Help Your Business? Get bespoke solutions including: Data integration, time & cost savings.

    Salesforce, Salesforce Infographic, Infographic, Salesforce Consultants, salesforce consulting services
    Concretio Jun 8, 2023
    1,662  Views

    Top 5 Affordable Salesforce Integration Apps for SMBs

    Infographic in Salesforce integration

    Salesforce is a CRM platform that allows small businesses to manage all of their sales, marketing and customer service communications in one place. Launched back…

    Salesforce Apps, Salesforce Cloud Platform, Salesforce Integration, Salesforce Cloud Computing, Salesforce Reports
    Jogender Feb 8, 2018
    3,619  Views
    Salesforce CPQ

    Key Benefits Of Using Salesforce CPQ

    Infographic in Salesforce Products

    Improves productivity and efficiency with Salesforce CPQ. Automate contract amendments, usage pricing, and renewals using an innovative billing feature of Salesforce CPQ Still have a…

    Salesforce, Salesforce Infographic, Infographic, business, Salesforce CPQ
    Pooja Jan 14, 2022
    3,974  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.