The following Java code writes a new value in the Purchase Order Notes using Web Services:
Code:
...
//Store new value
LinkedList <Integer> ids = new LinkedList <Integer>();
ids.add(new Integer("1"));
LinkedHashMap<String> fields = new LinkedHashMap<String>();
fields.put("notes", "Just another note");
Object []params = {
new String("db"),
new Integer("4"),
new String("secret"),
new String("purchase.order"),
new String("write"),
ids,
fields
};
client.execute("execute", params);
...
Is this just updating a database table or is it using a Python class in charge of updating the database and keeping data consistency? In the first case, I'd expect to be able to use the "write" method with any table. In the second, I am missing a list of classes/services that I would expect to be available somewhere...
Any ideas?
Thanks again,
Giulix