4 Replies Latest reply on Feb 3, 2013 10:02 AM by user545194

    ADF Groovy Expression for calculation


      I am using JDeveloper 11gR2. For a transcient attribute in a VO, I must add an expression that will calculate and return a value according to a business rule.
      I.e. if 'Standard' then column a * 0.3 or column b * 0.3 
                 elsif 'Premium' then column c * 0.3 
                 else 'Luxury' then column d * 0.3 
      Of course, using the appropriate Groovy expression. Does anyone have an example I could try?


      Edited by: user545194 on 02.02.2013 07:28