Hi All,
I have a Java mapping requrement for which I would like some suggestions.
I have 3 variables:
1) price
2) price factor
3) pricing condition
There is already quite a bit of logic determining these.
The new requirement is that if the price has a precision greater than 2 (eg 1.234 but not 1.23) then:
1) set price = price * 10
2) set price factor = 10
3) set pricing condition = "ZMPE"
Since it is unclear to me that there is an easy way to modify the current logic, I would rather try to take the current output for these 3 variables and override their values in the way described above. (I did try modifying the current logic but I have found it gave me problems.)
So is there a simple way that I can take the current values and override them in the way described. For instance can I do this with a single User Defined Function.
Thanks in advance.
Cheers
Gerard