Hi Team,
I have noticed a critical issue in the Purchase Receipt workflow.
Steps to Reproduce:
- Create a Purchase Order with:
- Item A, Qty = 10
- Create a Purchase Receipt against that PO:
- Row 1: Item A, Qty = 10 (valid)
- Row 2: Item A, Qty = 100 (duplicate item row)
- Submit the Purchase Receipt.
Issue:
- The system allows submission.
- The final Purchase Receipt Qty = 110, while the Purchase Order Qty = 10.
- “Allow Over Receipt” checkbox is not enabled.
Expected Behavior:
- System should consolidate all rows of the same item linked to the same PO and validate against the ordered quantity.
- If total received > ordered qty (and no tolerance/over receipt allowance is given), submission should be blocked.