Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
5895 Weergaven

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.

Avatar
Annuleer
Auteur Beste antwoord

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

In stock_picking there is a field called sale_id.

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
4
sep. 24
7191
1
apr. 18
30
0
nov. 17
3755
0
mrt. 15
5577
3
mrt. 15
8661