Skip to content

Confusing error message while creating Pick List for reserved stock #52770

@SandraFrappe

Description

@SandraFrappe

Information about bug

Description:

When creating a Pick List against a Sales Order, the system reserves the required stock. If multiple Sales Orders are created for the same item and the total reserved quantity exceeds the available stock, the system shows a confusing error message while creating the Pick List.

Steps to Reproduce:

Create an Item with total stock = 100 units.

Create Sales Order 1 for 40 units (stock gets reserved).

Create Sales Order 2 for 65 units (stock gets reserved).

Total reserved quantity = 105 units.

Create a Pick List for Sales Order 1.

Try to create a Pick List for Sales Order 2.

Current Behavior:
The system shows the error message:

“5.0 units of Item Item A is picked in another Pick List.”

Image

This message is confusing and does not clearly explain that the issue is due to insufficient available stock because of prior reservations.

Expected Behavior:
The error message should clearly indicate that the stock is already reserved or picked in another Pick List and that the available quantity is insufficient. The message should be more user-friendly and clearly explain the reason.

Impact:
It may get confusing and may not understand that the issue is due to stock reservation and insufficient available quantity.

Module

stock

Version

Frappe Framework: v15.100.0

ERPNext: v15.97.0

Installation method

None

Relevant log output / Stack trace / Full Error Message.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions