diff --git a/base/src/org/compiere/model/CalloutInvoice.java b/base/src/org/compiere/model/CalloutInvoice.java index b9f9b2ce0d..6f07ef390e 100644 --- a/base/src/org/compiere/model/CalloutInvoice.java +++ b/base/src/org/compiere/model/CalloutInvoice.java @@ -612,7 +612,7 @@ public class CalloutInvoice extends CalloutEngine boolean IsSOTrx = "Y".equals(Env.getContext(Env.getCtx(), WindowNo, "IsSOTrx")); if (!IsSOTrx) { - BigDecimal TaxAmt = null; + BigDecimal TaxAmt = Env.ZERO; // teo_sarca: [ 1656829 ] Problem when there is not tax selected in vendor invoice if (mField.getColumnName().equals("TaxAmt")) { TaxAmt = (BigDecimal)mTab.getValue("TaxAmt");