| Line 72... |
Line 72... |
| 72 |
Map<Long, Item> allAliveItemsMap = new HashMap<Long, Item>();
|
72 |
Map<Long, Item> allAliveItemsMap = new HashMap<Long, Item>();
|
| 73 |
|
73 |
|
| 74 |
Map<Long, ItemInventory> itemInventoryMap = invClient.getInventorySnapshot(0);
|
74 |
Map<Long, ItemInventory> itemInventoryMap = invClient.getInventorySnapshot(0);
|
| 75 |
List<Warehouse> allWarehouses = invClient.getAllWarehouses(false);
|
75 |
List<Warehouse> allWarehouses = invClient.getAllWarehouses(false);
|
| 76 |
|
76 |
|
| 77 |
List<Long> PHYSICAL_WAREHOUSE_IDS = Arrays.asList(7L,13L,1765L,3298L,3931L);
|
77 |
List<Long> PHYSICAL_WAREHOUSE_IDS = Arrays.asList(7441L);
|
| 78 |
Map<Long, Warehouse> allWarehousesMap = new HashMap<Long, Warehouse>();
|
78 |
Map<Long, Warehouse> allWarehousesMap = new HashMap<Long, Warehouse>();
|
| 79 |
|
79 |
|
| 80 |
List<InventoryAvailability> totalInventoryList;
|
80 |
List<InventoryAvailability> totalInventoryList;
|
| 81 |
|
81 |
|
| 82 |
for(Warehouse wh : allWarehouses){
|
82 |
for(Warehouse wh : allWarehouses){
|
| Line 279... |
Line 279... |
| 279 |
} catch (IOException e) {
|
279 |
} catch (IOException e) {
|
| 280 |
|
280 |
|
| 281 |
}
|
281 |
}
|
| 282 |
String subject = mismatchRecordsNumber + " mismatches in inventory compared to scan Records: ";
|
282 |
String subject = mismatchRecordsNumber + " mismatches in inventory compared to scan Records: ";
|
| 283 |
GmailUtils g = new GmailUtils();
|
283 |
GmailUtils g = new GmailUtils();
|
| 284 |
g.sendSSLMessage(new String[]{ "aman.kumar@shop2020.in","amit.gupta@shop2020.in"/*,"rajveer.singh@shop2020.in"*/ }, subject,
|
284 |
g.sendSSLMessage(new String[]{ "deenanath@tarashoverseas.com","amit.gupta@shop2020.in"/*,"rajveer.singh@shop2020.in"*/ }, subject,
|
| 285 |
"", "adwords@shop2020.in", "adwords_shop2020", file.getAbsolutePath());
|
285 |
"", "adwords@shop2020.in", "adwords_shop2020", file.getAbsolutePath());
|
| 286 |
}
|
286 |
}
|
| 287 |
}
|
287 |
}
|