Stock Entry type- Material Transfer or Manufacturing.
Items fetched from BOM. Particular Source Warehouse selected. Record saved. Batch Bundle created and set for particular item code in items table. Now the issue is if user changes the warehouse, Serial and Batch Bundle record does not get updated with new warehouse as per available stock in that warehouse. Or on validate it gives error Batch Bundle is not valid for selected warehouse. Either Batch Bundle should get updated with latest warehouse selected or it should create other record for Batch Bundle and doing away with earlier created records.