Commit af87d2e8 authored by asant's avatar asant

Made Supplier bank work flow related changes.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@205195 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b9e770f4
...@@ -575,9 +575,9 @@ conn = getConnection(); ...@@ -575,9 +575,9 @@ conn = getConnection();
{ {
System.out.println("@@@@@@@@@@@ itemchange method called for ---->>>>["+currentColumn+"]"); System.out.println("@@@@@@@@@@@ itemchange method called for ---->>>>["+currentColumn+"]");
//Changes and Commented By Bhushan on 06-06-2016 :START //Changes and Commented By Bhushan on 06-06-2016 :START
//conn = connDriver.getConnectDB("DriverITM"); //conn = connDriver.getConnectDB("DriverITM");
conn = getConnection(); conn = getConnection();
//Changes and Commented By Bhushan on 06-06-2016 :END //Changes and Commented By Bhushan on 06-06-2016 :END
conn.setAutoCommit(false); conn.setAutoCommit(false);
connDriver = null; connDriver = null;
sdf = new SimpleDateFormat(genericUtility.getApplDateFormat()); sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
...@@ -587,11 +587,11 @@ conn = getConnection(); ...@@ -587,11 +587,11 @@ conn = getConnection();
{ {
currentFormNo = Integer.parseInt(objContext); currentFormNo = Integer.parseInt(objContext);
} }
System.out.println("#### xtraParams "+xtraParams);
loginSiteCode =(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode")); loginSiteCode =(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode"));
siteDescr = findValue(conn, "descr" ,"site", "site_code", loginSiteCode); siteDescr = findValue(conn, "descr" ,"site", "site_code", loginSiteCode);
System.out.println("@@@@@@ 1 siteCode["+loginSiteCode+"]::::::siteDescr["+siteDescr+"]"); System.out.println("@@@@@@ 1 siteCode["+loginSiteCode+"]::::::siteDescr["+siteDescr+"]");
String userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode");
chgUser =(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode")); chgUser =(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode"));
chgTerm =(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "chgTerm")); chgTerm =(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "chgTerm"));
...@@ -638,6 +638,8 @@ conn = getConnection(); ...@@ -638,6 +638,8 @@ conn = getConnection();
// //
// valueXmlString.append("<supp_code>").append("<![CDATA[" + suppCode + "]]>").append("</supp_code>"); // valueXmlString.append("<supp_code>").append("<![CDATA[" + suppCode + "]]>").append("</supp_code>");
// valueXmlString.append("<supp_name>").append("<![CDATA[" + suppName + "]]>").append("</supp_name>"); // valueXmlString.append("<supp_name>").append("<![CDATA[" + suppName + "]]>").append("</supp_name>");
valueXmlString.append("<chg_user>").append("<![CDATA[" +userId+ "]]>").append("</chg_user>");
valueXmlString.append("<wf_status>").append("<![CDATA[]]>").append("</wf_status>");
}//end of if }//end of if
if(currentColumn.trim().equalsIgnoreCase("itm_defaultedit")) if(currentColumn.trim().equalsIgnoreCase("itm_defaultedit"))
...@@ -811,6 +813,7 @@ conn = getConnection(); ...@@ -811,6 +813,7 @@ conn = getConnection();
d.printStackTrace(); d.printStackTrace();
} }
} }
System.out.println("#### SupplierBankIC :: valueXmlString "+valueXmlString);
return valueXmlString.toString(); return valueXmlString.toString();
}//end of itemChanged }//end of itemChanged
......
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