Commit 0683757c authored by kshinde's avatar kshinde

Porcp tran type not initialised while comparing to asset tran type.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@182229 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 498e6f2b
......@@ -389,6 +389,7 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec
tranType = discommon.getDisparams("999999", "ASSET_PORCP_TRAN_TYPE", conn);
cwipTranType = discommon.getDisparams("999999", "ASSET_PORCP_CWIP_TRAN_TYPE", conn);
porcpTranType = genericUtility.getColumnValue("tran_type ", dom);
if (cwipTranType == null || cwipTranType.trim().length() == 0)
{
......@@ -409,7 +410,7 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec
System.out.println(" porcpTranType is " + porcpTranType.trim() + "tranType is = " + tranType.trim());
if (!porcpTranType.trim().equalsIgnoreCase(tranType.trim()))
{
if (!porcpTranType.trim().equalsIgnoreCase(cwipTranType))
if (!porcpTranType.trim().equalsIgnoreCase(cwipTranType.trim()))
{
errCode = "VTRCPTYPE1";
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