Commit 702f04b0 authored by prane's avatar prane

updated total additional cost to porcp

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@179769 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 22b0c7e2
......@@ -1110,6 +1110,15 @@ public class PostOrderActivity {
int endIndex = arrayForTranId[1].indexOf("</TranID>");
String tranIdFoPoRcp = arrayForTranId[1].substring(0,endIndex);
//System.out.println("-tranIdFoPoRcp-"+tranIdFoPoRcp);
//Added by Pavan R on 06/Feb/2K18[Start] to update the total additional cost to porcp
sql = "update porcp set total_additional_cost = ? where tran_id = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setDouble(1, totaddnlost);
pstmt.setString(2, tranIdFoPoRcp);
int cntPoRcp = pstmt.executeUpdate();
pstmt.close();
pstmt=null;
//Added by Pavan R on 06/Feb/2K18[End]
retString="";
}
// System.out.println("--XML CREATION --");
......
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