Commit 4fc5cf70 authored by jshaikh's avatar jshaikh

minor changes like removing extra colon ' and changed lineNoArt to lineNoArt1

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@196139 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b5cb22e1
...@@ -5480,7 +5480,8 @@ public class DistCommon { ...@@ -5480,7 +5480,8 @@ public class DistCommon {
//+ frUom.trim() + "' AND UNIT__TO='" + toUom.trim() //+ frUom.trim() + "' AND UNIT__TO='" + toUom.trim()
//+ "' AND ITEM_CODE='" + forItem.trim() + "'"; //+ "' AND ITEM_CODE='" + forItem.trim() + "'";
+ " AND UNIT__TO = ? " + " AND UNIT__TO = ? "
+ "' AND ITEM_CODE = ?"; + " AND ITEM_CODE = ? ";
// + " 'AND ITEM_CODE = ?"; Commented By Jaffar S on 24-JAN-2019 to get UOM No as suggested by Santosh Gupta
//conRs = stmt.executeQuery(sql); //conRs = stmt.executeQuery(sql);
pstmt = connectionObject.prepareStatement(sql); pstmt = connectionObject.prepareStatement(sql);
pstmt.setString(1, frUom.trim()); pstmt.setString(1, frUom.trim());
...@@ -6786,8 +6787,11 @@ public class DistCommon { ...@@ -6786,8 +6787,11 @@ public class DistCommon {
shipperQty = capacity; shipperQty = capacity;
else else
shipperQty = reoQty; shipperQty = reoQty;
if (shipperQty > 0) { if (shipperQty > 0)
liNoArt = (acQty - acQty % shipperQty) / shipperQty; {
//liNoArt =(acQty - acQty%shipperQty)/shipperQty;
// Commented by Jaffar S on 24-JAN-2019 to set liNoArt1 as suggested by Santosh Gupta
liNoArt1 =(acQty - acQty%shipperQty)/shipperQty;
remainder = acQty % shipperQty; remainder = acQty % shipperQty;
} }
sql = "select integral_qty from customeritem " sql = "select integral_qty from customeritem "
......
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