Acumatica Summit 2026 - January 25-28 | Seattle Convention Center — Summit Building
I’m following the example in Lesson 3.1 of the I310 training course. But instead of retrieving attachments of a Stock Item, I want the attachments of a Purchase Order. In Postman, I’m performing a GET to:
https://localhost/PhoneRepairShop/entity/Default/20.200.001/PurchaseOrder/000001?$select=OrderNbr,files&$expand=files
The response is: Operation is not valid due to the current state of the object.
This happens for both open and closed purchase orders. Am I missing something?
Best answer by Dmitrii Naumov
There are two key fields for purchase order.
Type and OrderNbr which one must specify in the uri. So, it should be:
https://localhost/PhoneRepairShop/entity/Default/20.200.001/PurchaseOrder/Normal|000001?$select=OrderNbr,files&$expand=files
assuming its type normal purchase order.
Thanks
@nmansinha
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.