Commit 28a90bde authored by agaikwad's avatar agaikwad

set emp_code in default button


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@105130 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 22471967
......@@ -96,7 +96,7 @@ public class UndoRecievableAdjConf extends ActionHandlerEJB implements UndoRecie
if(cnt1 > 0)
{
errString1= undoRecivablesDet(tranId,conn);
errString1= undoRecivablesDet(tranId, xtraParams,conn);
System.out.println("Errstring1#################["+errString1+"]");
if(errString1 !=null && errString1.trim().length() > 0)
{
......@@ -542,7 +542,7 @@ public class UndoRecievableAdjConf extends ActionHandlerEJB implements UndoRecie
System.out.println("");
return errString ;
}
private String undoRecivablesDet(String tranId, Connection conn)
private String undoRecivablesDet(String tranId,String xtraParams, Connection conn)
{
String sql = "",sql1="";
String confirmed="";
......@@ -568,7 +568,7 @@ public class UndoRecievableAdjConf extends ActionHandlerEJB implements UndoRecie
String sysDateStr = sdf.format(currentDate.getTime());
System.out.println("Now the date is :=> " + sysDateStr);
sysDate= Timestamp.valueOf(genericUtility.getValidDateString(sysDateStr, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()) + " 00:00:00.0");
loginEmpCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
System.out.println(">>>>>>>>sysDate:"+sysDate);
System.out.println(">>>>>>>>loginEmpCode:"+loginEmpCode);
......
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