I need to develop the following formula in IPC:
320 Condition 1: Value1
330 Condition 2: Value3
340 Condition 3: (Value 1 + Value 2)*100
I guess that I have to use the findPricingCondition method, but I don't know how to work with.
IPricingCondition ConRes1 = findPricingCondition(320 ,0);
IPricingCondition ConRes2 = findPricingCondition(330 ,0);
BigDecimal Res1 = ConRes1.getConditionRate().getValue();
BigDecimal Res2 = ConRes2.getConditionRate().getValue();
BigDecimal Res = Res1 + Res2 ;
This code is very bad coded as I think but I have no idea about Java programing.