Commit 7392ce07 authored by prane's avatar prane

added trime(), For payables hold/release option available.[F17KGTP006]

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@181024 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 185666d4
...@@ -1066,7 +1066,7 @@ conn = getConnection(); ...@@ -1066,7 +1066,7 @@ conn = getConnection();
{ {
siteCode = rs.getString(1); siteCode = rs.getString(1);
//added by Pavan R on 2k18/02/24 start to hold the receipt //added by Pavan R on 2k18/02/24 start to hold the receipt
refType = rs.getString(2); refType = checkNull(rs.getString(2));
//added by Pavan R on 2k18/02/24 end //added by Pavan R on 2k18/02/24 end
} }
rs.close(); rs.close();
...@@ -1081,7 +1081,7 @@ conn = getConnection(); ...@@ -1081,7 +1081,7 @@ conn = getConnection();
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
} }
//added by Pavan R on 2k18/02/24 start to hold the receipt //added by Pavan R on 2k18/02/24 start to hold the receipt
if(refType != null && "H".equalsIgnoreCase(refType)) if(refType != null && "H".equalsIgnoreCase(refType.trim()))
{ {
errCode = "VTHOLDRCP"; errCode = "VTHOLDRCP";
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