Commit bfa89ac6 authored by kshinde's avatar kshinde

Bug fix porcptrantype null pointer exception

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@182348 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a26ac3e5
...@@ -388,12 +388,12 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec ...@@ -388,12 +388,12 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec
{ {
tranType = discommon.getDisparams("999999", "ASSET_PORCP_TRAN_TYPE", conn); tranType = discommon.getDisparams("999999", "ASSET_PORCP_TRAN_TYPE", conn);
cwipTranType = discommon.getDisparams("999999", "ASSET_PORCP_CWIP_TRAN_TYPE", conn); cwipTranType = discommon.getDisparams("999999","ASSET_PORCP_CWIP_TRAN_TYPE", conn);
porcpTranType = genericUtility.getColumnValue("tran_type ", dom); porcpTranType = genericUtility.getColumnValue("tran_type", dom);
if (cwipTranType == null || cwipTranType.trim().length() == 0) if (cwipTranType == null || cwipTranType.trim().length() == 0)
{ {
tranType = ""; cwipTranType = "";
} }
if (tranType == null || tranType.trim().length() == 0) if (tranType == null || tranType.trim().length() == 0)
{ {
......
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