Commit 83d5ccd0 authored by ajadhav's avatar ajadhav

Changes in if condition

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@185564 ce508802-f39f-4f6c-b175-0d175dae99d5
parent fd77b12b
......@@ -3514,7 +3514,8 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
// 5/11/12
System.out.println("excessShortQt =" + excessShortQty);
System.out.println("quantityStduom =" + quantityStduom);
if (excessShortQty == 0)
//Commented by Ajay on 28/05/18:START
/*if (excessShortQty == 0)
{
System.out.println("get qty from quantityStduom");
qty = quantityStduom;
......@@ -3534,7 +3535,31 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
// qty = gf_conv_qty_fact1(ls_unitpur, ls_unit,
// ls_itemcode, lc_Qty, lc_convqty,'Y')
System.out.println("before qty [" + qty + "]");
System.out.println("before qty [" + qty + "]");*/
//Commented by Ajay on 28/05/18:END
//Add by Ajay on 28/05/18:START
if (excessShortQty == 0)
{
System.out.println("get qty from quantityStduom");
qty = quantityStduom;
}
//added by saurabh missed condition part from nvo source as per discussion with Manoj S.[03/AUG/17|Start]
else
{
if ( "Q".equalsIgnoreCase(value) || "B".equalsIgnoreCase(value))
{
qtyAr = distCommon.getConvQuantityFact(unitPur, unit, itemCode, qty, convQty, conn);
}
convQty = Double.parseDouble(qtyAr.get(0).toString());
qty = Double.parseDouble(qtyAr.get(1).toString());
System.out.println(" (excessShortQty>0) qty [" + qty + "]");
}
System.out.println(" After excessShortQty check qty [" + qty + "]");
//added by saurabh missed condition part from nvo source as per discussion with Manoj S.[03/AUG/17|End]
//Add by Ajay on 28/05/18:END
qtyAr = distCommon.getConvQuantityFact(unitPur, unit, itemCode, qty, convQty, conn);
convQty = Double.parseDouble(qtyAr.get(0).toString());
qty = Double.parseDouble(qtyAr.get(1).toString());
......
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