How to send notification to specified user in C/AL?

undy0602undy0602 Member Posts: 67
edited 2017-10-25 in Navision e-Commerce
Hello developers?
I want to send notification to Employee manager (USERID) when Quote created using C/AL. System notification and email notification

Answers

  • vivek4121vivek4121 Member Posts: 165
    Check this via Workflows if you are using NAV 2016 and above version.
  • undy0602undy0602 Member Posts: 67
    Can I send to users(USERID) using below notification coding?
    MyNotification.MESSAGE := 'This is a notification';
    MyNotification.SCOPE := NOTIFICATIONSCOPE::LocalScope;
    MyNotification.SEND;
  • Slawek_GuzekSlawek_Guzek Member Posts: 1,690
    Nope I'm afraid.

    In NAV 2017 notifications work within a one page only. For example if you have a Document page displaying some header and some lines, all notifications send from any code run on the page, or run in other objects called from that page, will show up on the page only.

    Slawek
    Slawek Guzek
    Dynamics NAV, MS SQL Server, Wherescape RED;
    PRINCE2 Practitioner - License GR657010572SG
    GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
Sign In or Register to comment.