Subversion Repositories SmartDukaan

Rev

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

Rev 4585 Rev 4765
Line 98... Line 98...
98
			historyClient.updateInventoryHistory(warehouseId, timestamp, availability);
98
			historyClient.updateInventoryHistory(warehouseId, timestamp, availability);
99
			
99
			
100
			List<BillingUpdate> billingUpdates = inventoryUpdate.getBillingUpdates();
100
			List<BillingUpdate> billingUpdates = inventoryUpdate.getBillingUpdates();
101
			if(billingUpdates!=null){
101
			if(billingUpdates!=null){
102
				for(BillingUpdate billingUpdate: billingUpdates){
102
				for(BillingUpdate billingUpdate: billingUpdates){
103
					tClient.addInvoiceNumber(Long.parseLong(billingUpdate.getOrderId()), billingUpdate.getInvoiceNumber());
103
					tClient.addInvoiceNumber(Long.parseLong(billingUpdate.getOrderId()), billingUpdate.getInvoiceNumber(), billingUpdate.getColor());
104
				}
104
				}
105
			}
105
			}
106
			
106
			
107
		} catch (Exception e) {
107
		} catch (Exception e) {
108
			logger.error("Unable to update inventory", e);
108
			logger.error("Unable to update inventory", e);