Commit d0db8273 authored by ngadkari's avatar ngadkari

Invoice generation invoice_trace inv_line_no setting properly

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@195431 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 3fc75ef2
......@@ -1040,6 +1040,19 @@ public class PostOrdInvoiceGen extends ActionHandlerEJB
int endIndexIssue = arrayForTranIdIssue[1].indexOf("</TranID>");
tranId = arrayForTranIdIssue[1].substring(0, endIndexIssue);
System.out.println("@V@ Tran id :- [" + tranId + "]");
//---------------------------Changes by--Nandkumar gadkari on 08/01/19---------------start --
sql="update invoice_trace t set t.INV_LINE_NO = (select d.line_no from invdet d " +
" where d.invoice_id = t.invoice_id " +
" and d.SORD_NO = t.SORD_NO " +
" and d.SORD_LINE_NO = t.SORD_LINE_NO " +
" and d.ITEM_CODE = t.ITEM_CODE) " +
" where t.invoice_id = ?";
pstmt=conn.prepareStatement(sql); //
pstmt.setString(1,tranId);
pstmt.executeUpdate();
pstmt.close();
pstmt=null;
//---------------------------Changes by--Nandkumar gadkari on 08/01/19---------------end --
//---------------------------Changes by--Nandkumar gadkari on 08/08/18---------------start --
mainInvDespDetMap=(HashMap<String, HashMap>) dataList.get(0);
System.out.println("::::::::::::::::mainInvDespDetMap["+mainInvDespDetMap+"]");
......
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