Commit cd376b54 authored by arawankar's avatar arawankar

-PoReceiptIc.java

Added condition in purc_order itemchange block for dc_date null checking.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@190077 ce508802-f39f-4f6c-b175-0d175dae99d5
parent da6df3b9
......@@ -4487,7 +4487,12 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec
System.out.println("lssf"+lssf);
if("D".equalsIgnoreCase(lssf))
{
ldtdc = Timestamp.valueOf(genericUtility.getValidDateString(ldtdc1.toString(),genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat())+" 00:00:00.0");
//Modified by Anjali R. on [30/08/2018][To check dc_date is null][Start]
if(ldtdc1 != null && ldtdc1.trim().length() > 0)
{
ldtdc = Timestamp.valueOf(genericUtility.getValidDateString(ldtdc1.toString(),genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat())+" 00:00:00.0");
}
//Modified by Anjali R. on [30/08/2018][To check dc_date is null][End]
System.out.println("ldtdc is"+ldtdc);
valueXmlString.append("<eff_date>").append(ldtdc1).append("</eff_date>");
}
......@@ -5734,9 +5739,9 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec
pstmt.setString(1,poOrder);
rs = pstmt.executeQuery();
if( rs.next() )
{
{
lscrterm = rs.getString(1);
}
}
rs.close();
rs = null;
pstmt.close();
......
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