Skip to content

Nishant Rana's Weblog

Everything related to Microsoft .NET Technology

  • Admin Center URL(s)
  • Sample Code – Dynamics 365 Web API
  • 2021 Release Wave 1 – Dynamics 365
    • 2020 Release Wave 1
    • 2020 Release Wave 2
    • 2019 Release Wave 2
  • Azure
  • Azure Data Lake
  • Azure Functions
  • Power Automate – Approvals
  • PowerApp Portals
  • Omnichannel for Customer Service
  • Power Platform Dataflows
  • Power BI
  • SSIS / KingswaySoft
  • OAuth 2.0
  • Dynamics 365 Mobile App
  • Microsoft Bot Framework
  • Microsoft Dynamics 365
  • Microsoft Dynamics 365 Developer Training
  • Code snippets
  • SoundCloud – My Tunes
  • Books Reviewed
  • Order My Book (Dynamics 365 Application Development)
  • About Nishant Rana
Nishant Rana's Weblog

Tag: CRM

Finding Lead records that have an associated activity with them


Here in the query one more condition is added which is when the Rating is Hot. 

select leadqualitycodename,* from filteredlead As fl inner join dbo.FilteredActivityParty as fap
ON fl.leadid=fap.partyid
and fl.leadid=‘yourleadid’ and leadqualitycodename=‘Hot’ 

Share It -

  • Email a link to a friend (Opens in new window) Email
  • Tweet
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Reddit (Opens in new window) Reddit
  • Share on Telegram (Opens in new window) Telegram
  • Share on Tumblr
  • Print (Opens in new window) Print
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
  • Post
  • Share on Bluesky (Opens in new window) Bluesky
Like Loading...
Unknown's avatarAuthor Nishant RanaPosted on September 28, 2007October 1, 2007Categories Microsoft Dynamics CRMTags CRM, Microsoft Dynamics CRMLeave a comment on Finding Lead records that have an associated activity with them

Posts pagination

Previous page Page 1 … Page 116 Page 117
Advertisements

Blog Stats

  • 6,472,799 hits

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 6,459 other subscribers
Advertisements

KingswaySoft MVP

Archives

Readers

Map
Advertisements
Advertisements

Follow me on Twitter

My Tweets

jooble

jooble
Advertisements
Microsoft Community Contributor

Top 100 CRM Blogs and Websites

Get more details ..

Advertisements

Recent Posts

  • The Attribute with id does not exist — and Staged Metadata is still being processed (Dataverse / Dynamics 365 Issue) April 13, 2026
  • Multiple Active Business Process Flow Instances for a record in Dynamics 365 / Dataverse April 8, 2026
  • “Transaction not started. There is no active transaction” error (Dynamics 365 / Dataverse) April 7, 2026
  • Plugin Registration Tool Login with Multi-Factor Authentication (MFA) – Uncheck “Show Advanced” March 3, 2026
  • No Dependencies Shown… But still can’t delete the component? Check Your Cloud Flows (Dataverse / Dynamics 365) February 25, 2026
  • Solution Failed to Import – Missing Lookup View Dependency in Dataverse / Dynamics 365 February 24, 2026
  • Renaming Sitemap Display Name in Dataverse / Dynamics 365 February 10, 2026
  • Fixed: Audit History Page Not Loading (Dataverse / Dynamics 365) January 22, 2026
  • Why We Switched Our Plugin from PreOperation to PreValidation – Dataverse / Dynamics 365 January 21, 2026
  • Using the Restore Message to Recover Deleted Records in Dataverse January 20, 2026

My Badges – Dynamics 365 Community

Advertisements
Advertisements
Follow Nishant Rana's Weblog on WordPress.com
Log in
  • Admin Center URL(s)
  • Sample Code – Dynamics 365 Web API
  • 2021 Release Wave 1 – Dynamics 365
    • 2020 Release Wave 1
    • 2020 Release Wave 2
    • 2019 Release Wave 2
  • Azure
  • Azure Data Lake
  • Azure Functions
  • Power Automate – Approvals
  • PowerApp Portals
  • Omnichannel for Customer Service
  • Power Platform Dataflows
  • Power BI
  • SSIS / KingswaySoft
  • OAuth 2.0
  • Dynamics 365 Mobile App
  • Microsoft Bot Framework
  • Microsoft Dynamics 365
  • Microsoft Dynamics 365 Developer Training
  • Code snippets
  • SoundCloud – My Tunes
  • Books Reviewed
  • Order My Book (Dynamics 365 Application Development)
  • About Nishant Rana
Nishant Rana's Weblog Website Powered by WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • Nishant Rana's Weblog
    • Join 989 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Nishant Rana's Weblog
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
%d