Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
36016 26 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Optimize UI GRN flow: batch duplicate IMEI check and eliminate redundant DB calls

- Add selectActiveSerialNumbers batch query to check all IMEIs in 1 call instead of N
- Cache supplierWarehouse per PO (1 query per PO instead of per IMEI)
- Pass pre-loaded Item and InventoryWarehouse to addInventoryItem, skip re-fetching
- Add overloaded addInventoryItem(item, supplierWarehouse) to WarehouseService
 
36015 54 m amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Set internal flag on supplier when warehouse is assigned

- updateSupplier: set internal=true when internalWarehouseId > 0
- Clear internalWarehouseId and set internal=false when warehouse is unset
- Resolves merge with r36014 keeping the more thorough > 0 check
 
36014 55 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Add duplicate IMEI check at V2 GRN using exists query

- Add existsActiveInventoryItemBySerialNumber to WarehouseInventoryItemRepository
Uses COUNT query to avoid NonUniqueResultException on duplicate serials
- Block GRN when serial number already exists with currentQuantity > 0
 
36013 2 h 4 m ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ supplier on edit internal false fix  
36012 4 h 1 m aman /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ Fix:Delay report  
36011 5 h 21 m ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/cs/ now in breaks logs duration less than 1 mint do not fetch and save in entity  
36010 21 h 25 m aman /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fix:Redesign the Po Approval page add total count, Add mail in bcc for testing , partnerpending task api response optimisation,  
36009 21 h 27 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ Fix duplicate IMEI handling in GRN and debit note return flows

- Add duplicate serial number check in V2 GRN path (WarehouseServiceImpl.addInventoryItem)
Rejects GRN if IMEI already exists with currentQuantity > 0
- Harden serial→whItem lookup in receiveDebitNoteItems and rejectReturn
Use composite key (serialNumber|itemId) instead of serialNumber alone
Prevents wrong inventory item selection when same IMEI has multiple records
- Add orderId cross-validation in receiveDebitNoteItems for SALE scan mismatch detection
- Fix missing supplierWarehouseId on SALE_RET and reversal scans in debit note flows
 
36008 21 h 44 m aman /trunk/ Fix:Redesign the Po Approval page add total count, Add mail in bcc for testing , partnerpending task api response optimisation,  
36007 21 h 56 m ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/monitors/ mapping profitmandi constant  
36006 22 h 1 m ranu /trunk/ mapping profitmandi constant  
36005 22 h 21 m ranu /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/ mapping profitmandi constant  
36004 1 d 4 h vikas /trunk/ Added Store Code in Visit Report  
36003 1 d 4 h aman /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Fix:Delay report  
36002 1 d 21 h amit /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/transaction/ Show total pcs, total DP value, and total selling price in pending approval header  
36001 1 d 21 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/ Add totals to pending approval page and use FormattingUtils for consistent number formatting  
36000 2 d 1 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/service/ available status ...modification  
35999 3 d 17 h amit /trunk/profitmandi-fofo/src/main/ Invoice Return: role-based auth (receive/refund), remove unused finance fields, warehouse column in debit notes table  
35998 3 d 21 h amit /trunk/profitmandi-fofo/src/main/ Invoice Return: controller endpoints, UI views (receive/refund/reject/details/search), JS handlers, role-based access, dashboard menu  
35997 3 d 21 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Invoice Return: PurchaseReturnOrder entity, ReturnAction DAO enum, receive/refund/reject service, ReturnOrderInfo selectByOrderId  

Show All