Commit 3850d96d authored by jshinde's avatar jshinde

Request Id:W15JSUN008,In Palletization validation required , a pallet...

Request Id:W15JSUN008,In Palletization  validation required , a pallet  consider only one type of  item's RG1 series group.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@100005 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a92be95c
......@@ -904,11 +904,10 @@ public class PalletizationIC extends ValidatorEJB implements PalletizationICLoca
if(pstmt != null){ pstmt.close(); pstmt = null; }
if(rs != null){ rs.close(); rs = null; }
sql ="SELECT LOC_GROUP FROM LOCATION WHERE LOC_CODE = ? AND ITEM_CODE = ? AND SITE_CODE = ? " ;
sql ="SELECT LOC_GROUP FROM LOCATION WHERE LOC_CODE = ? AND SITE_CODE = ? " ;
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, locCode);
pstmt.setString(2, itemCode);
pstmt.setString(3, siteCode);
pstmt.setString(2, siteCode);
rs = pstmt.executeQuery();
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