Commit 4c7feb33 authored by msalla's avatar msalla

,If you are edit transaction and remove contract no system not allow to save...

,If you are edit transaction and remove contract no system not allow to save transaction showing below error message(Currency code set as blank  after remove contract no)

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@209190 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c8070fe9
......@@ -49,8 +49,8 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
Document dom2 = null;
try
{
System.out.println("Val xmlString :: " + xmlString);
System.out.println("Val xmlString1 :: " + xmlString1);
//System.out.println("Val xmlString :: " + xmlString);
// System.out.println("Val xmlString1 :: " + xmlString1);
dom = parseString(xmlString);
dom1 = parseString(xmlString1);
errString = wfValData(dom, dom1, dom2, objContext, editFlag, xtraParams);
......@@ -69,9 +69,9 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
Document dom2 = null;
try
{
System.out.println("Val xmlString :: " + xmlString);
System.out.println("Val xmlString1 :: " + xmlString1);
System.out.println("Val xmlString2 :: " + xmlString2);
//System.out.println("Val xmlString :: " + xmlString);
//System.out.println("Val xmlString1 :: " + xmlString1);
//System.out.println("Val xmlString2 :: " + xmlString2);
dom = parseString(xmlString);
dom1 = parseString(xmlString1);
if (xmlString2.trim().length() > 0)
......@@ -187,7 +187,17 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
Timestamp tranDt = null;
double rcpacctAmtdbl=0;
//Calendar currentDate = Calendar.getInstance();--by monika
//ADDED BY MONIKA 30 SEPT 2019
String itemValue = "",lineNo = "",lineValue= "",updateFlag = "", invTrace = " ",rcpAdvBkingamount="";
int lineNoInt = 0,lineValueInt = 0;
//NodeList itemNodeList = null,lineNoList = null,detail2List = null,childDetilList = null;
//Node itemNode = null,lineNoNode = null,detailNode = null,chidDetailNode = null;
NodeList itemNodeList = null,lineNoList = null,detail2List = null,childDetilList = null; //Variables added by Mahesh Saggam on 17-June-2019
Node itemNode = null,lineNoNode = null,detailNode = null,chidDetailNode = null; //Variables added by Mahesh Saggam on 17-June-2019
double rcpAdvBkingAmt=0.0,totAmtdet=0.0,diffvalue=0.0;//END
try
{
finCommon = new FinCommon();
......@@ -212,7 +222,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
Calendar currentDate = Calendar.getInstance();
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
String sysDate = sdf.format(currentDate.getTime());
System.out.println("current date:::::"+sysDate);
//System.out.println("current date:::::"+sysDate);
if ((objContext != null) && (objContext.trim().length() > 0))
{
currentFormNo = Integer.parseInt(objContext);
......@@ -279,7 +289,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
{
tranId = "@@";
}
System.out.println("GUID : " +guid);
// System.out.println("GUID : " +guid);
sql = "select count(*) from receipt where guid = ? and tran_id <> ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, guid);
......@@ -291,7 +301,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
}
if (cnt > 0)
{
System.out.println("GUID ERROR MSG : " );
//System.out.println("GUID ERROR MSG : " );
errCode = "VMDUPL1 ";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
......@@ -455,7 +465,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
}
if ((errCode == null) || (errCode.trim().length() == 0))
{
System.out.println("prioddddddddd");
//System.out.println("prioddddddddd");
tranDate = sdf.parse(this.genericUtility.getColumnValue("tran_date", dom));
//Changes and Commented By Ajay on 21-12-2017:START
......@@ -585,7 +595,9 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
cctrCodeAdv = this.genericUtility.getColumnValue("cctr_code__adv", dom);
acctCodeAdv = this.genericUtility.getColumnValue("acct_code__adv", dom);
advAmt = Double.parseDouble(this.genericUtility.getColumnValue("adv_amt", dom));
if ((advAmt != 0.0) && ((acctCodeAdv.trim().length() != 0) && (acctCodeAdv != null)))
//COMMENTED BY MONIKA ON 25 SEPT 2019
// if ((advAmt != 0.0) && ((acctCodeAdv.trim().length() != 0) && (acctCodeAdv != null)))
if ((advAmt != 0.0) ||((acctCodeAdv != null) && (acctCodeAdv.trim().length() != 0)))
{
errCode = finCommon.isCctrCode(acctCodeAdv, cctrCodeAdv, "FIN", conn);
//errCode = validateCctrCode(cctrCodeAdv ,acctCodeAdv, conn);
......@@ -998,7 +1010,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
pstmt.close();
pstmt = null;
System.out.println("@V@ Tran id receipt :- ["+tranIdRcp+"]");
// System.out.println("@V@ Tran id receipt :- ["+tranIdRcp+"]");
//CHANGES BY MONIKA-20 JUNE-2019--to check refno in bank-receipt header--
if(refNo!= null && refNo.trim().length()>0)
......@@ -1018,7 +1030,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
pstmt.close();
pstmt = null;
System.out.println("@V@ reference no count:- ["+cnt+"]");
// System.out.println("@V@ reference no count:- ["+cnt+"]");
if(cnt>0 && tranIdRcp!=null && tranIdRcp.trim().length()>0)
{
......@@ -1036,7 +1048,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
pstmt = null;
if(cnt==0)
{
System.out.println("rcpdishnr :"+cnt);
//System.out.println("rcpdishnr :"+cnt);
errCode = "VTNREC";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
......@@ -1056,7 +1068,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
pstmt= null;
if(cnt>0)
{
System.out.println("@V@ pdc_received:- ["+cnt+"]");
//System.out.println("@V@ pdc_received:- ["+cnt+"]");
errCode = "VTPDCREC";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
......@@ -1086,7 +1098,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
pstmt.close();
pstmt = null;
System.out.println("@V@ Dishponer cnt :- ["+cnt+"]");
//System.out.println("@V@ Dishponer cnt :- ["+cnt+"]");
if(cnt==0)
{
/**
......@@ -1117,7 +1129,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
pstmt.close();
pstmt = null;
System.out.println("@V@ confirmed found :-["+rDshCnf+"]");
// System.out.println("@V@ confirmed found :-["+rDshCnf+"]");
if("N".equalsIgnoreCase(rDshCnf))
{
/**
......@@ -1164,7 +1176,6 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
* VALLABH KADAM [01/OCT/15]
* END
* */
}
valueXmlString.append("</Detail1>");
break;
......@@ -1259,7 +1270,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
rs = null;
pstmt.close();
pstmt = null;
System.out.println("refType["+refType+"]");
// System.out.println("refType["+refType+"]");
if (!siteCode.trim().equals(hsiteCode.trim()))
{
errCode = "VTSITE1";
......@@ -1305,14 +1316,14 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
htranDate = sdf.parse(this.genericUtility.getColumnValue("tran_date", dom1));
//added by manish mhatre on 23-july-2019[validation for bank receipt and receivable jv]
//start manish
System.out.println("RefDate Validation::tranType["+tranType+"]refSer["+refSer+"]refDate["+refDate+"]today["+today+"]");
// System.out.println("RefDate Validation::tranType["+tranType+"]refSer["+refSer+"]refDate["+refDate+"]today["+today+"]");
/*if(tranType.equals("A") || tranType.equals("J") )
{*/
if("MDRCRC".equals(refSer.trim()) || "R-ADV".equals(refSer.trim()) || "P-ADV".equals(refSer.trim()) || "CRNRCP".equals(refSer.trim()))
{
if(refDate.after(today))
{
System.out.println("In after condition");
// System.out.println("In after condition");
errCode = "VTPRDFDALW";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
......@@ -2132,12 +2143,12 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
else if (childNodeName.equalsIgnoreCase("cctr_code"))
{
cctrCode = this.genericUtility.getColumnValue("cctr_code", dom);
System.out.println("CTTC CODE "+cctrCode);
// System.out.println("CTTC CODE "+cctrCode);
if(cctrCode != null && cctrCode.trim().length() > 0)
{
acctCode = this.genericUtility.getColumnValue("acct_code", dom);
//if(acctCode == null || acctCode.trim().length() == 0){acctCode="";}
System.out.println("CTTC CODE 111["+cctrCode+""+acctCode);
// System.out.println("CTTC CODE 111["+cctrCode+""+acctCode);
errCode = finCommon.isCctrCode(acctCode, cctrCode, "FIN", conn);
if(errCode != null && errCode.trim().length() > 0)
{
......@@ -2151,7 +2162,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
else if (childNodeName.equalsIgnoreCase("anal_code"))
{
analCode = this.genericUtility.getColumnValue("anal_code", dom);
System.out.println("CTTC CODE "+cctrCode);
// System.out.println("CTTC CODE "+cctrCode);
if(analCode != null && analCode.trim().length() > 0)
{
sql = "select count(*) from analysis where anal_code = ?";
......@@ -2307,6 +2318,10 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
balAmt = rs.getDouble("bal_amt");
}
// System.out.println("diffvalue:::]]]"+balAmt+" CHEQUE AMOUNT:::]]]"+chequeAmt+" TOTAMT]]]]"+totAmtdet);
rs.close();
rs = null;
pstmt.close();
......@@ -2325,19 +2340,14 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
{
Amt = 0.0;
}
System.out.println("amount is amount:::"+Amt);
// System.out.println("amount is amount:::"+Amt);
rs.close();
rs = null;
pstmt.close();
pstmt = null;
/*if (Math.abs(amount) + Math.abs(Amt) > Math.abs(balAmt))
{
errCode = "VTINVPCAMT";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}*/
if((Math.abs(amount) + Math.abs(pendingAmt))>Math.abs(balAmt))
// if((Math.abs(amount) + Math.abs(pendingAmt))>Math.abs(balAmt))//changes made by monika on26 sept 2019
if((Math.abs(pendingAmt) + Math.abs(Amt))>Math.abs(balAmt))
{
errCode="VTADVBKAMT";
errList.add(errCode);
......@@ -2379,12 +2389,21 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
amountBc += Math.abs(doublevalue(this.genericUtility.getColumnValue("amount__bc", dom)));
amountBc += doublevalue(this.genericUtility.getColumnValue("diff_amt__exch", dom));
}
/*if (chequeAmt - amountBc < 0.0D)
{
errCode = "VTAMT1";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}*/
if (chequeAmt - amountBc < 0.0D)
{
errCode = "VTAMT1";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
}
}
......@@ -3084,13 +3103,13 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
// added by -Monika-13 MAY 2019-To make chq amount protected in Receivable JV
winName = getObjName(parentNode);
System.out.println( "winName :: " + winName );
// System.out.println( "winName :: " + winName );
//end
childNodeList = parentNode.getChildNodes();
valueXmlString.append("<Detail1>");
childNodeListLength = childNodeList.getLength();
System.out.println("first receipt mode ------>"+genericUtility.getColumnValue("rcp_mode", dom));
// System.out.println("first receipt mode ------>"+genericUtility.getColumnValue("rcp_mode", dom));
do
{
childNode = childNodeList.item(ctr);
......@@ -3202,7 +3221,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
valueXmlString.append("<curr_code protect = \"0\">").append("<![CDATA["+genericUtility.getColumnValue("curr_code", dom)+"]]>").append("</curr_code>");
valueXmlString.append("<sale_order protect = \"0\">").append("<![CDATA["+checkNull(genericUtility.getColumnValue("sale_order", dom))+"]]>").append("</sale_order>");
}
System.out.println(" detail count [" + instrPerSlip + "] valueXmlString [" + valueXmlString.toString() + "]" );
// System.out.println(" detail count [" + instrPerSlip + "] valueXmlString [" + valueXmlString.toString() + "]" );
......@@ -3276,7 +3295,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
siteCode = genericUtility.getColumnValue("site_code", dom);
rcpMode = genericUtility.getColumnValue("rcp_mode", dom);
bankCodeprv = genericUtility.getColumnValue("bank_code", dom);
System.out.println("BankCode dom"+bankCode);
//System.out.println("BankCode dom"+bankCode);
if (rcpMode.equals("C"))
{
......@@ -3378,10 +3397,10 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
acctCodeCfAr = checkNull(rs.getString(6));
cctrCodeCfAr = checkNull(rs.getString(7));
}
System.out.println("acct_code__bal :"+acctCodeBal);
System.out.print("cctr_code__bal :"+cctrCodeBal);
System.out.print("acct_code__cf :"+acctCodeCf);
System.out.print("cctr_code__cf :"+cctrCodeCfAr);
//System.out.println("acct_code__bal :"+acctCodeBal);
//System.out.print("cctr_code__bal :"+cctrCodeBal);
//System.out.print("acct_code__cf :"+acctCodeCf);
//System.out.print("cctr_code__cf :"+cctrCodeCfAr);
rs.close();
rs = null;
......@@ -3462,10 +3481,10 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
acctCodeCfAr = checkNull(rs.getString(7));
cctrCodeCfAr = checkNull(rs.getString(8));
}
System.out.println("acct_code__bal :"+acctCodeBal);
System.out.print("cctr_code__bal :"+cctrCodeBal);
System.out.print("acct_code__cf :"+acctCodeCf);
System.out.print("cctr_code__cf :"+cctrCodeCfAr);
//System.out.println("acct_code__bal :"+acctCodeBal);
//System.out.print("cctr_code__bal :"+cctrCodeBal);
//System.out.print("acct_code__cf :"+acctCodeCf);
//System.out.print("cctr_code__cf :"+cctrCodeCfAr);
rs.close();
rs = null;
......@@ -3549,7 +3568,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
pstmt.close();
pstmt = null;
// end 11-sep-2018 manoharan
//System.out.println("crrency header"+currCodeBase);
valueXmlString.append("<cust_name>").append("<![CDATA[" + custName + "]]>").append("</cust_name>");
valueXmlString.append("<acct_code__ar>").append("<![CDATA[" + acctCodeAr + "]]>").append("</acct_code__ar>");
valueXmlString.append("<cctr_code__ar>").append("<![CDATA[" + cctrCodeAr + "]]>").append("</cctr_code__ar>");
......@@ -3650,7 +3669,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
valueXmlString.append("<cfc_remarks >").append("<![CDATA[" + sumAdvAmt + "]]>").append("</cfc_remarks>");
}
// valueXmlString.append("<curr_code>").append("<![CDATA[" + currCode + "]]>").append("</curr_code>");
setNodeValue(dom, "curr_code", getAbsString(currCode));
}
......@@ -3690,6 +3709,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
{
valueXmlString.append("<exch_rate protect = \"0\">").append("<![CDATA[" + mexchrate + "]]>").append("</exch_rate>");
}
}
else
{
......@@ -3713,8 +3733,6 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
//valueXmlString.append("<exch_rate protect = \"1\">").append("<![CDATA[" + stdExRt +"]]>").append("</exch_rate>");
valueXmlString.append("<exch_rate_spot protect = \"0\">").append("<![CDATA[" + stdExRt + "]]>").append("</exch_rate_spot>");
}
else if (currentColumn.trim().equalsIgnoreCase("chq_amt"))
{
......@@ -3733,6 +3751,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
else if (currentColumn.trim().equalsIgnoreCase("tran_id__advbking"))
{
tranIdAdvbking = genericUtility.getColumnValue("tran_id__advbking", dom);
custCode= genericUtility.getColumnValue("cust_code", dom);//added by monika on 25 sept 2019
sql = "select curr_code__from, exch_rate from advbking where tran_id = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranIdAdvbking);
......@@ -3747,19 +3766,41 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
rs = null;
pstmt.close();
pstmt = null;
//System.out.println("curency in customer no null"+custCode);
valueXmlString.append("<curr_code>").append("<![CDATA[" + CurrCodeFrom + "]]>").append("</curr_code>");
valueXmlString.append("<exch_rate >").append("<![CDATA[" + exchRate + "]]>").append("</exch_rate>");
setNodeValue(dom, "curr_code", getAbsString(currCode));
if ((tranIdAdvbking == null) || (tranIdAdvbking.trim().length() == 0))
//setNodeValue(dom, "curr_code", getAbsString(currCode));
if((tranIdAdvbking == null) || (tranIdAdvbking.trim().length() == 0))
{
valueXmlString.append("<curr_code>").append("<![CDATA[" + CurrCodeFrom + "]]>").append("</curr_code>");
/*valueXmlString.append("<curr_code>").append("<![CDATA[" + CurrCodeFrom + "]]>").append("</curr_code>");
valueXmlString.append("<exch_rate>").append("<![CDATA[" + exchRate + "]]>").append("</exch_rate>");
setNodeValue(dom, "cust_code", getAbsString(custCode));
*///setNodeValue(dom, "cust_code", getAbsString(custCode));
//added by monika on 25 sept 2019
if(custCode != null && custCode.trim().length() > 0 )
{
// System.out.println("in cust_code no null"+custCode);
setNodeValue(dom,"curr_code" , currCode);
reStr = itemChanged(dom, dom1, dom2, objContext, "cust_code", editFlag, xtraParams);
int pos = reStr.indexOf("<Detail1>");
reStr = reStr.substring(pos + 9);
pos = reStr.indexOf("</Detail1>");
reStr = reStr.substring(0, pos);
valueXmlString.append(reStr);
//valueXmlString.append("<exch_rate>").append("<![CDATA[" + exchRate + "]]>").append("</exch_rate>");
setNodeValue(dom,"exch_rate" , currCode);//for exch rate
String reStr1 = itemChanged(dom, dom1, dom2, objContext, "cust_code", editFlag, xtraParams);
int pos1 = reStr1.indexOf("<Detail1>");
reStr1 = reStr1.substring(pos1 + 9);
pos1 = reStr1.indexOf("</Detail1>");
reStr1 = reStr1.substring(0, pos1);
valueXmlString.append(reStr1);
}//end
}
else
{
valueXmlString.append("<curr_code protect = \"1\">").append("<![CDATA[" + CurrCodeFrom + "]]>").append("</curr_code>");
valueXmlString.append("<curr_code protect = \"1\">").append("<![CDATA[" + CurrCodeFrom + "]]>").append("</curr_code>");//commented by monika 25 sept 2019
//valueXmlString.append("<exch_rate protect = \"1\" >").append("<![CDATA[" + exchRate + "]]>").append("</exch_rate>");
}
......@@ -3770,7 +3811,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
reStr = itemChanged(dom1, dom1, dom2, "1", "itm_defaultedit", editFlag, xtraParams);
reStr = reStr.substring(reStr.indexOf("<Detail1>"), reStr.indexOf("</Detail1>"));
System.out.println("Detail 1String" + reStr);
//System.out.println("Detail 1String" + reStr);
valueXmlString = new StringBuffer(
"<?xml version = \"1.0\"?> <Root> <header> <editFlag>");
......@@ -4315,7 +4356,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
currCode = genericUtility.getColumnValue("curr_code", dom);
exchRate = Double.parseDouble(genericUtility.getColumnValue("exch_rate__rcv", dom));
hexchRate = Double.parseDouble(genericUtility.getColumnValue("exch_rate", dom)); //finCommon.getDailyExchRateSellBuy(currCode,"",siteCode, genericUtility.getColumnValue("tran_date", dom1), "S", conn);
System.out.println("rcp_amt change calculating diff_amt__exch rcpAmt [" + rcpAmt + "] exchRate[" + exchRate + "] hexchRate ["+ hexchRate+ "]" );
// System.out.println("rcp_amt change calculating diff_amt__exch rcpAmt [" + rcpAmt + "] exchRate[" + exchRate + "] hexchRate ["+ hexchRate+ "]" );
diffAmtExch = (rcpAmt * exchRate) - (rcpAmt * hexchRate);
//valueXmlString.append("<diff_amt__exch>").append("<![CDATA[" + getReqDecimal(diffAmtExch, 3) + "]]>").append("</diff_amt__exch>");
valueXmlString.append("<diff_amt__exch>").append("<![CDATA[" + utl.getReqDecString(diffAmtExch, 3) + "]]>").append("</diff_amt__exch>"); // added by pavan rane on 02/aug/19
......@@ -4529,7 +4570,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
//refNo = genericUtility.getColumnValue("ref_no", dom); //changes done by monika-on-23 july-2019
refNo = genericUtility.getColumnValue("rcpepc_ref_no", dom);
refSer = genericUtility.getColumnValue("ref_ser", dom);
System.out.println("rcpepc_ref_no"+refNo);
//System.out.println("rcpepc_ref_no"+refNo);
// if((refNo == null) || (refNo.trim().length() == 0)) refNo = "";//commented by-Monika salla-30-july-2019
if((refNo!=null) && (refNo.trim().length() > 0))//added by monika salla-30-july-2019
{
......@@ -4784,7 +4825,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
{
refNo = genericUtility.getColumnValue("rcpadvbking_ref_no", dom);
refSer = genericUtility.getColumnValue("ref_ser", dom);
System.out.println("rcpepc_ref_no"+refNo);
// System.out.println("rcpepc_ref_no"+refNo);
if((refNo!=null) && (refNo.trim().length()>0))
{
sql="select tran_date,curr_code__from,exch_rate,tot_amt from advbking where tran_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