Commit e2f487c8 authored by kmandhre's avatar kmandhre

bug fixing regarding emp_code set


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@94379 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ff13fc69
......@@ -531,18 +531,8 @@ public class PhyItemVerifyIC extends ValidatorEJB implements PhyItemVerifyICLoca
System.out.println("totHdays---"+totHdays);
System.out.println("days-----"+days);
date2.setTime(date1.getTime() - (totHdays*(1000 * 60 * 60 * 24)));
//added by kunal on 15/march/14
switch(currentFormNo)
{
case 1 :
{
siteCode=checkNull(genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginSiteCode" ));
System.out.println("siteCode---"+siteCode);
if(currentColumn.trim().equalsIgnoreCase("itm_default"))
{
currDate = new java.util.Date();
sdf = new SimpleDateFormat(applDateFormat);
currDateStr = sdf.format(currDate);
loginCode = checkNull(genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginCode" ));
System.out.println("********* login code ["+loginCode+"]");
sql = "SELECT EMP_CODE FROM USERS WHERE CODE = ?";
......@@ -564,6 +554,21 @@ public class PhyItemVerifyIC extends ValidatorEJB implements PhyItemVerifyICLoca
pstmt = null;
}
//added by kunal on 15/march/14 end
switch(currentFormNo)
{
case 1 :
{
siteCode=checkNull(genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginSiteCode" ));
System.out.println("siteCode---"+siteCode);
if(currentColumn.trim().equalsIgnoreCase("itm_default"))
{
currDate = new java.util.Date();
sdf = new SimpleDateFormat(applDateFormat);
currDateStr = sdf.format(currDate);
System.out.println("Checking for location Stock availability isStock---"+isStock);
valueXmlString.append("<Detail1 domID='1' selected=\"N\">\r\n");
......
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