bug fix [ 1656829 ] Problem when there is not tax selected in vendor invoice

This commit is contained in:
teo_sarca 2007-02-10 16:39:09 +00:00
parent 7baf3f45c9
commit 55bd572c59
1 changed files with 1 additions and 1 deletions

View File

@ -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");