Batch No of an Item has negative stock of quantity -30.0 in the warehouse
PraveenkumarSubramani opened this issue · comments
Information about bug
While Submitting the Delivery Note, the following warning occurs. "Batch No EET-2405459 of an Item has negative stock of quantity -30.0 in the warehouse Mother Warehouse - ELPL"
![Screenshot 2024-06-15 at 12 59 51 PM](https://private-user-images.githubusercontent.com/93510095/339966619-a1ed56a0-5e12-43ae-bd19-b64dcaf200ee.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE2OTQ5NDMsIm5iZiI6MTcyMTY5NDY0MywicGF0aCI6Ii85MzUxMDA5NS8zMzk5NjY2MTktYTFlZDU2YTAtNWUxMi00M2FlLWJkMTktYjY0ZGNhZjIwMGVlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIzVDAwMzA0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE4NGM1N2Q5OTBmM2ZjZjc2NjFhMjVjMTI0MmJiZDEwNzVlNjBiMjBlOTVlNmJiYWFlZWRhMTgxMWU1N2ZhMzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.dX_QhFhdL-z244d6mQ80z-K5rSYHTC0HBGkCDD-S-K4)
![Screenshot 2024-06-15 at 1 41 44 PM](https://private-user-images.githubusercontent.com/93510095/339966764-39dec927-b14f-4937-93ad-e92796cdcf31.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE2OTQ5NDMsIm5iZiI6MTcyMTY5NDY0MywicGF0aCI6Ii85MzUxMDA5NS8zMzk5NjY3NjQtMzlkZWM5MjctYjE0Zi00OTM3LTkzYWQtZTkyNzk2Y2RjZjMxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIzVDAwMzA0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM1NmRmYTljZGY5MmE5ZWRlYzJlNjNjNTkwZmZhOGQ2YTYzYzk0ZDczMzEzODBjYWJkYzg1MGY2MzY1MDgyMmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.5KmY11yDJaBDIEBJdj0TIjkLzNMeKQ1FDwkCgKWjYM4)
Module
stock, selling
Version
Frappe Version - v15.29.2
ERPNext Version - v15.27.6
Installation method
None
Relevant log output / Stack trace / Full Error Message.
No response
Please check the time of your last stock purchase and the time on your delivery note. If the time of your last stock purchase is before you create the delivery note, then this will happen.
@Nihantra-Patel We ensured it. But the purchase is not done after delivery note and we are creating the delivery note for current date.
@Nihantra-Patel We ensured it. But the purchase is not done after delivery note and we are creating the delivery note for current date.
can you share me stock ledger
@PraveenkumarSubramani do you have submitted serial and batch bundles with no Voucher No?
Information about bug
While Submitting the Delivery Note, the following warning occurs. "Batch No EET-2405459 of an Item has negative stock of quantity -30.0 in the warehouse Mother Warehouse - ELPL"
Module
stock, selling
Version
Frappe Version - v15.29.2 ERPNext Version - v15.27.6
Installation method
None
Relevant log output / Stack trace / Full Error Message.
No response
you need to check time of purchase receipt / purchase invoice
sales invoice or delivery date time should be after the time of purchase receipt / purchase invoice
@rohitwaghchaure Yeah we have submitted serial and batch bundles without voucher no. After Cancel those serial and batch bundles, this issue solved.
@rohitwaghchaure Thanks!!!