Commit a0377aef authored by kgaikwad's avatar kgaikwad

PO Qty is not showing as per Indent Qty

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@216297 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 8c14663d
...@@ -4411,10 +4411,13 @@ public class IndentReqIC extends ValidatorEJB implements IndentICLocal, IndentIC ...@@ -4411,10 +4411,13 @@ public class IndentReqIC extends ValidatorEJB implements IndentICLocal, IndentIC
System.out.println("lc_tempconv ============>>"+lc_tempconv); System.out.println("lc_tempconv ============>>"+lc_tempconv);
if("0".equalsIgnoreCase(lc_tempconv)) if("0".equalsIgnoreCase(lc_tempconv))
{ {
valueXmlString.append( "<conv__qty_stduom><![CDATA[" ).append(lc_conv1).append( "]]></conv__qty_stduom>\r\n" ); // start - Modify by Kailasg on 4-feb-2020 [PO Qty is not showing as per Indent Qty]
//valueXmlString.append( "<conv__qty_stduom><![CDATA[" ).append(lc_conv1).append( "]]></conv__qty_stduom>\r\n" );
valueXmlString.append( "<conv__qty_stduom><![CDATA[" ).append(qty.get(0).toString()).append( "]]></conv__qty_stduom>\r\n" );
} }
//valueXmlString.append( "<quantity__stduom><![CDATA[" ).append(qty.get(0).toString()).append( "]]></quantity__stduom>\r\n" );
valueXmlString.append( "<quantity__stduom><![CDATA[" ).append(qty.get(1).toString()).append( "]]></quantity__stduom>\r\n" ); valueXmlString.append( "<quantity__stduom><![CDATA[" ).append(qty.get(1).toString()).append( "]]></quantity__stduom>\r\n" );
// End - Modify by Kailasg on 4-feb-2020 [PO Qty is not showing as per Indent Qty]
sql = "SELECT PURC_RATE FROM ITEM WHERE ITEM_CODE = ? "; sql = "SELECT PURC_RATE FROM ITEM WHERE ITEM_CODE = ? ";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
...@@ -4553,8 +4556,12 @@ public class IndentReqIC extends ValidatorEJB implements IndentICLocal, IndentIC ...@@ -4553,8 +4556,12 @@ public class IndentReqIC extends ValidatorEJB implements IndentICLocal, IndentIC
lc_conv = 0; lc_conv = 0;
qty = discommon.convQtyFactor(itemunit, ls_unit_std, mval1, Double.parseDouble(qtyStr), lc_conv, conn); qty = discommon.convQtyFactor(itemunit, ls_unit_std, mval1, Double.parseDouble(qtyStr), lc_conv, conn);
System.out.println("------- qty -------------"+qty); System.out.println("------- qty -------------"+qty);
valueXmlString.append( "<conv__qty_stduom><![CDATA[" ).append(lc_conv).append( "]]></conv__qty_stduom>\r\n" ); //// UOM Con : //valueXmlString.append( "<conv__qty_stduom><![CDATA[" ).append(lc_conv).append( "]]></conv__qty_stduom>\r\n" ); //// UOM Con :
// start - Modify by Kailasg on 4-feb-2020 [PO Qty is not showing as per Indent Qty]
valueXmlString.append( "<conv__qty_stduom><![CDATA[" ).append(qty.get(0).toString()).append( "]]></conv__qty_stduom>\r\n" );
// End - Modify by Kailasg on 4-feb-2020 [PO Qty is not showing as per Indent Qty]
valueXmlString.append( "<quantity__stduom><![CDATA[" ).append(qty.get(1).toString()).append( "]]></quantity__stduom>\r\n" ); //// Std Qty : qty.get(1) set as 1 by nandkumar gadkari on 05/07/19 valueXmlString.append( "<quantity__stduom><![CDATA[" ).append(qty.get(1).toString()).append( "]]></quantity__stduom>\r\n" ); //// Std Qty : qty.get(1) set as 1 by nandkumar gadkari on 05/07/19
} }
if( currentColumn.trim().equalsIgnoreCase( "conv__qty_stduom" ) ) //// UOM Con : if( currentColumn.trim().equalsIgnoreCase( "conv__qty_stduom" ) ) //// UOM Con :
......
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