frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)

Home Page:https://erpnext.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 Screenshot 2024-06-15 at 1 41 44 PM

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"

Screenshot 2024-06-15 at 12 59 51 PM Screenshot 2024-06-15 at 1 41 44 PM

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.