Skip to Content
0
Nov 25, 2019 at 08:22 AM

filter/querry parameters with "or" operation, in odata call

148 Views Last edit Jun 27, 2021 at 01:54 PM 2 rev

Hello All,

Hope you are doing good!

I am trying , to pass filter parameters with "or" operation, in odata call to fetch records for a read querry.

PFB read url/querry:

TruckloadOptimizationStatusSet?$filter=(IMaterial eq '149D7B' or IMaterial eq '216F90') and (IQuantity eq 0 or IQuantity eq 0) and (IPlant eq '3601' or IPlant eq '') and (IShipTo eq '12057502' and ITrasGroup eq '0002').

From ui side, the materials and quantities are to be passed, after clicking on "Add to Cart" button as per attached screenshot:

appscreenshot.png

Can anyone please help me, on how to pass the filter parameters, for read operation, especially the IMaterial and IQuantity, from ui/frontend?

BR,

Sushant

Attachments

appscreenshot.png (23.9 kB)