Skip to Content
Menu
This question has been flagged

Because in the stock_move table, the procurement_id field is left blank if its part of an existing procurement.. This obstructs me from sending information from Sales Order Line to it's respective BoM product(s) in Manufacturing Order.


Example

Product A = B+C+D

In Sales Order Line select Product A, (with user input product A information)

Manufacturing Order for Product A has a procurement_id so product A information will appear

Manufacturing Order for Product B,C & D has no procurement_id  so no Product A information will appear


SO I plan to loop through stock_move table. & for each production_id value that is empty, it to be equal to the production_id in the previous row


Thanks a lot

Avatar
Discard
Related Posts Replies Views Activity
0
Apr 24
1711
4
Nov 23
5703
0
Oct 23
1445
0
Dec 22
2394
2
Dec 23
19000