Nav2013 -> call odata web service ->set value in querystring

AkalaAkala Member Posts: 2
edited 2013-11-21 in Navision e-Commerce
Good morning,

I'm calling odata query from my code (c #) and I have doubts about how to pass a parameter to that query (not a filter).

This parameter we used to get, for example, have a customer discount on a product, from the client code in the query:

  [url=http://myServer:myPort/MyDataBase/ODATA/Company('myCompanyName']http://myServer:myPort/MyDataBase/ODATA ... mpanyName'[/url])/Product_List()?Customer_Filter='{CodClient}'

But when we run the query returns the correct values​​, so my question is if I am correctly setting the value in the field and if not, anyone know which is the right way to do it?

I apologize in advance if this is not forum / correct section / a to put my question.

Thank you very much in advance!

Akala
Sign In or Register to comment.