How to Set Alert on Price Grid / Price List / Quote Item

Alerts can only be added for Live Price Grid, Price List or Quote line items (not for elements on the header level).

AlertDisplay in TableDisplay in Calculation Results
api.criticalAlert
Whole line in bright red colorRed circle next to the element
api.redAlert
Corresponding field background in red colorPlain red circle next to the element
api.yellowAlert
Corresponding field background in yellow colorYellow triangle next to the element

The calculation results are visible either in the logic debug dialog or in the 'Details' column of the PGI or in quote dialog.

The logic element where this is used must be marked with the visibility for Price Grids or Price Lists or Quotes, otherwise it will not display anything.