Hello,

I am developing a module on my company software that integrates stock 
management with OpenERP Server via xmlrpc client. 
One of the the requirements is that the user never will see OpenERP. All the 
interaction with OpenERP must be made on our company software.
Our company software is develop in Java Programming Language. Currently we 
already made an abstract OpenERP Client Java API that search, read, create, 
update and get reports.
Basically we are using ws-xmlrpc client library and Object[], AbstractMap 
objects to read and manipulate data.
At this moment we already can create partners, products and orders and preview 
pdf order reports.

The next step is to make some actions, like:
- Stock Picking. We want to post to OpenERP Server instructions like:

> Make Picking to stock_picking line id 7 with quantity 3, for example.


What is the best way to do stuff like this?

We already test this:
Object[] ids = new Object[]{8};
Object[] params = new Object[]{client.getDbName(), 
client.getUid(), client.getPassword(), "stock.picking", 
"action_done", ids};
Object result = client.execute(params);
The result was successfull, but we can not specify the quantity picked.

Thanks for your answers,
Bruno




-------------------- m2f --------------------

--
http://www.openerp.com/forum/viewtopic.php?p=27840#27840

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to