Commit a2b94540 authored by manohar's avatar manohar

Excise related changes at SUN updated


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91756 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 1dcc4364
...@@ -93,7 +93,7 @@ public class CenvatCrCapitalConf extends ActionHandlerEJB implements CenvatCrCap ...@@ -93,7 +93,7 @@ public class CenvatCrCapitalConf extends ActionHandlerEJB implements CenvatCrCap
} }
if( errString == null || errString.trim().length() == 0 ) if( errString == null || errString.trim().length() == 0 )
{ {
sql = "update cenvat_cr_capital set confirmed = 'Y', conf_date = ? where tran_id = ? "; sql = "update cenvat_cr_capital set confirmed = 'Y' ,conf_date = ? where tran_id = ? ";
pstmt = conn.prepareStatement( sql ); pstmt = conn.prepareStatement( sql );
pstmt.setTimestamp(1,new Timestamp(System.currentTimeMillis())); pstmt.setTimestamp(1,new Timestamp(System.currentTimeMillis()));
pstmt.setString( 2, tranId.trim() ); pstmt.setString( 2, tranId.trim() );
......
...@@ -10,5 +10,4 @@ import javax.ejb.Local; // added for ejb3 ...@@ -10,5 +10,4 @@ import javax.ejb.Local; // added for ejb3
public interface CenvatCrCapitalConfLocal extends ActionHandlerLocal //,EJBObject public interface CenvatCrCapitalConfLocal extends ActionHandlerLocal //,EJBObject
{ {
public String confirm(String xmlString, String xtraParams, String forcedFlag) throws RemoteException,ITMException; public String confirm(String xmlString, String xtraParams, String forcedFlag) throws RemoteException,ITMException;
} }
...@@ -10,5 +10,4 @@ import javax.ejb.Remote; // added for ejb3 ...@@ -10,5 +10,4 @@ import javax.ejb.Remote; // added for ejb3
public interface CenvatCrCapitalConfRemote extends ActionHandlerRemote//,EJBObject public interface CenvatCrCapitalConfRemote extends ActionHandlerRemote//,EJBObject
{ {
public String confirm(String xmlString, String xtraParams, String forcedFlag) throws RemoteException,ITMException; public String confirm(String xmlString, String xtraParams, String forcedFlag) throws RemoteException,ITMException;
} }
...@@ -523,14 +523,16 @@ public class TaxExcise extends ValidatorEJB implements TaxExciseLocal, TaxExcise ...@@ -523,14 +523,16 @@ public class TaxExcise extends ValidatorEJB implements TaxExciseLocal, TaxExcise
break; break;
case 2: case 2:
valueXmlString.append("<Detail2>\r\n"); valueXmlString.append("<Detail2>\r\n");
System.out.println("In detail2 Item Changed"); System.out.println("In detail2 Item Changed");
if (currentColumn.trim().equals("itm_default")) if (currentColumn.trim().equals("itm_default"))
{ {
System.out.println("xtraParams :" + xtraParams); System.out.println("xtraParams :" + xtraParams);
coVal = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"line_no"); //coVal = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"line_no");
valueXmlString.append("<line_no>").append(coVal).append("</line_no>\r\n"); //valueXmlString.append("<line_no>").append(coVal).append("</line_no>\r\n");
coVal1 = genericUtility.getColumnValue("bal_group",dom1); coVal1 = genericUtility.getColumnValue("bal_group",dom1);
coVal2 = genericUtility.getColumnValue("descr",dom1); coVal2 = genericUtility.getColumnValue("descr",dom1);
System.out.println("line_no"+coVal); System.out.println("line_no"+coVal);
......
...@@ -297,6 +297,7 @@ public class TaxProcessBal extends ValidatorEJB implements TaxProcessBalLocal, T ...@@ -297,6 +297,7 @@ public class TaxProcessBal extends ValidatorEJB implements TaxProcessBalLocal, T
errString = itmDBAccessEJB.getErrorString("","VMSITECD1",userId); errString = itmDBAccessEJB.getErrorString("","VMSITECD1",userId);
} }
} // END OF SITE_CODE } // END OF SITE_CODE
/*
else if (childNodeName.equalsIgnoreCase("bal_group")) else if (childNodeName.equalsIgnoreCase("bal_group"))
{ {
balGroup = genericUtility.getColumnValue("bal_group", dom); balGroup = genericUtility.getColumnValue("bal_group", dom);
...@@ -328,6 +329,7 @@ public class TaxProcessBal extends ValidatorEJB implements TaxProcessBalLocal, T ...@@ -328,6 +329,7 @@ public class TaxProcessBal extends ValidatorEJB implements TaxProcessBalLocal, T
errString = itmDBAccessEJB.getErrorString("bal_group","VMBGNUL",userId); errString = itmDBAccessEJB.getErrorString("bal_group","VMBGNUL",userId);
} }
} }
*/
else if (childNodeName.equalsIgnoreCase("bal_prd")) else if (childNodeName.equalsIgnoreCase("bal_prd"))
{ {
balPrd = genericUtility.getColumnValue("bal_prd", dom); balPrd = genericUtility.getColumnValue("bal_prd", dom);
......
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