6 Replies Latest reply on Oct 30, 2011 1:05 PM by jscherrer

    If qty >11, then calculate 10% discount on amount

    jscherrer

      New to java scripting, I've been looking and need help on the following...

       

      3 fields: 

       

      quant subtotal

      amount subtotal

      discount

       

      If "quant subtotal" is >11, then "discount" =  ("amount subtotal" ) (-10%)

      If "quant subtotal" is <=11, then "discount" =  0