Notifications in UI -NAV 2017
Amol Salvi
18,694
This is really interesting feature introduced in NAV 2017 as Notifications in UI.
NAV 2017 comes up smarter way to send notifications to the UI in Web Client .This will provide notifications to the user about what is happening in transactions.
This will helpful during
1) Shortage on Inventory
2) Customer Balance is negative
3) Customer credit limit exceeded
and many more.......
In the development environment, you create notifications in C/AL by using the newNotification and NotificationScope data types and the following functions.
MESSAGE specifies the content of the notification that appears in the UI
- SCOPE specifies the scope in which the notification appears, which can be LocalScope or GlobalScope.
- SEND sends the notification to be displayed by the client.
- ADDACTION adds an action on the notification.
- SETDATA and GETDATA set and retrieve a data property value for the notification, which is typically needed when actions are invoked.
All the notifications will fire after the validations errors.
Cheers!!!!!!!
This was originally posted here.
*This post is locked for comments