Commit 750b5368 authored by pshinde's avatar pshinde

process of Site Item Update


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97938 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ca521611
...@@ -105,6 +105,29 @@ public String process(Document headerDom, Document detailDom, String windowName, ...@@ -105,6 +105,29 @@ public String process(Document headerDom, Document detailDom, String windowName,
System.out.println("suppSour["+suppSour+"]"); System.out.println("suppSour["+suppSour+"]");
System.out.println("siteCodeSupp["+siteCodeSupp+"]"); System.out.println("siteCodeSupp["+siteCodeSupp+"]");
//added by priyanka on 5/05/15 as per manoj sharma instruction
if(integralQty!=null && integralQty.trim().length()>0)
{
if(integralQty.equalsIgnoreCase("0"))
{
System.out.println("integralQty before==========="+integralQty);
integralQty=null;
System.out.println("integralQty after==========="+integralQty);
}
}
if(reoQty!=null && reoQty.trim().length()>0)
{
if(reoQty.equalsIgnoreCase("0"))
{
System.out.println("reoQty before==========="+reoQty);
reoQty=null;
System.out.println("reoQty after==========="+reoQty);
}
}
if(checkNull(integralQty).trim().length() == 0 && checkNull(reoQty).trim().length() == 0 && checkNull(itemSer).trim().length() == 0 && if(checkNull(integralQty).trim().length() == 0 && checkNull(reoQty).trim().length() == 0 && checkNull(itemSer).trim().length() == 0 &&
checkNull(suppSour).trim().length() == 0 && checkNull(siteCodeSupp).trim().length() == 0 ) checkNull(suppSour).trim().length() == 0 && checkNull(siteCodeSupp).trim().length() == 0 )
{ {
...@@ -244,7 +267,7 @@ public String process(Document headerDom, Document detailDom, String windowName, ...@@ -244,7 +267,7 @@ public String process(Document headerDom, Document detailDom, String windowName,
System.out.println("commiting connection............."); System.out.println("commiting connection.............");
if(errString.equals("")) if(errString.equals(""))
{ {
errString = "PROCSUCC1"; errString = "PROCSUCC";
} }
resultString = itmDBAccessEJB.getErrorString("",errString,userId); resultString = itmDBAccessEJB.getErrorString("",errString,userId);
......
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