web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Microsoft Dynamics GP 2016 R2 Business Alerts

(0) ShareShare
ReportReport
Posted on by 487

I have 3 questions for Dynamics GP Business Alerts.

1. Can I execute business alerts forcefully/manually from SQL Server Agent Jobs? e.g. if a alert does not executed on a given scheduled for any reason like server was down, Internet was not working or any other reason. Can I later execute that alert from SQL manually? How? I tried right click on particular Job Name (SQL Agent) and Start Job at Step... but nothing happened.

2. I have configured 5 or 6 business alerts and scheduled on daily basis. But sometimes they work and sometimes they don't. Sometimes 2 out of 6 executes normally and 4 don't work at all. I checked all their conditions and all conditions are true and there is data/information is available to send as alert, but they simply don't work.

3. Is there any documentation available for making SQL SSRS QUERIES/REPORTS/VIEWS to convert into SQL SERVER AGENT JOBS, so that particular Sql Statement/report/view can be executed at given schedule and an auto Email to operator/user. That SQL Query will contain some results, like Today's Purchase Orders etc. I mean if I don't want to use Business Alerts and simple SQL Queries to run at scheduled time and auto Email to number of users/Email addresses etc. 

Kindly acknowledge.

I have the same question (0)
  • Suggested answer
    Justin Sutton Profile Picture
    on at

    Hello Adeel,

    Business Alerts are basically just SQL Jobs, so running them directly from the Job list should work. As a note, you will need to know exactly what the response you are expecting is. I created a quick test alert that would always fire, and had Send To my User ID (Shows as a task on the GP Homepage). When I ran the associated SQL Job, my task appeared.

    As for your non-working alerts, what do you have them setup to Send To? Are the same alerts always failing, or does a different one fail each time? What are the alerts setup to do, is it possible that the conditions are met now, but were not when the alert was setup to run?

    The community may have some nicer ways of pulling off your last ask, but I usually recommend setting up a Job with a SQL Script set to send an email through DB Mail. You can then add a view to the Query part of DB Mail. The link below speaks more about DB Mail, with example B sending an email with Query results:

    docs.microsoft.com/.../sp-send-dbmail-transact-sql

    Thanks!

  • adeel333 Profile Picture
    487 on at

    Thank you for your reply. I am going to try your suggestions and will let you know soon.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 503 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 434 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans