CR 8.5 against Oracle
I have 2 goups - Buyer & order_line
At the order_line_del header I have 3 formulas:
QL = {QTY_DUE}-Sum ({QTY_ARRIVED}, {@order_line})+Sum ({QTY_RETURNED}, {@order_line})
15 = if {DELIVERY_DATE} in (today - 15) to today
then {@qty_late} * {UNIT_PRICE}
else 0
45 = if {DELIVERY_DATE} in (today - 45) to (today - 16)
then {@qty_late} * {UNIT_PRICE}
else 0
I need to sum the formulas QL, 15 & 45 for each Buyer group. I can do a Running Total on QL but cannot do this for 15 & 45. I also cannot do a summary on 15 & 45. Appreciate your help on a solution.
I have 2 goups - Buyer & order_line
At the order_line_del header I have 3 formulas:
QL = {QTY_DUE}-Sum ({QTY_ARRIVED}, {@order_line})+Sum ({QTY_RETURNED}, {@order_line})
15 = if {DELIVERY_DATE} in (today - 15) to today
then {@qty_late} * {UNIT_PRICE}
else 0
45 = if {DELIVERY_DATE} in (today - 45) to (today - 16)
then {@qty_late} * {UNIT_PRICE}
else 0
I need to sum the formulas QL, 15 & 45 for each Buyer group. I can do a Running Total on QL but cannot do this for 15 & 45. I also cannot do a summary on 15 & 45. Appreciate your help on a solution.