Commit 7c5b0136 authored by pchavan's avatar pchavan

add remark from sales order into despatch.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@198018 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c8b00b45
......@@ -1605,8 +1605,9 @@ public class PostOrdDespatchGen
"site_code,dlv_add1,dlv_add2,dlv_add3,dlv_city,dlv_pin,count_code__dlv,state_code__dlv," +
"tran_code,stan_code,trans_mode,curr_code,exch_rate," +
"curr_code__frt,exch_rate__frt,curr_code__ins,exch_rate__ins,freight," +
"insurance,eff_date,confirmed,status,chg_user,chg_date,chg_term,lr_date,gp_date,gp_ser,gp_no,benefit_type)" +
"values(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)";
//"insurance,eff_date,confirmed,status,chg_user,chg_date,chg_term,lr_date,gp_date,gp_ser,gp_no,benefit_type)" +
"insurance,eff_date,confirmed,status,chg_user,chg_date,chg_term,lr_date,gp_date,gp_ser,gp_no,benefit_type,remarks)" +
"values(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)";
pstmt = conn.prepareStatement(sql);
//tranId = generateTranId("w_despatch",userId,conn);
pstmt.setString(1,tranId);
......@@ -1661,6 +1662,10 @@ public class PostOrdDespatchGen
pstmt.setString(34,gpSer);
pstmt.setString(35,gpNo);
pstmt.setString(36,"FS");
//Added By PriyankaC on 04March2019. [START]
pstmt.setString(37,tempMap.get("remarks")!= null ? tempMap.get("remarks").toString() : "" );
//pstmt.setString(37,checkNull(tempMap.get("remarks").toString()));
//Added By PriyankaC on 04March2019.[END]
insertCntHdr = pstmt.executeUpdate();
pstmt.close();
pstmt=null;
......
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