Subversion Repositories SmartDukaan

Rev

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

Rev 4410 Rev 4414
Line 71... Line 71...
71
		
71
		
72
		List<Order> orders = null;
72
		List<Order> orders = null;
73
		Warehouse warehouse = null;
73
		Warehouse warehouse = null;
74
		Provider provider = null;
74
		Provider provider = null;
75
		try {
75
		try {
-
 
76
			if(!txnClient.markOrdersAsManifested(warehouseId, providerId, isCod)){
-
 
77
				return baosPDF;	
-
 
78
			}
76
			orders = txnClient.getOrdersInBatch(statuses, 0, 0, warehouseId);
79
			orders = txnClient.getOrdersInBatch(statuses, 0, 0, warehouseId);
77
			warehouse = inventoryClient.getWarehouse(warehouseId);
80
			warehouse = inventoryClient.getWarehouse(warehouseId);
78
			provider = logisticsClient.getProvider(providerId);
81
			provider = logisticsClient.getProvider(providerId);
79
		} catch (TException e) {
82
		} catch (TException e) {
80
		    logger.error("Error getting information from one of the Thrift Services: ", e);
83
		    logger.error("Error getting information from one of the Thrift Services: ", e);