(root)/ – Rev 38043
Rev 38042 |
Compare with Previous |
Directory listing |
View Log
| RSS feed
Last modification
- Rev 38043 – 8 h 42 m
- Author: amit
- Log message:
- Scheme re-run: do not pay margin again on units the customer returned
After a partial return, the returned units' scheme rows are REJECTED and the
payout treated them as unpaid, so a re-run (process-schemes / category upgrade)
credited their margin again on the still-live invoice.
- processSchemeOut leaves out units with a SALE_RET / SALE_RET_UNUSABLE scan on the same order
- missed-activation special support query skips the same units (forced inventory_item index; the order_id index walks ~0.9M order_id=0 scans)
- ProcessSchemeOutReturnedUnitTest