Commit e6b67c2c authored by nkhan's avatar nkhan

check null for gb_date if not null then parse gbf from timestam


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104150 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 60804815
...@@ -2584,8 +2584,13 @@ public class PostOrdInvoicePost extends ActionHandlerEJB implements PostOrdInvoi ...@@ -2584,8 +2584,13 @@ public class PostOrdInvoicePost extends ActionHandlerEJB implements PostOrdInvoi
InvoiceHrdMap.put("gp_no", checkNull(rs.getString("gp_no"))); InvoiceHrdMap.put("gp_no", checkNull(rs.getString("gp_no")));
//Changed By Nasruddin 14-10-16 Strat //Changed By Nasruddin 14-10-16 Strat
//InvoiceHrdMap.put("gp_date", checkNull(rs.getString("gp_date"))); //InvoiceHrdMap.put("gp_date", checkNull(rs.getString("gp_date")));
gpDtStr=genericUtility.getValidDateString(rs.getString("gp_date"), genericUtility.getDBDateFormat(), //changed By Nasruddin khan 07-12-16 Start
genericUtility.getApplDateFormat()); if(rs.getString("gp_date")!= null)
{
gpDtStr=genericUtility.getValidDateString(rs.getString("gp_date"), genericUtility.getDBDateFormat(),
genericUtility.getApplDateFormat());
}
//changed By Nasruddin khan 07-12-16 END
InvoiceHrdMap.put("gp_date", gpDtStr); InvoiceHrdMap.put("gp_date", gpDtStr);
//Changed By Nasruddin 14-10-16 End //Changed By Nasruddin 14-10-16 End
InvoiceHrdMap.put("sales_grp", checkNull(rs.getString("sales_grp"))); InvoiceHrdMap.put("sales_grp", checkNull(rs.getString("sales_grp")));
......
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