Commit 44b74cf8 authored by psawant's avatar psawant

Master Realignment

UI related changes in Supplier Master 
and Added reas_code bklist and bklist_reason column in supplier Master.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@190464 ce508802-f39f-4f6c-b175-0d175dae99d5
parent df78bf22
......@@ -975,7 +975,7 @@ public class Supplier extends ValidatorEJB implements SupplierLocal,SupplierRemo
String fullName = "";
String sql = "";
String sql1 = "";
String cityHdr="",pinHdr="",regCode="",regDescr="";
String cityHdr="",pinHdr="",regCode="",regDescr="",resBKList="",lsDescr="";
StringBuffer valueXmlString = new StringBuffer();
Connection conn = null;
PreparedStatement pstmt = null;
......@@ -1107,6 +1107,29 @@ public class Supplier extends ValidatorEJB implements SupplierLocal,SupplierRemo
}
valueXmlString.append("<supp_name>").append("<![CDATA[" + name +"]]>").append("</supp_name>");
}
//Added by Pooja S. on 6 sept 18[Itemchange of reas_code__bklist] Start
else if(currentColumn.trim().equalsIgnoreCase("reas_code__bklist"))
{
System.out.println(">>>>>>>>>>reas_code__bklist itemchange:");
resBKList =genericUtility.getColumnValue("reas_code__bklist", dom);
System.out.println("reasoncodebalcklist"+resBKList);
sql ="select descr from gencodes where mod_name='W_SUPPLIER' and fld_name ='REAS_CODE__BKLIST' and fld_value =?";
pstmt =conn.prepareStatement(sql);
pstmt.setString(1,(resBKList).toUpperCase());
rs = pstmt.executeQuery();
if(rs.next())
{
lsDescr = rs.getString("descr");
System.out.println("Descrription of reascode"+lsDescr);
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
valueXmlString.append("<bklist_reason>").append("<![CDATA[" + checkNull(lsDescr) + "]]>").append("</bklist_reason>");
}
//Added by Pooja S. on 6 sept 18[Itemchange of reas_code__bklist] End
else if(currentColumn.trim().equalsIgnoreCase("supp_name"))
{
suppName =genericUtility.getColumnValue("supp_name", 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