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, 4 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

    A Comprehensive Guide to Salesforce Lightning Development

    Blog in Salesforce integration

    Businesses are depending more and more on strong, adaptable platforms as the digital landscape changes in order to spur innovation and productivity. One such platform…

    CRM Solutions, Hiring Salesforce Lightning Developers, Salesforce Consulting Partner, Salesforce Consulting Services, Salesforce Integration
    AwsQuality Oct 4, 2024
    607  Views

    Webinar: Performing a Successful Technical Debt Assessment in Salesforce

    Blog in Salesforce

    Technical debt is a concept in software development that reflects the implied cost of additional rework caused by choosing an easy (and potentially limited) solution…

    Business Changes, Business Grows, Financial Debt, Implement, Implement Changes
    Vala Marcou Nov 27, 2020
    1,720  Views
    Salesforce Flow Builder

    An Ultimate Guide to Salesforce Flow Builder User Interface

    Blog in Others, Salesforce Admin

    Toolbox - The toolbox contains the factors and resources you use to build your go with the flow. From the Elements tab, add new factors,…

    Build a Flow, Button Bar, Canvas, Chatter Posts, Connectors
    Anjali Mar 18, 2021
    4,765  Views

    Popular Salesforce Videos

    Salesforce Tutorial | Salesforce Summer '20 Release

    Salesforce Tutorial | Salesforce Summer '20 Release

    Video in Salesforce Training

    It's time for another Salesforce release. In this video, we talk about all of the new features that the Summer '20 release will give us.…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Video, Salesforce Learning
    Stimulus Consulting Jul 24, 2020
    1,685  Views
    Salesforce Consultant Certifications - Large Data and Transaction Volumes

    Salesforce Consultant Certifications - Large Data and Transaction Volumes

    Video in Salesforce Consultant

    As you already aware, expertise in Salesforce is in huge demand. The Salesforce Certifications are industry-recognized and are a proof of your skill/expertise in Salesforce.…

    Salesforce Training, Salesforce Certifications, Salesforce Consultant, Salesforce Consulting, Salesforce Data Management
    Hazel Feb 26, 2018
    2,035  Views
    Getting Started With The Ant Migration Tool in Salesforce

    Getting Started With The Ant Migration Tool in Salesforce

    Video in Salesforce Training

    Ant Migration Tool In Salesforce. In this video, the following points will be covered - 1. Introduction Get a brief introduction about the Ant Migration…

    Salesforce Training, salesforce, Salesforce Video, Salesforce Learning, migration-tool
    Algoworks Dec 31, 2020
    2,590  Views

    Popular Salesforce Infographics

    Salesforce Unveils Sales and Service Suites Aimed at Accelerating ROI for Businesses

    Infographic in Sales

    Salesforce has recently unveiled fresh sets of product suites aimed at enhancing the sales and service teams' performance. By integrating top-notch solutions from the Customer…

    Salesforce Cloud, business, Infographics, ROI, Businesses
    Concretio Jan 16, 2024
    1,188  Views

    The 10.5 Commandments of Salesforce Users

    Infographic in Salesforce Implementation

    This great piece of visual goodness presents the 10 commandments every Salesforce user needs to follow. Make sure every single one of these practices is…

    Salesforce Sandbox, Salesforce Data Management, Business Success, Salesforce Data, Salesforce Security
    Abhay Mar 26, 2018
    3,417  Views
    salesforce migration

    5 Advantages of Using The Salesforce Data Migration Tool in Your Organization

    Infographic in Data, Salesforce CRM

    Advantages Of Using The Salesforce CRM Data Migration Services In Your Company are: Fast migration process Repetitive deployment Suitable for both novice and advanced Salesforce…

    Salesforce, CRM, Salesforce CRM, Data Migration, Salesforce Data Migration
    Chloe Sep 2, 2022
    3,259  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.