Why is the manualResultPrice not changed until the next calculation?
Question
I observed the following PGI behavior connected to manual overrides: when the ManualPriceExpired goes 0>1 during the calculation, the manualResultPrice is not changed until the next calculation... I've checked the source code and I wonder if those two conditions should be in a reverse order?
AbstractPriceGridCalculationTask.java - public void processPGIResult
if(pgi.getManualPriceExpired())
pgi.setManualResultPrice(null);
if(expireManualResult && pgi.getManualResultPrice() != null)
pgi.setManualPriceExpired(true);
Answer
There was a requirement to do this in two steps so that users have a chance to notice it. If the manual price was just erased, it may confuse users ("why is my manual price gone?").
, multiple selections available,
Related content
How Price Flexibility Package Works
How Price Flexibility Package Works
More like this
Why are some cells in my Price List grayed out?
Why are some cells in my Price List grayed out?
Read with this
Live Price Grid Detail
Live Price Grid Detail
Read with this
Calculation Logics Overview
Calculation Logics Overview
More like this
Calculation Logics Overview
Calculation Logics Overview
More like this
How to remove manual override
How to remove manual override
More like this
Found an issue in documentation? Write to us.