Subversion Repositories SmartDukaan

Rev

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

Rev 9573 Rev 9629
Line 114... Line 114...
114
		LineItem lineItem = null;
114
		LineItem lineItem = null;
115
		CatalogService.Client catalogClient = null;
115
		CatalogService.Client catalogClient = null;
116
		SnapdealItem snapdealItem = null;
116
		SnapdealItem snapdealItem = null;
117
		double SellingPrice = 0;
117
		double SellingPrice = 0;
118
		long sku;
118
		long sku;
-
 
119
		long subOrderId;
119
		for(Order order:orders.getOrder()){
120
		for(Order order:orders.getOrder()){
120
			long subOrderId = (long) order.getSuborderId();
121
			subOrderId = order.getSuborderId();
121
			Client transaction_client = null;
122
			Client transaction_client = null;
122
			try {
123
			try {
123
				transaction_client = new TransactionClient().getClient();
124
				transaction_client = new TransactionClient().getClient();
124
				if(transaction_client.snapdealOrderExists(subOrderId, order.getReferenceCode())) {
125
				if(transaction_client.snapdealOrderExists(subOrderId, order.getReferenceCode())) {
125
					logger.error("Snapdeal suborder id exists " + subOrderId);
126
					logger.error("Snapdeal suborder id exists " + subOrderId);