Источник:
http://alexvoy.blogspot.com/2008/04/...-in-ax-40.html
==============
When I started looking for how to send an alert to online users I found very few links on this topic. Here they are:
I compiled everything and created the little project AlertFromCode.xpo that can be useful in daily administrator work. A few words about that:
-
Send Alerts button on
Online Users form

-
Send Alert dialog where a user can choose various options

for example, to send the alert by:
- popup window inside AX environment (it can be seen on EventAlertInbox form)

- e-mail to the mailboxes of recipients

- net send command to the computer which the user connected from

moreover, it is possible to log results of e-mail and net sending attempts in
Infolog (they are not stored in
EventAlertInbox)
Notes:
Name of sender which placed in
Subject of the message is taken from appropriate
E-mail Templates which chosen in
Alert Parameters.
Keep in mind that
Alerter Service should be started on the client side in order to receive messages of
net send command. If not the class will show the warning but it takes much time to wait for a response from the command.
Источник:
http://alexvoy.blogspot.com/2008/04/...-in-ax-40.html