Commit c6915f82 authored by kmandhre's avatar kmandhre

bug fixing ,handle null string


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93885 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 84297cdf
......@@ -325,7 +325,7 @@ public class SalesReturn extends ValidatorEJB implements SalesReturnLocal, Sales
String itemCodeOrd = null;
String lineType = null;
String itemRef = null;
String pircleListClg = null, locDescr = null, mdescr = null, mvarValue = null, mcode = null, lsInvoiceItem = null;
String pircleListClg = null, locDescr = null, mdescr = null, mvarValue = null, mcode = null, lsInvoiceItem = "" ;
double amount = 0.0, drcrAmount = 0.0, mminShlife = 0.0, mconvRtuom, mVal= 0.0, mNum= 0.0, lcPartQty= 0.0, mquantity= 0.0,
minShelfLife = 0.0, freeQty = 0.0, discount = 0.0, mrateStd= 0.0, mrate= 0.0, lcPhyQty= 0.0, lcNetWt= 0.0, lcGrossWt= 0.0, lcTareWt= 0.0;
double qtyStdUom= 0.0, lcDiscount= 0.0, lcQtyPerArt = 0.0, mshlife = 0.0, effCost = 0.0;
......@@ -4522,6 +4522,7 @@ public class SalesReturn extends ValidatorEJB implements SalesReturnLocal, Sales
}
if( !"P".equalsIgnoreCase( lsRetRepFlag ) )
{
System.out.println("kunal test lsInvoiceItem=="+lsInvoiceItem);
sqlStr = " select item_code ls_invoice_item "
+" from invoice_trace "
+" where invoice_id = ? " //:ls_invoice_id
......
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