FIFO Costing Algorithm problems (bug?) Private: (?)
Supose, that you have in M_CostQueue, for a given
dimension (AD_Org, C_AcctSchema_ID, M_Product_ID,
M_ASI_ID, ...), the folowing values:
(node 1) qty=5, price=20
(node 2) qty=20, price=25
If you make a shipment for qty > 20 (e.g. qty=30), the
costing result will be 5 * 20 + 20 * 25 + 5 * 25, and
the queue will be "CLEAN" (qtys = 0).
This is an error, because you ARE NOT ALLOWED to pop
from queue more qty that you have. Also, how do you
know that for the rest of the qty (5 UOM), the costing
is 25 * 5 ?
I sugest this is a bug.
Log in to post a comment.