Subversion Repositories SmartDukaan

Rev

Rev 11548 | Rev 15032 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11548 Rev 12897
Line 226... Line 226...
226
								catch(Exception ex){
226
								catch(Exception ex){
227
									continue;
227
									continue;
228
								}
228
								}
229
								allamazoninventory.add(amazonfbainventorysnapshot); 
229
								allamazoninventory.add(amazonfbainventorysnapshot); 
230
							}
230
							}
-
 
231
							else if(nextLine[0].startsWith("FBG")){
-
 
232
                                AmazonFbaInventorySnapshot amazonfbainventorysnapshot = new AmazonFbaInventorySnapshot() ;
-
 
233
                                if(!nextLine[10].isEmpty())
-
 
234
                                    amazonfbainventorysnapshot.setAvailability(Long.parseLong(nextLine[10]));
-
 
235
                                else{
-
 
236
                                    amazonfbainventorysnapshot.setAvailability(0);
-
 
237
                                }
-
 
238
                                amazonfbainventorysnapshot.setItem_id(Long.parseLong(nextLine[0].replaceAll("FBG","")));
-
 
239
                                amazonfbainventorysnapshot.setLocation(AmazonFCWarehouseLocation.Gurgaon);
-
 
240
                                if(nextLine[12].length()>0){
-
 
241
                                    amazonfbainventorysnapshot.setReserved(Long.parseLong(nextLine[12]));
-
 
242
                                }
-
 
243
                                else{
-
 
244
                                    amazonfbainventorysnapshot.setReserved(0);
-
 
245
                                }
-
 
246
                                if(nextLine[11].length()>0){
-
 
247
                                    amazonfbainventorysnapshot.setUnfulfillable(Long.parseLong(nextLine[11]));
-
 
248
                                }
-
 
249
                                else{
-
 
250
                                    amazonfbainventorysnapshot.setUnfulfillable(0);
-
 
251
                                }
-
 
252
                                if(nextLine[16].length()>0){
-
 
253
                                    amazonfbainventorysnapshot.setInbound(Long.parseLong(nextLine[16]));
-
 
254
                                }
-
 
255
                                else{
-
 
256
                                    amazonfbainventorysnapshot.setInbound(0);
-
 
257
                                }
-
 
258
                                allamazoninventory.add(amazonfbainventorysnapshot); 
-
 
259
                            }
231
							else{
260
							else{
232
								continue;
261
								continue;
233
							}
262
							}
234
						}
263
						}
235
						try{
264
						try{