0

I am creating a PO receipt via my own custom endpoint using the rest API. I can create the receipt and add the lines ok and even assign a PO Nbr, Line Nbr etc to the line as well. But when I view the PO Receipt in Acumatica the the PO Receipt Order Link does not appear under the Purchase Orders tab.

Is there something I have to do to get this link there? As I think it affects tax amounts when the bill is created.

Thanks

GrayFoxNZ
  • 349
  • 1
  • 13

2 Answers2

1

What Acumatica version are you working with?

I created a PO Receipt via Postman using this reference.

I adapted it to my data (Acumatica Sales Demo data) as follows: enter image description here

The result looks correct in Acumatica:

  • We have the Purchase Receipt with the correct reference to the source PO: enter image description here

  • We have the reference to the Purchase Receipt in the PO page: enter image description here

Fernando
  • 433
  • 3
  • 9
0

Not really an answer and not sure if this is a bug in Acumatica.

But if make the call

{
"CreateBill": {"value": true},
"VendorID": {"value": "500508"},
"VendorRef": {"value": "VendorREF"},
"Details": [
    {
        "InventoryID": {"value":"E/104038"},
        "ReceiptQty": {"value": 1},
        "POOrderNbr": {"value": "40393" },
        "POLineNbr": {"value": 1},
        "POOrderType": {"value": "Normal"}
       
    }
]

}

On the Default API endpoint, the receipt appears on the PO.

If I make the same call on my own custom endpoint it doesnt

GrayFoxNZ
  • 349
  • 1
  • 13