Commit eae1a91c authored by msharma's avatar msharma

SrrString checking condition changed


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97685 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c78ae42b
...@@ -80,8 +80,10 @@ public class QCSampleWizPos extends ValidatorEJB implements QCSampleWizPosLocal, ...@@ -80,8 +80,10 @@ public class QCSampleWizPos extends ValidatorEJB implements QCSampleWizPosLocal,
System.out.println(">>>>>>>>>>Calling stockTranConf Confirm method:"+tranId); System.out.println(">>>>>>>>>>Calling stockTranConf Confirm method:"+tranId);
errString = stockTranConf.confirm( tranId, xtraParams, forcedFlag, conn, toCommit); errString = stockTranConf.confirm( tranId, xtraParams, forcedFlag, conn, toCommit);
System.out.println(">>>>>>>>stockTranConf.confirm return errString:"+errString); System.out.println(">>>>>>>>stockTranConf.confirm return errString:"+errString);
if(errString == null || errString.trim().length() == 0) //if(errString == null || errString.trim().length() == 0)//Condition changed by manoj dtd 31/03/15 to check if errstring>0
if(errString != null && errString.trim().length() > 0 && (errString.indexOf("CONFSUCC") > -1))
{ {
hdrDom = dom.getElementsByTagName("Detail2"); hdrDom = dom.getElementsByTagName("Detail2");
if(hdrDom != null && hdrDom.getLength() > 0) if(hdrDom != null && hdrDom.getLength() > 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