跳至內容
選單
此問題已被標幟
3858 瀏覽次數

I am trying to query OpenERP objects using xml-rpc.net from ASP.NET MVC C# to authentificate users.

Here is how im trying to do:

String[] condition = new String[] { "name", "=", "XXXX" };
        ArrayList lstFilters = new ArrayList();
        lstFilters.Add(condition);

        IOpenErp OpenERPOperations = XmlRpcProxyGen.Create<IOpenErp>();
        var oerp_results = OpenERPOperations.search(OERP_DB, UserID, OERP_PASSWORD, "res.users", "read", lstFilters.ToArray());

The thing is that i was reading through documentation but didnt understood how can i get object attributes for a specific object like users.

There is a web service CRUD example for res.partners but not for anything else.

Is there a resource where i can get more into working with objects of OpenERP, like understanding the concepts behind res.xxxxxx and other object types?

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
7月 25
7189
1
5月 25
1218
2
1月 25
2001
1
8月 24
1952
1
7月 24
2787