Skip to main content

I am trying to add the link below to Navigation lobby by filtering OrderId = 'ERS' and Objstate = ‘PartiallyDelivered'’. Right now it return all Orderid = ‘ERS’. It does not also filter Objstate. Is the link below accurate?

 

page/CustomerOrders/List?$filter=(OrderId eq 'ERS')&((Objstate eq IfsApp.CustomerOrdersHandling.CustomerOrderState'PartiallyDelivered')

The link you provided is almost accurate, but there is a syntax error in the filter query. Specifically, the two conditions inside the parentheses should be separated by an operator (such as "and" or "or").

To filter by both OrderId and Objstate, you can use the following filter query:

$filter=OrderId eq 'ERS' and Objstate eq IfsApp.CustomerOrdersHandling.CustomerOrderState'PartiallyDelivered'
This will return only the CustomerOrders with OrderId equal to 'ERS' and Objstate equal to 'PartiallyDelivered'. You can use this filter query in the link to display only the desired results.

 


Reply