GET PurchaseReceipt using POOrderNbr

Userlevel 2

I’m trying to use Postman to retrieve a PurchaseReceipt but the only way I’ve been able to do this is by filtering by the ReceiptNbr.  Is there a way to filter by POOrderNbr?

Here's what works successfully:
/entity/Default/22.200.001/PurchaseReceipt?$filter=ReceiptNbr eq 'PR00153430'&$expand=Details

This returns an error ("The parent value for a property access of a property 'POOrderNbr' is not a single value. Property access can only be applied to a single value"):
/entity/Default/22.200.001/PurchaseReceipt?$expand=Details&$filter=Details/POOrderNbr eq 'PO53414'




Best answer by Vignesh Ponnusamy 16 May 2024, 17:18

View original

2 replies

Userlevel 7
Badge +5

@bpgraves filtering on details is not supported

Userlevel 7
Badge +5


Alternatively, you can create a Generic Inquiry to filter and list the detail lines. Then map the GI to the endpoint to retrieve it from API.


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved