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

Hello,

I have a delivery order OUT/00008 with the id 11. How can I get the corresponding sale order and the invoice if exists, programmatically?

Update: I found the relation between sale_order and account_invoice at sale_order_invoice_rel. But where is the relation between sale_order and stock_picking(delivery orders) ?

Thank you.

アバター
破棄
著作者 最善の回答

I don't know why I don't have seen it...

In stock_picking there is a field called sale_id.

アバター
破棄
関連投稿 返信 ビュー 活動
4
9月 24
8039
1
4月 18
30
0
11月 17
4015
0
3月 15
5955
3
3月 15
9169