Commit 1bea3957 authored by prane's avatar prane

We are getting the below error as Empty Station code at the time of creating new station master.

Station master creation is defined as automatically

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@203224 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d4424ccd
...@@ -158,7 +158,7 @@ public class StationIC extends ValidatorEJB implements StationICLocal, StationIC ...@@ -158,7 +158,7 @@ public class StationIC extends ValidatorEJB implements StationICLocal, StationIC
} }
keyFlag = keyFlag == null ? "M" : keyFlag.trim(); keyFlag = keyFlag == null ? "M" : keyFlag.trim();
if( keyFlag == "M" && stanCode == null || stanCode.trim().length() == 0) if( keyFlag.equalsIgnoreCase("M") && (stanCode == null || stanCode.trim().length() == 0))
{ {
errCode = "VMSTAN1"; errCode = "VMSTAN1";
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