Commit 5d165bec authored by msaggam's avatar msaggam

Purchase return : On full return click the lines are added but the receipt...

Purchase return : On full return click the lines are added but the receipt line number is not appearing and if a user is trying to edit and save then the system gives below error.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@201747 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 0f690862
......@@ -85,6 +85,7 @@ public class PReturnAct extends ActionHandlerEJB implements PReturnActLocal, PRe
//Changes and Commented By Bhushan on 09-06-2016 :END
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
refTranId = genericUtility.getColumnValue("tran_id__ref",dom1);
System.out.println("Tran Refernce = " + refTranId);
userId = genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginCode" );
if(refTranId==null||refTranId.trim().length()==0)
{
......@@ -118,6 +119,10 @@ public class PReturnAct extends ActionHandlerEJB implements PReturnActLocal, PRe
valueXmlString.append("<line_no isSrvCallOnChg='0'>").append("<![CDATA[" +checkNull(rs.getString("line_no"))+ "]]>").append("</line_no>");
valueXmlString.append("<purc_order isSrvCallOnChg='0'>").append("<![CDATA[" +checkNull(rs.getString("purc_order"))+ "]]>").append("</purc_order>");
valueXmlString.append("<line_no__ord isSrvCallOnChg='0'>").append("<![CDATA[" +checkNull(rs.getString("line_no__ord"))+ "]]>").append("</line_no__ord>");
//Added by Mahesh Saggam on 03-June-2019 [Start]
valueXmlString.append("<line_no__rcp isSrvCallOnChg='0'>").append("<![CDATA[" + rs.getString("line_no") + "]]>").append("</line_no__rcp>");
valueXmlString.append("<tran_id__rcp isSrvCallOnChg='0'>").append("<![CDATA[" + refTranId + "]]>").append("</tran_id__rcp>");
//Added by Mahesh Saggam on 03-June-2019 [End]
valueXmlString.append("<item_code isSrvCallOnChg='0'>").append("<![CDATA[" +checkNull(rs.getString("item_code"))+ "]]>").append("</item_code>");
valueXmlString.append("<quantity isSrvCallOnChg='0'>").append("<![CDATA[" +rs.getDouble("quantity")+ "]]>").append("</quantity>");
valueXmlString.append("<unit isSrvCallOnChg='0'>").append("<![CDATA[" +checkNull(rs.getString("unit"))+ "]]>").append("</unit>");
......
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