erpnext icon indicating copy to clipboard operation
erpnext copied to clipboard

Received Validation on Purchase Order not working properly

Open mro-admin opened this issue 2 years ago • 1 comments

Information about bug

If an item in a purchase order is overreceived and the qty of the overreceived item is equal to the qty of the other items yet to be received ERPNext marks the purchase order as fully received. For example you have a purchase order with 3 line items for 1 each and for the first line there is an over receipt of 3 qty. It will mark the purchase order as completed even if the other line items haven't been received yet

Module

accounts, buying

Version

Frappe Framework: v13.33.1 ERPNext: v13.34.1

Installation method

No response

Relevant log output / Stack trace / Full Error Message.

No response

mro-admin avatar Jul 05 '22 19:07 mro-admin

I have a purchase order with two items. One of the item is over received, the other is not received. The Purchase Order is still marked as To Receive.

image

image

dj12djdjs avatar Jul 11 '22 21:07 dj12djdjs

@mro-admin

I am not able to replicate the issue locally

I have created Purchase Order and added same item 3 times in the Purchase Order Item table. Then I have created purchase receipt and removed row 2 & 3 and increased the quantity of first row from 1 to 3.

After Submission of purchase receipt, I have checked the PO status and it was showing correctly as "To Receive and Bill"

Purchase Receipt

image

Purchase Order Screenshot 2022-09-29 at 1 40 00 PM

Status showing correct value as "To Receive and Bill"

rohitwaghchaure avatar Sep 29 '22 08:09 rohitwaghchaure