Hi,
I try to do something with bots but I do not find the correct mecanism.
I have an "order" table and an "order_line" table. I can add order lines from the order form. When saving the order, I would like to create a row in my "stock_entry" table. I also want to create several rows in my "stock_entry_line" table, for each order lines. These stock entry lines being child of the stock entry row previously created.
Process step by step :
- Create order (open order form)
- add order lines (from order form directly using the "Is part of" mecanism)
When saving order form :
- create stock_entry
- create stock_entry_lines, for each order_lines. Each stock_entry_line being related to the stock_entry previuosly created.
I know how to use bots to create stock_entry from the order and stock_entry_lines form the order_lines separately. I don't understand how to combine these 2 processes.
Chris
User | Count |
---|---|
17 | |
12 | |
5 | |
5 | |
5 |