I have a document model with some computations. When I run a computation on it I get some errors. One of them is:
Entity: /Calculation[1]/CalculationResults[1]/PerPersonTotalOrder[1]/Net[1] Type: VALUE_ERROR Message: The calculated value is not valid for the field. ErrorCode: berechnungsWertFehler Rule: formalePruefung
The field mentioned in the error message is a number with 0 to 2 decimal places. Looking at the computation for that field it should only produce values with that scale:
RoundAccounting([/Calculation/CalculationResults/TotalOrder/Net] / [/General/CateredPersons], 2)
What is the “calculated value” the message mentions? And is the error actually referring to a computed value not matching a fields declaration? Because in the debugger I see that the error is stored in com.mgmtp.a12.kernel.md.rt.internal.service.DocumentComputationResultImpl.formalErrorsInOperands? How can I find out what the problem for such cases actually is?