Skip to Content
1
Jan 19, 2023 at 06:02 AM

How to write DataQuery to Pass array of same Property in Android

269 Views

How to write DataQuery to Pass array of same Property in Android

/sap/opu/odata/sap/Z_OFS_PRODUCTION_ORDER_PICKING_SRV/GetProductionOrderSet?$filter=ProductionOrderNumber eq '000100009450' or ProductionOrderNumber eq '000100010361'

We have to pass ProductionorderNumber in "or" case with multiple entries

Workround

val queryFilter=QueryFilter()

        
for()
{
queryFilter.or(GetMaterialStock.storageLocation.equal(sloc.toString()))
}


filter(queryFilter)


tried above one and didn't work