Commit e839ae40 authored by pgole's avatar pgole

Updated EJB for [F16ASUN006].


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101574 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f6d12103
......@@ -133,7 +133,7 @@ public class RelaPartyApplIC extends ValidatorEJB implements RelaPartyApplICRemo
else
{
finEntity = genericUtility.getColumnValue( "fin_entity", dom, "1" );
finEntity = checkNull(genericUtility.getColumnValue( "fin_entity", dom, "1" ));
//System.out.println("Inside wfval fin_entity else>>>"+finEntity);
sql = " SELECT COUNT(*) FROM FINENT WHERE FIN_ENTITY ='" + finEntity.trim() + "'";
......@@ -170,8 +170,8 @@ public class RelaPartyApplIC extends ValidatorEJB implements RelaPartyApplICRemo
else
{
//System.out.println("Inside wfval acct_prd else>>>");
acctPrd = genericUtility.getColumnValue( "acct_prd", dom);
finEntity = genericUtility.getColumnValue( "fin_entity", dom);
acctPrd = checkNull(genericUtility.getColumnValue( "acct_prd", dom));
finEntity = checkNull(genericUtility.getColumnValue( "fin_entity", dom));
//System.out.println(" wf else acctPrd[" + acctPrd + "]" + "finEntity "+finEntity);
......@@ -484,11 +484,11 @@ public class RelaPartyApplIC extends ValidatorEJB implements RelaPartyApplICRemo
System.out.println("[" + currentColumn + "] ==> '" + columnValue + "'");
if (currentColumn.trim().equals( "fin_entity" ))
{
finEntity = genericUtility.getColumnValue( "fin_entity", dom );
finEntity = checkNull(genericUtility.getColumnValue( "fin_entity", dom ));
sql = "SELECT F.DESCR FINENT_DESCR FROM FINENT F WHERE F.FIN_ENTITY = ? ";
pStmt = conn.prepareStatement( sql );
pStmt.setString(1,finEntity.toUpperCase());
pStmt.setString(1,finEntity);
rs = pStmt.executeQuery();
if( rs.next() )
{
......@@ -503,11 +503,11 @@ public class RelaPartyApplIC extends ValidatorEJB implements RelaPartyApplICRemo
}
else if (currentColumn.trim().equals( "tran_cat" ))
{
tranCat = genericUtility.getColumnValue( "tran_cat", dom );
tranCat = checkNull(genericUtility.getColumnValue( "tran_cat", dom ));
sql = "SELECT T.DESCR DESCR FROM TRANSACTION_CAT T WHERE T.TRAN_CAT = ? ";
pStmt = conn.prepareStatement( sql );
pStmt.setString(1,tranCat.toUpperCase());
pStmt.setString(1,tranCat);
rs = pStmt.executeQuery();
if( rs.next() )
{
......
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