Commit 8c14663d 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@216296 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 398a1ec3
......@@ -1299,9 +1299,15 @@ public class IndentIC extends ValidatorEJB implements IndentICLocal, IndentICRem
qty = discommon.convQtyFactor(itemunit, ls_unit_std, mval1, Double.parseDouble(qtyStr), lc_conv, conn);
valueXmlString.append( "<quantity__stduom><![CDATA[" ).append(qty.get(0).toString()).append( "]]></quantity__stduom>\r\n" );
valueXmlString.append( "<conv__qty_stduom><![CDATA[" ).append(lc_conv).append( "]]></conv__qty_stduom>\r\n" );
/*valueXmlString.append( "<quantity__stduom><![CDATA[" ).append(qty.get(0).toString()).append( "]]></quantity__stduom>\r\n" );
valueXmlString.append( "<conv__qty_stduom><![CDATA[" ).append(lc_conv).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( "<quantity__stduom><![CDATA[" ).append(qty.get(1).toString()).append( "]]></quantity__stduom>\r\n" );
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]
}
if( currentColumn.trim().equalsIgnoreCase( "conv__qty_stduom" ) )
......@@ -1315,7 +1321,11 @@ public class IndentIC extends ValidatorEJB implements IndentICLocal, IndentICRem
qty = discommon.convQtyFactor(itemunit, ls_unit_std, mval1, Double.parseDouble(qtyStr), lc_conv, conn);
valueXmlString.append( "<quantity__stduom><![CDATA[" ).append(qty.get(0).toString()).append( "]]></quantity__stduom>\r\n" );
//valueXmlString.append( "<quantity__stduom><![CDATA[" ).append(qty.get(0).toString()).append( "]]></quantity__stduom>\r\n" );
// start - 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" );
// End - Modify by Kailasg on 4-feb-2020 [PO Qty is not showing as per Indent Qty]
}
if( currentColumn.trim().equalsIgnoreCase("quantity"))
......@@ -1358,9 +1368,13 @@ public class IndentIC extends ValidatorEJB implements IndentICLocal, IndentICRem
if("0".equalsIgnoreCase(mNum2))
{
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(0).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]
}
valueXmlString.append( "</Detail1>\r\n" );
......
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