Rev 36101 |
Last modification |
Compare with Previous |
View Log
| RSS feed
Last modification
- Rev 36102 2026-03-30 18:34:22
- Author: amit
- Log message:
- Fix IRN error 2189 for margin scheme invoices + handle non-serialized debit note returns
GstProService: Fix float precision drift in TotItemVal calculation for margin scheme items.
Use BigDecimal for OthChrg subtraction and set TotItemVal directly to sellingPrice
instead of re-adding float components. Fixes all RF- invoice IRN failures including
zero-margin internal orders.
PurchaseReturnServiceImpl: Add non-serialized item handling in receiveDebitNoteItems
and refundOrder. Previously non-serialized items skipped warehouse scan creation,
quantity adjustment, order status update, and ReturnOrderInfo creation. Also pre-loads
items to avoid N+1 queries and unifies scan type determination for both paths.