Commit 47e26f96 authored by prane's avatar prane

On Save "Null or negative value not allowed" issue resolved at error code...

On Save "Null or negative value not allowed" issue resolved at error code "VMNEGATIVE" in SalePersonIC at LOC 1286


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@105727 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 53e9ea4f
...@@ -1282,8 +1282,8 @@ public class SalePersonIC extends ValidatorEJB implements SalePersonICRemote,Sal ...@@ -1282,8 +1282,8 @@ public class SalePersonIC extends ValidatorEJB implements SalePersonICRemote,Sal
else if(childNodeName.equalsIgnoreCase("rep_cont_chk_days") || childNodeName.equalsIgnoreCase("allwd_exp_prd") || childNodeName.equalsIgnoreCase("exp_darchk_days")) else if(childNodeName.equalsIgnoreCase("rep_cont_chk_days") || childNodeName.equalsIgnoreCase("allwd_exp_prd") || childNodeName.equalsIgnoreCase("exp_darchk_days"))
{ {
childNodeValue = genericUtility.getColumnValue(childNodeName, dom); childNodeValue = genericUtility.getColumnValue(childNodeName, dom); //childNodeValue.trim().length() > 0
if(childNodeValue == null || childNodeValue.trim().length() > 0 ) if(childNodeValue == null || childNodeValue.trim().length() == 0 ) // changed by Pavan Rane On 1/JUN/2017
{ {
errCode = "VMNEGATIVE"; errCode = "VMNEGATIVE";
errList.add(errCode); 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