Skip to Content
Sep 05, 2019 at 08:44 AM

IPC overwriteConditionValue doesn't update CRM condition value

209 Views Last edit Sep 05, 2019 at 09:30 AM 3 rev

Hi experts

I'm replicating a new custom ECC pricing formula in CRM.

No problems with others formulas, but with this new one, i'm not able to update the condition value in CRM.

The condition is a discount condition, and following oss note 80183, i've implemented my formula to round the value.

The problem is that, even if the java formula returns correctly the value rounded, CRM dosn't update the condition value (not the condition rate) with this value.

i've even tried this code:


return new BigDecimal("-990");

CRM correctly deactivate the condition and update the old value with -990.


whit this code

return new BigDecimal("-990");

CRM keep the old condition value and doesn't update the condition with -990..

I really understand what's going wrong. Anybody can help me?

Best regards