Skip to Content
Menu
This question has been flagged
1 Reply
1575 Views

Hello,


we want to compute a "custom" margin for each sale_order_line (sale-price - effective purchase price).

this should be based on the effective purchase-price and not based on the purchase price that is defined in products (so not from pruduct_supplierinfo).


what would be the correct approach for that?


-durnig adding a sale order manually how should the system know which of the latest purchase orders should be used for getting the effective purchase price?

-Or should we use an average of the last purchases?


-problem is that during creating a sale order the system does not know what product from stock will be taken.


-is there a possibility to get information from stock_quant or stock_move from which purchase_order the article originally came into the System?





Avatar
Discard
Best Answer

is there a solution? Share please. thanks

Avatar
Discard