コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6308 ビュー

How can I complete the picking from XML-RPC (Deliver Products / "Deliver" button from web ui)?

my code looks like this now (nothing happens):

     $this->msg = new xmlrpcmsg('exec_workflow');
     $this->msg->addParam(new xmlrpcval($this->database, "string"));
     $this->msg->addParam(new xmlrpcval(1, "int"));
     $this->msg->addParam(new xmlrpcval($this->password, "string"));
     $this->msg->addParam(new xmlrpcval("stock.picking.out","string"));
     $this->msg->addParam(new xmlrpcval("button_done", "string"));
     $this->msg->addParam(new xmlrpcval($order_id, "int"));
     $this->res = &$this->client->send($this->msg);
     $order[] = $this->res->value()->scalarval();
アバター
破棄
最善の回答

$this->msg->addParam(new xmlrpcval($order_id, "int"));

In place of "$order_id" if you give its corresponding stock.picking id , I think it will worked.

アバター
破棄
関連投稿 返信 ビュー 活動
1
7月 25
2348
1
5月 23
2407
0
12月 23
7051
1
3月 17
6248
0
8月 15
3625