Hi everyone,
I’ve been trying to retrieve data via OData using a Generic Inquiry (GI) with a parameter, but I’m running into some issues.
In my GI, I’ve defined a parameter named PPeriod and when I use it in the Acumatica web UI (for example, entering "092025" for 09-2025), everything works fine — I get the expected result with EndDate as 2025-02-02, along with the correct data for document FCV002141.


However, when I call the same GI via OData in Postman using the same parameter, I receive a 200 OK response but it completely ignores the parameter and returns bad data :

If I try with REST API, it work, but i need the odata ..

Here’s what I’ve confirmed so far:
-
The parameter is correctly defined in the metadata as:
<Function Name="AR_Documents_PeriodSensitive"> <Parameter Name="PPeriod" Type="Edm.String" /> <ReturnType Type="Collection(GenericInquiry.AR_Documents_PeriodSensitive)" Nullable="false" /> </Function> -
When using the REST API with the same filter value, it works as expected.
-
But I specifically need this to work via OData for integration reasons.
Has anyone faced a similar issue with GI parameters not applying in OData calls? Any insights on what I might be missing or misconfiguring?
Thanks in advance!


