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

    Master-Detail Relationship

    Master-Detail Relationship in Salesforce

    Blog in Salesforce Training

    Master-Detail relationship in Salesforce means a parent-child relationship between any two objects in which the parent object controls some certain behaviour of detail object i.e.…

    Child Object Record, Child Relationship Name, custom object, custom report type, Data Type
    Rajat Shende Oct 12, 2021
    5,447  Views

    Lead Management in Salesforce Sales Cloud: Top 6 Standard Tools Implementation and Custom Configuration Examples

    Blog in Salesforce customization

    The primary purpose of Salesforce Sales Cloud is to organize fast and smart sales. To do this job, Sales Cloud offers users a simple lead…

    Convert Leads, Customization, duplicate-lead-records, Lead, Lead Conversion
    Sparkybit Feb 24, 2023
    1,732  Views

    Salesforce Automation with Flow

    Blog in Others

    Following on from the previous article on Salesforce automation tools, this time we cover automation using the brand-new Flow Builder tool (as released in Feb 2019). This…

    Apex Triggers, Cloud Platform, Flow Builder, Lightning App Builder, Process Builder
    KeyNode May 17, 2019
    4,302  Views

    Popular Salesforce Videos

    The 3 Most Common Challenges Associated With B2b Commerce Cloud Implementations

    The 3 Most Common Challenges Associated With B2b Commerce Cloud Implementations

    Video in Salesforce Cloud Platform

    With growing technology businesses are adapting to the new changes. B2B commerce cloud is one of them. But to implement the B2B commerce cloud is…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Learning, Commerce Cloud
    Cyntexa Jul 21, 2022
    1,656  Views
    Hello (Salesforce) World - An introduction to Tableau Developer

    Hello (Salesforce) World - An introduction to Tableau Developer

    Video in Salesforce Products

    Hello, Salesforce world! Curious about Tableau (the newest member of the Salesforce family), our developer platform and suite of developer tools available? Whether you are…

    Salesforce Training, salesforce, Salesforce Developers, Salesforce Video, Tableau
    Jogender Jun 22, 2020
    1,343  Views
    Creating leads using Amazon Alexa with salesforce.

    Creating leads using Amazon Alexa with salesforce.

    Video in Others

    Amazon EchoAmazon Echo is a voice command device with functions like question answering, playing music and controlling smart devices. Echo connects to Alexa which is…

    Salesforce Integration, Salesforce Trigger, Salesforce Leads, Salesforce Org, Salesforce Dashboard
    GetOnCRM Nov 13, 2019
    2,551  Views

    Popular Salesforce Infographics

    The Deluge of Data — And What to Do With It

    Infographic in Data

    Data is defined as “facts and statistics collected together for reference or analysis,” and it is everywhere. It comes from transactions, industrial equipment, apps, sensors,…

    Marketing, Salesforce Data Management, Business Success, Salesforce Data, Salesforce Apps for Business
    Hazel Jul 20, 2018
    2,897  Views

    CUSTOMER SERVICE TIPS: 4 SECRETS TO OFFERING EXCEPTIONAL CUSTOMER SERVICE

    Infographic in Others

    When it comes to customer service, our friends at Salesforce have a few tips and tricks up their sleeve. We were thrilled to help them illustrate four…

    Salesforce Marketing Cloud, Customer Success, Salesforce Tips, Salesforce Infographic, Salesforce Users
    deepti jain Feb 5, 2019
    2,133  Views
    upgrade business

    How To Upgrade Your Business With Salesforce?

    Infographic in Salesforce Stories

    Salesforce has been stretching the possibilities of business growth right from its inception in 1999. Its fierce business model attracted people who eventually moved to…

    Artificial Intelligence, Salesforce, Cloud Computing, Salesforce1, Salesforce Infographics
    Pooja May 7, 2020
    3,546  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.