| Line 701... |
Line 701... |
| 701 |
}
|
701 |
}
|
| 702 |
|
702 |
|
| 703 |
public void sendAgeingReport() throws Exception {
|
703 |
public void sendAgeingReport() throws Exception {
|
| 704 |
HttpResponse response = reporticoService.getReportFile(ReporticoProject.WAREHOUSENEW, "itemstockageing.xml");
|
704 |
HttpResponse response = reporticoService.getReportFile(ReporticoProject.WAREHOUSENEW, "itemstockageing.xml");
|
| 705 |
HttpEntity respsonseEntity = response.getEntity();
|
705 |
HttpEntity respsonseEntity = response.getEntity();
|
| - |
|
706 |
System.out.println("Content Length - " + respsonseEntity.getContentLength());
|
| 706 |
byte[] responseBytes = new byte[(int) respsonseEntity.getContentLength()];
|
707 |
byte[] responseBytes = new byte[(int) respsonseEntity.getContentLength()];
|
| 707 |
respsonseEntity.getContent().read(responseBytes);
|
708 |
respsonseEntity.getContent().read(responseBytes);
|
| 708 |
String[] to = { "amod.sen@smartdukaan.com", "adeel.yazdani@smartdukaan.com", "kamini.sharma@smartdukaan.com",
|
709 |
String[] to = { "amod.sen@smartdukaan.com", "adeel.yazdani@smartdukaan.com", "kamini.sharma@smartdukaan.com",
|
| 709 |
"tarun.verma@smartdukaan.com", "chaitnaya.vats@smartdukaan.com", "mohinder.mutreja@smartdukaan.com" };
|
710 |
"tarun.verma@smartdukaan.com", "chaitnaya.vats@smartdukaan.com", "mohinder.mutreja@smartdukaan.com" };
|
| 710 |
Attachment attachment = new Attachment(
|
711 |
Attachment attachment = new Attachment(
|