Can an alert be added to a header level element?

Question

Can an alert (yellowAlert, redAlert, criticalAlert) be added to a header level element?

Answer

It is possible to make an alert on the Quote Header. A code sample:

quoteProcessor.addOrUpdateOutput([ "resultName" : "OverallMargin", "resultLabel" : "Overall Margin", "result" : 0.13, "formatType" : FieldFormatType.MONEY_EUR, "resultType" : CalculationResultType.SIMPLE, "alertType" : "CRITICAL", "alertMessage": "Details about the problem", ])

Found an issue in documentation? Write to us.