Commit 86f5b1f1 authored by caluka's avatar caluka

For multiple record insertion for receipt dom id changed[F14ISUN014]


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98649 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 68be987f
......@@ -200,7 +200,7 @@ public class EcollectionSchedule implements Schedule
pstmt1 = null;
finEntity = finEntity == null ? "" : finEntity.trim();
bankAmount=0;
sql1 = " select amount from bank_statement where site_code=? and bank_code= ? and ref_no= ?";
pstmt1 = conn.prepareStatement(sql1);
pstmt1.setString(1, siteCode);
......@@ -309,7 +309,8 @@ public class EcollectionSchedule implements Schedule
refNo = refNo == null ? "" : refNo.trim();
lineNoRef = lineNoRef == null ? "" : lineNoRef.trim();
xmlBuff.append("<Detail2 objContext=\"2\" objName=\"receipt_adv\" domID=\"1\" dbID=''>");
//xmlBuff.append("<Detail2 objContext=\"2\" objName=\"receipt_adv\" domID=\"1\" dbID=''>");
xmlBuff.append("<Detail2 objContext=\"2\" objName=\"receipt_adv\" domID='"+lineNo+"' dbID=''>");
xmlBuff.append("<attribute selected=\"N\" updateFlag=\"A\" status=\"N\" pkNames=\"\"/>");
xmlBuff.append("<tran_id/>");
......
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