Subversion Repositories SmartDukaan

Rev

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

Rev 9105 Rev 9111
Line 377... Line 377...
377
			}
377
			}
378
			Client transaction_client = null;
378
			Client transaction_client = null;
379
			try {
379
			try {
380
				transaction_client = new TransactionClient().getClient();
380
				transaction_client = new TransactionClient().getClient();
381
				if(transaction_client.flipkartOrderExists(orderId,subOrderId)) {
381
				if(transaction_client.flipkartOrderExists(orderId,subOrderId)) {
382
					logger.error("Flipkart order exists " + "id : " + orderId + " suborder id : " + subOrderId);
-
 
383
					sb.append("Flipkart order exists " + orderId+" "+subOrderId+"\n");
-
 
384
					if(shipByDate!=null && order.getTrackingId()!=null){
382
					if(shipByDate!=null && order.getTrackingId()!=null){
385
						transaction_client.updateFlipkartOrderDatesAndAWB(orderId, subOrderId, shipByDate.getTime(), order.getTrackingId());
383
						transaction_client.updateFlipkartOrderDatesAndAWB(orderId, subOrderId, shipByDate.getTime(), order.getTrackingId());
-
 
384
						logger.error("Flipkart order exists updating dates" + "id : " + orderId + " suborder id : " + subOrderId);
-
 
385
						sb.append("Flipkart order exists updating dates" + orderId+" "+subOrderId+"\n");
-
 
386
						
-
 
387
					}
-
 
388
					else{
-
 
389
						logger.error("Flipkart order exists " + "id : " + orderId + " suborder id : " + subOrderId);
-
 
390
						sb.append("Flipkart order exists " + orderId+" "+subOrderId+"\n");
386
					}
391
					}
387
					continue;
392
					continue;
388
				}
393
				}
389
 
394
 
390
			} catch (TTransportException e1) {
395
			} catch (TTransportException e1) {