(root)/ – Rev 36638
Rev 36637 |
Rev 36639 |
Go to most recent revision |
Compare with Previous |
Directory listing |
View Log
| RSS feed
Last modification
- Rev 36638 – 60 d 4 h
- Author: amit
- Log message:
- fix: price drop processing - prevent incorrect credits and priceDropAmount inflation
Two fixes in PriceDropServiceImpl:
1. Use approvedList instead of pendingList in updatePriceDrop call - rejected items
no longer get their priceDropAmount inflated when other items in the same batch
are approved
2. Add effectiveDP eligibility check for PENDING items - rejects IMEIs where
unitPrice - priceDropAmount <= newDp, preventing partners billed at pre-hike
price from receiving reversal drop credits. Check is skipped for APPROVED items
to allow legitimate re-processing and brand-driven rejections