Quantcast
Channel: Dynamics User Group
Viewing all articles
Browse latest Browse all 15740

help me online user

$
0
0

static void sendMsgToOnlineUsers(Args _args)
{
Eventmsgbox msgbox;
EventmsgboxId msgboxId;
SysClientclientsessions1 clientsessions1;
;
while select clientsessions1
where clientsessions1.Status == clientsessions1tate::Running
{
msgboxId = Eventmsgbox::nextEventId();
msgbox.initValue();
msgbox.ShowPopup = NoYes::Yes;
msgbox.Subject = "Message aler";
msgbox.Message = "Message testing from ax application";
msgbox.SendEmail = false;
msgbox.UserId = clientsessions1.userId;
msgbox.msgboxId = msgboxId;
msgbox.AlertCreatedDateTime = DateTimeUtil::getSystemDateTime();
msgbox.insert();
}
}

 

error is 

Variable Eventmsgbox has not been declared.

 

plz help me 

v v reddy 


Viewing all articles
Browse latest Browse all 15740

Latest Images

Trending Articles



Latest Images