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
...@@ -4486,8 +4486,13 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec ...@@ -4486,8 +4486,13 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec
pstmt = null; pstmt = null;
System.out.println("lssf"+lssf); System.out.println("lssf"+lssf);
if("D".equalsIgnoreCase(lssf)) if("D".equalsIgnoreCase(lssf))
{
//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"); 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); System.out.println("ldtdc is"+ldtdc);
valueXmlString.append("<eff_date>").append(ldtdc1).append("</eff_date>"); valueXmlString.append("<eff_date>").append(ldtdc1).append("</eff_date>");
} }
......
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