R | Name | Initial Value | Value to store | Reset at | Calculate |
![]() |
Expand/Collapse all values of variables | ||||
![]() |
vSubTotal |
![]() 0
|
![]() quantity * MTON(unit_price)
|
Order_number | Sum |
![]() |
vDisCount |
![]() 0
|
![]() iif(discount > 0, vSubTotal * (discount / 100), 0)
|
End of report | None |