IDEMPIERE-227 Avg Inv Costing: Material receipt must post with purchase order price
http://jira.idempiere.com/browse/IDEMPIERE-227
This commit is contained in:
parent
1ed38faaf8
commit
b3b69eca5d
|
@ -385,6 +385,7 @@ public class Doc_InOut extends Doc
|
|||
//get costing method for product
|
||||
String costingMethod = product.getCostingMethod(as);
|
||||
if (MAcctSchema.COSTINGMETHOD_AveragePO.equals(costingMethod) ||
|
||||
MAcctSchema.COSTINGMETHOD_AverageInvoice.equals(costingMethod) ||
|
||||
MAcctSchema.COSTINGMETHOD_LastPOPrice.equals(costingMethod) )
|
||||
{
|
||||
int C_OrderLine_ID = line.getC_OrderLine_ID();
|
||||
|
|
Loading…
Reference in New Issue