Commit 05c7a7e2 authored by arawankar's avatar arawankar

SalesReturn.java

-bug fixing 
- occured null pinter exception while selecting item code from pophelp in detail form.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@199007 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 7d18e17c
...@@ -10344,7 +10344,11 @@ public class SalesReturn extends ValidatorEJB implements SalesReturnLocal, Sales ...@@ -10344,7 +10344,11 @@ public class SalesReturn extends ValidatorEJB implements SalesReturnLocal, Sales
{ {
//Changed by Santosh on 07/12/2016 to trim //Changed by Santosh on 07/12/2016 to trim
//docKey = docValue; //docKey = docValue;
docKey = docValue.trim();
//Modified by Anjali R. on [01/04/2019][To check null for doc value.][Start]
//docKey = docValue.trim();
docKey = ( docValue == null ? "" : docValue.trim() );
//Modified by Anjali R. on [01/04/2019][To check null for doc value.][End]
} }
} }
System.out.println(">>>>>>>>>>final docKey:"+docKey); System.out.println(">>>>>>>>>>final docKey:"+docKey);
......
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