Commit b1031edf authored by agaikwad's avatar agaikwad

Request_id-F15BSUN002


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97966 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 3662b79f
......@@ -95,6 +95,8 @@ public class AssetclassIC extends ValidatorEJB implements AssetclassICLocal ,As
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
int seriesCount = 0;
System.out.println("Loadddddddddddddddddddddd");
String id = genericUtility.getColumnValue("item_ser", dom);
String id1 = genericUtility.getColumnValue("grp_code", dom);
String Sql = "SELECT COUNT(1) AS COUNT FROM ASSET_CLASS WHERE ITEM_SER=? AND GRP_CODE=?";
......@@ -106,10 +108,13 @@ public class AssetclassIC extends ValidatorEJB implements AssetclassICLocal ,As
if (rs.next()) {
seriesCount = rs.getInt("COUNT");
}
if (!editFlag.equalsIgnoreCase("E"))
{
if (seriesCount > 0) {
errString = getErrorString(" ", "VMTRANIDEX", userId);
break;
}
if ( childNodeName.equalsIgnoreCase( "item_ser" ) )
{
......@@ -151,6 +156,7 @@ public class AssetclassIC extends ValidatorEJB implements AssetclassICLocal ,As
break;
}
}
}
if(childNodeName.equalsIgnoreCase( "fin_entity" ))
{
......
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