Subversion Repositories SmartDukaan

Rev

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

Rev 8801 Rev 8802
Line 110... Line 110...
110
		for(Order order:orders.getOrder()){
110
		for(Order order:orders.getOrder()){
111
			long subOrderId = (long) order.getSuborderId();
111
			long subOrderId = (long) order.getSuborderId();
112
			Client transaction_client = null;
112
			Client transaction_client = null;
113
			try {
113
			try {
114
				transaction_client = new TransactionClient().getClient();
114
				transaction_client = new TransactionClient().getClient();
115
				if(transaction_client.snapdealOrderExists(subOrderId)) {
115
				if(transaction_client.snapdealOrderExists(subOrderId, order.getReferenceCode())) {
116
					logger.error("Snapdeal suborder id exists " + subOrderId);
116
					logger.error("Snapdeal suborder id exists " + subOrderId);
117
					duplicate_orders++;
117
					duplicate_orders++;
118
					continue;
118
					continue;
119
				}
119
				}
120
 
120