Commit 2391c972 authored by wansari's avatar wansari

W15GSUN003 removed validation of site code from location master for getting loc_group


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@100246 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 23bc0b33
...@@ -4433,10 +4433,10 @@ public class ScheduleAWMSInOutTasks implements Schedule ...@@ -4433,10 +4433,10 @@ public class ScheduleAWMSInOutTasks implements Schedule
System.out.println("ITEM_SER_RG1 found from disparm["+itemSerRgDisparm+"]"); System.out.println("ITEM_SER_RG1 found from disparm["+itemSerRgDisparm+"]");
System.out.println("Exempted found from disparm["+exempted+"]"); System.out.println("Exempted found from disparm["+exempted+"]");
sql = "SELECT LOC_GROUP FROM LOCATION WHERE LOC_CODE = ? AND SITE_CODE = ?"; //sql = "SELECT LOC_GROUP FROM LOCATION WHERE LOC_CODE = ? AND SITE_CODE = ?";//Changed by wasim on 19-02-2016 as site code not required
sql = "SELECT LOC_GROUP FROM LOCATION WHERE LOC_CODE = ?";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1, locCodeFrom); pstmt.setString(1, locCodeFrom);
pstmt.setString(2, siteCode);
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
if(rs.next()) if(rs.next())
{ {
......
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