Question
Can an alert (yellowAlert, redAlert, criticalAlert) be added to a header level element?
...
hidden | true |
---|
...
Answer
It is possible to make an alert on the Quote Header. A code sample:
Code Block | ||
---|---|---|
| ||
quoteProcessor.addOrUpdateOutput([
"resultName" : "OverallMargin",
"resultLabel" : "Overall Margin",
"result" : 0.13,
"formatType" : FieldFormatType.MONEY_EUR,
"resultType" : CalculationResultType.SIMPLE,
"alertType" : "CRITICAL",
"alertMessage": "Details about the problem",
]) |