[ 1812144 ] In LandedCost Cost Distribution for type "Cost" is not work.
This commit is contained in:
parent
2605bb1a79
commit
98baad232a
|
@ -580,8 +580,12 @@ public class MInOutLine extends X_M_InOutLine
|
|||
{
|
||||
if (MLandedCost.LANDEDCOSTDISTRIBUTION_Costs.equals(CostDistribution))
|
||||
{
|
||||
// TODO Costs!
|
||||
log.severe("Not Implemented yet - Cost");
|
||||
//Goodwill
|
||||
int c_OrderLine_Id = getC_OrderLine_ID();
|
||||
if(c_OrderLine_Id != 0){
|
||||
MOrderLine oLine = new MOrderLine(getCtx(), c_OrderLine_Id, get_TrxName());
|
||||
return oLine.getLineNetAmt();
|
||||
}
|
||||
return Env.ZERO;
|
||||
}
|
||||
else if (MLandedCost.LANDEDCOSTDISTRIBUTION_Line.equals(CostDistribution))
|
||||
|
|
Loading…
Reference in New Issue