Commit cd67a3da authored by mmhatre's avatar mmhatre

added null condition for sales person

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@215972 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b6c9c96b
......@@ -845,9 +845,9 @@ public class SalesReturnConfirm extends ActionHandlerEJB implements SalesReturnC
lc_srqty_lot = lc_srqty + lc_srqty_prev ;
//System.out.println("---------- lc_srqty_lot ---------------"+lc_srqty_lot);
//System.out.println("---------- lc_invqty_lot ---------------"+lc_invqty_lot);
//System.out.println("---------- ls_full_ret ---------------"+ls_full_ret);
System.out.println("---------- lc_srqty_lot ---------------"+lc_srqty_lot);
System.out.println("---------- lc_invqty_lot ---------------"+lc_invqty_lot);
System.out.println("---------- ls_full_ret ---------------"+ls_full_ret);
if (lc_srqty_lot > lc_invqty_lot)
{
......@@ -6188,7 +6188,10 @@ public class SalesReturnConfirm extends ActionHandlerEJB implements SalesReturnC
xmlBuff.append("<invoice_id>").append("<![CDATA[" + parentTranIdAs + "]]>").append("</invoice_id>");
xmlBuff.append("<line_no__inv>").append("<![CDATA[" + lineNoInv + "]]>").append("</line_no__inv>");
xmlBuff.append("<item_code>").append("<![CDATA[" + itemCode + "]]>").append("</item_code>");
if(salesPers !=null && (salesPers.trim().length()>0) && (!("null".equalsIgnoreCase(salesPers))))
{
xmlBuff.append("<sales_pers>").append("<![CDATA[" + salesPers + "]]>").append("</sales_pers>");
}
xmlBuff.append("<tax_class>").append("<![CDATA[" + taxClass + "]]>").append("</tax_class>");
xmlBuff.append("<tax_chap>").append("<![CDATA[" + taxChap + "]]>").append("</tax_chap>");
xmlBuff.append("<tax_env>").append("<![CDATA[" + taxEnvSr + "]]>").append("</tax_env>");
......
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