Commit 82fa5b35 authored by ngadkari's avatar ngadkari

changes for calculation of ord_value

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@195758 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d9c5eeef
......@@ -14488,7 +14488,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
if ("F".equalsIgnoreCase(lsNature) || "B".equalsIgnoreCase(lsNature) || "S".equalsIgnoreCase(lsNature)) {
lcRate = 0;
} else {
lsUnit = checkNull(genericUtility.getColumnValue("unit", dom1));
lsUnit = checkNull(genericUtility.getColumnValue("unit", dom));
lsListType = distCommon.getPriceListType(lsPriceList, conn);
sql = "select count(1) as llPlcount from pricelist where price_list=?"
......@@ -14526,14 +14526,14 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
pstmt.setDouble(8, mQty);
rs = pstmt.executeQuery();
if (rs.next()) {
lsRefNo = rs.getString("ref_no");
lsRefNo = rs.getString(1);
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
lcRate = distCommon.pickRateRefnoWise(lsPriceList, ldtDateStr, lsItemCodeOrd, lsRefNo, "L", mQty,
lcRate = distCommon.pickRateRefnoWise(lsPriceList, ldtDateStr, lsItemCodeOrd, lsRefNo, lsListType, mQty,
conn);
}
if (lcRate <= 0) {
......
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