Commit 77ecb055 authored by smanohar's avatar smanohar

class with changes from Sun (Santosh Gupta) updated in repository

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@197348 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b185a3d6
......@@ -5511,7 +5511,21 @@ public class CustStockGWTIC extends ValidatorEJB implements CustStockGWTICLocal,
invoiceMonthsPrevious=Integer.parseInt(invoiceMonths);
}
//thirdMonthDay= utlmethd.AddMonths(prdtoDateTmstmp, -3);
System.out.println("invoiceMonthsPrevious>>>>>"+invoiceMonthsPrevious);
//Changes done by santosh on 19-FEB-2019 to set date in Class variable .START
fromdate = genericUtility.getColumnValue("from_date",dom1);
System.out.println("@S@fromdate (case 3) :"+fromdate);
todate = genericUtility.getColumnValue("to_date",dom1);
System.out.println("@S@todate (case 3):"+todate);
frmDateTstmp = java.sql.Timestamp.valueOf(genericUtility.getValidDateString(fromdate, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()) + " 00:00:00.0");
System.out.println("@S@frmDateTstmp :"+frmDateTstmp);
toDateTstmp = java.sql.Timestamp.valueOf(genericUtility.getValidDateString(todate, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()) + " 00:00:00.0");
System.out.println("@S@toDateTstmp :"+toDateTstmp);
prdtoDateTmstmp=toDateTstmp;
prdFromoDateTmstmp=frmDateTstmp;
//Changes done by santosh on 19-FEB-2019 to set date in Class variable .END
System.out.println("@S@ invoiceMonthsPrevious>>>>>"+invoiceMonthsPrevious);
System.out.println("@S@>> prdFromoDateTmstmp["+prdFromoDateTmstmp+"]prdtoDateTmstmp["+prdtoDateTmstmp+"]");
thirdMonthDay= AddMonths(prdFromoDateTmstmp, invoiceMonthsPrevious);
//thirdMonthDay= utlmethd.AddMonths(prdFromoDateTmstmp, -3);
System.out.println("thirdMonthDay>>>>>>"+thirdMonthDay);
......
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