bug fix [ 1656829 ] Problem when there is not tax selected in vendor invoice
This commit is contained in:
parent
7baf3f45c9
commit
55bd572c59
|
@ -612,7 +612,7 @@ public class CalloutInvoice extends CalloutEngine
|
||||||
boolean IsSOTrx = "Y".equals(Env.getContext(Env.getCtx(), WindowNo, "IsSOTrx"));
|
boolean IsSOTrx = "Y".equals(Env.getContext(Env.getCtx(), WindowNo, "IsSOTrx"));
|
||||||
if (!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"))
|
if (mField.getColumnName().equals("TaxAmt"))
|
||||||
{
|
{
|
||||||
TaxAmt = (BigDecimal)mTab.getValue("TaxAmt");
|
TaxAmt = (BigDecimal)mTab.getValue("TaxAmt");
|
||||||
|
|
Loading…
Reference in New Issue