Commit c1e9e101 authored by prane's avatar prane

Added common validation for tax_environment to (purchase,sales, expense or all).

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@207871 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f937a17b
......@@ -662,7 +662,7 @@ public class PurchaseOrderIC extends ValidatorEJB implements PurchaseOrderICLoca
}
else
{
errCode = disCommon.getCheckTaxEnvStatus(taxEnv, date1, conn);
errCode = disCommon.getCheckTaxEnvStatus(taxEnv, date1,"P", conn);
if(errCode != null && errCode.trim().length() > 0)
{
errList.add(errCode);
......@@ -2680,7 +2680,7 @@ public class PurchaseOrderIC extends ValidatorEJB implements PurchaseOrderICLoca
}
else
{
errCode = disCommon.getCheckTaxEnvStatus(taxEnv, date1, conn);
errCode = disCommon.getCheckTaxEnvStatus(taxEnv, date1, "P", conn);
if(errCode != null && errCode.trim().length() > 0)
{
errList.add(errCode);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment