| Line 225... |
Line 225... |
| 225 |
plbDetail.getItemKey(), warehouseId);
|
225 |
plbDetail.getItemKey(), warehouseId);
|
| 226 |
}
|
226 |
}
|
| 227 |
} catch (Exception e) {
|
227 |
} catch (Exception e) {
|
| 228 |
logger.error("Could not reset availability of: " + plbDetail.getItemKey(), e);
|
228 |
logger.error("Could not reset availability of: " + plbDetail.getItemKey(), e);
|
| 229 |
GmailUtils g = new GmailUtils();
|
229 |
GmailUtils g = new GmailUtils();
|
| 230 |
g.sendSSLMessage(new String[]{ "mandeep.dhir@shop2020.in","amar.kumar@shop2020.in" }, "Error resetting availability for " + plbDetail.getItemKey() + " in warehouseId: " + warehouseId + " to " + plbDetail.getQuantity(), "", "cnc.center@shop2020.in", "5hop2o2o", new ArrayList<File>());
|
230 |
g.sendSSLMessage(new String[]{ "amit.gupta@shop2020.in","amar.kumar@shop2020.in" }, "Error resetting availability for " + plbDetail.getItemKey() + " in warehouseId: " + warehouseId + " to " + plbDetail.getQuantity(), "", "cnc.center@shop2020.in", "5hop2o2o", new ArrayList<File>());
|
| 231 |
}
|
231 |
}
|
| 232 |
}
|
232 |
}
|
| 233 |
|
233 |
|
| 234 |
sendMailForPLBMismatches(warehouseId, currentInventory);
|
234 |
sendMailForPLBMismatches(warehouseId, currentInventory);
|
| 235 |
}
|
235 |
}
|
| Line 292... |
Line 292... |
| 292 |
} catch (IOException e) {
|
292 |
} catch (IOException e) {
|
| 293 |
logger.error("Could not write mismatches to file", e);
|
293 |
logger.error("Could not write mismatches to file", e);
|
| 294 |
}
|
294 |
}
|
| 295 |
|
295 |
|
| 296 |
GmailUtils g = new GmailUtils();
|
296 |
GmailUtils g = new GmailUtils();
|
| 297 |
g.sendSSLMessage(new String[]{ "mandeep.dhir@shop2020.in", "sandeep.sachdeva@shop2020.in", "ashutosh.saxena@shop2020.in", "rajneesh.arora@shop2020.in", "pankaj.kankar@shop2020.in", "amar.kumar@shop2020.in" }, subject,
|
297 |
g.sendSSLMessage(new String[]{ "sandeep.sachdeva@shop2020.in", "khushal.bhatia@shop2020.in", "rajneesh.arora@shop2020.in", "amit.gupta@shop2020.in", "amar.kumar@shop2020.in", "rajveer.singh@shop2020.in" }, subject,
|
| 298 |
"", "cnc.center@shop2020.in", "5h0p2o2o", file.getAbsolutePath());
|
298 |
"", "cnc.center@shop2020.in", "5h0p2o2o", file.getAbsolutePath());
|
| 299 |
}
|
299 |
}
|
| 300 |
}
|
300 |
}
|
| 301 |
|
301 |
|
| 302 |
public int getErrorCode() {
|
302 |
public int getErrorCode() {
|