BF [ 1686773 ] Invoice: inconsistent use of TaxAmt, LineTotalAmt
http://sourceforge.net/tracker/?func=detail&atid=879332&aid=1686773&group_id=176962
This commit is contained in:
parent
f0bbcfb54d
commit
1a38ecddf2
|
@ -773,7 +773,9 @@ public class MInvoiceLine extends X_C_InvoiceLine
|
||||||
|
|
||||||
// Calculations & Rounding
|
// Calculations & Rounding
|
||||||
setLineNetAmt();
|
setLineNetAmt();
|
||||||
if (getTaxAmt().compareTo(Env.ZERO) == 0)
|
// TaxAmt recalculations should be done if the TaxAmt is zero
|
||||||
|
// or this is an Invoice(Customer) - teo_sarca, globalqss [ 1686773 ]
|
||||||
|
if (m_IsSOTrx || getTaxAmt().compareTo(Env.ZERO) == 0)
|
||||||
setTaxAmt();
|
setTaxAmt();
|
||||||
//
|
//
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue