How To Create Events i.e Alerts through X++ Code

Hi All,

I have a Task in hand.I have to Create Events i.e alerts through X++ Code.Can You Please Help mee out with something??

if you want any specific logic then please explain in detail otherwise below link will help you a lot

Thank you for your reply Kunal,

Actually I want to Create Alert On The click Of Ship Transfer Order On Transfer Order Form To 20 users in sequence.

Can You help me with that.

please check that link which I have sent you , in that link you can simply use the loop and pass the userid in the parmuser for which you want to generate alert

please also refer the below link , you can use code in the click method and also you can pass the information related to the ship order with the message and subject field of this table and it will directly show the alert to that user