Skip to main content
Solved

GET PurchaseReceipt using POOrderNbr


Forum|alt.badge.img+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

@bpgraves,

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.

View original
Did this topic help you find an answer to your question?

2 replies

Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • 632 replies
  • May 16, 2024

@bpgraves filtering on details is not supported


Vignesh Ponnusamy
Acumatica Moderator
Forum|alt.badge.img+5

@bpgraves,

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.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings