Work with notifications

Completed

Notifications are a way to inform the user, without having to block them, about a situation that takes place. You can use error messages or message statements, but when the messages show up, the user needs to act to complete the process.

With the notification, a user can choose to ignore a notification or look at its details. In the following example, a notification is used to display a message if the available inventory for an item is lower than the entered quantity for a certain location.

Screenshot of the Sale Order with a notification example.

When you select the Show details link, another page is displayed with information about the current inventory of this item.

Screenshot of the current inventory details from show details.

Notifications send non-blocking information to the user; therefore, they are different from the Message function. A message is modal and requires an action before it continues with its process, while a notification is non-modal and does not require immediate action by the user.

Notifications appear in the notification bar at the top pages in Business Central. You can dismiss the notification, or if actions are defined, you can select one of the actions.

Additional points about notifications:

  • Multiple notifications can exist concurrently and will appear in chronological order from top to bottom.

  • Notifications remain for the duration of the page instance or until the user dismisses or acts on them.

  • Notifications that are defined on subpages, for example in parts and FactBoxes, appear in the same notification bar.

  • Validation errors on the page will be shown first.