Commit 0f834c71 authored by smestry's avatar smestry

Updated the code for stockAmd for minor bugs


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104783 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 2fd6afe6
......@@ -694,7 +694,7 @@ public class StockAmdIC extends ValidatorEJB implements StockAmdICLocal, StockAm
rs = null;
}
if("N".equalsIgnoreCase(ls_apprsupp) && ls_suppcodemfg.length() == 0)
if("N".equalsIgnoreCase(ls_apprsupp) && ls_suppcodemfg.length() > 0)
{
sql = "SELECT COUNT(1) FROM SUPPLIER WHERE SUPP_CODE = ? ";
pstmt = conn.prepareStatement(sql);
......
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