Commit a756ff4d authored by smestry's avatar smestry

W15FSUN008, Updated class file for Palletization for qc_sample_type.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99543 ce508802-f39f-4f6c-b175-0d175dae99d5
parent cbb1f8d8
......@@ -463,13 +463,16 @@ public class PalletizationConf extends ValidatorEJB implements PalletizationConf
sql = "select det.item_code, det.lot_no, det.lot_sl, det.quantity, det.pallet_no, "
+ "hdr.inv_stat, det.site_code, det.loc_code, hdr.tran_date, det.line_no, i.descr, i.unit, i.item_type, "
+ "det.qc_sample_type, hdr.pallet_status "
+ "hdr.pallet_status, case qc_sample_type when '1' then 'N' when '2' then 'F' else 'C' end as qc_sample_type "
+ "from pallet_hdr hdr, pallet_det det, item i where hdr.tran_id = det.tran_id and det.tran_id = ? and i.item_code = det.item_code ";
pstmt = conn1.prepareStatement(sql);
pstmt.setString(1, tranId);
rs = pstmt.executeQuery();
while(rs.next())
{
System.out.println("qc_sample_type ::::::::::::: " + checkNullAndTrim(rs.getString("qc_sample_type")));
sql = "select hold_qty, qty_per_art, no_art from stock where quantity > 0 and site_code = ? and loc_code = ? and "
+ "item_code = ? and lot_no = ? and lot_sl = ? ";
pstmt1 = conn1.prepareStatement(sql);
......
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