Hello,
I noticed that a call like ...@api.ordoro.com/purchase_order/3015/
will show something like this for the items:
...
{
"id": 906813,
"quantity": 4,
"unit_price": 0.0,
"_link": "/purchase_order/3015/line/906813/",
"product": {
....},
"to_be_shipped": 3,
"available_on_hand": -2,
**"quantity_received": 8**
....
As you can see, the quantity_received is greater than the quantity.
Checking the good_receipts, I found that this product has tow good receipts, each one with receiving 4 products, thus 8 received.
However, one of the good_receipts ( âgoods_receipt_idâ: â20191121-122809716â) has status = deleted.
{
"status": "deleted",
"updated": "2019-11-21T19:25:49.101391+00:00",
"goods_receipt_id": "20191121-122809716",
"created": "2019-11-21T18:28:09.718513+00:00",
"received": null,
"_link": "/goods_receipt/20191121-122809716/",
"po_id": "3015",
"po_status": "partial",
"items": [
{
"id": 1646554,
**"po_item_id": 906813,**
"quantity": 4,
"product": {
etc..
If the good receipts was deleted, shouldnât the respective quantity be deducted from the âquantity_receivedâ field?
Regards,