Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3860 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 7 25
7192
1
thg 5 25
1219
2
thg 1 25
2001
1
thg 8 24
1952
1
thg 7 24
2789