I am trying to create a simple Query with Item Inventory, then I want to call it with OData using Location_Filter.
I created a Query object:
and when I call
/ODataV4/Company('TEST04')/ItemStock?$filter=No eq '16721'
it works fine, but when I try to filter on Location:
/ODataV4/Company('TEST04')/ItemStock?$filter=No eq '16721' and Location_Filter eq 'MAIN'
I get an error:
"message": "Could not find a property named 'Location_Filter' on type 'NAV.ItemStock'."
Is there a way to use FlowFilter on Query object via OData? I need to do it dynamically (call different filters every time), so I cannot hardcode it into the Query.