Commit 2661e9c1 authored by smestry's avatar smestry

Updated the java file to calculate mfg_date.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104615 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d95b10d4
...@@ -2017,10 +2017,14 @@ public class AdjReceiptIC extends ValidatorEJB implements AdjReceiptICRemote,Adj ...@@ -2017,10 +2017,14 @@ public class AdjReceiptIC extends ValidatorEJB implements AdjReceiptICRemote,Adj
pstmt1.close(); pstmt1.close();
pstmt1=null; pstmt1=null;
MfgDateTimeStamp=Timestamp.valueOf(genericUtility.getValidDateString(mfgDate, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0"); /*MfgDateTimeStamp=Timestamp.valueOf(genericUtility.getValidDateString(mfgDate, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
mExpdateTimeStamp=distCommon.CalcExpiry(MfgDateTimeStamp,shelflife); mExpdateTimeStamp=distCommon.CalcExpiry(MfgDateTimeStamp,shelflife);*/
} }
// Changed by Sneha on 14-02-2017, to calculate mfg date [Start]
MfgDateTimeStamp=Timestamp.valueOf(genericUtility.getValidDateString(mfgDate, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
mExpdateTimeStamp=distCommon.CalcExpiry(MfgDateTimeStamp,shelflife);
// Changed by Sneha on 14-02-2017, to calculate mfg date [End]
} }
else else
{ {
......
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