Subversion Repositories SmartDukaan

Rev

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

Rev 7452 Rev 7453
Line 276... Line 276...
276
	public void downloadFBASheet() {
276
	public void downloadFBASheet() {
277
		try {
277
		try {
278
			WarehouseService.Client warehouseClient = new WarehouseClient().getClient();
278
			WarehouseService.Client warehouseClient = new WarehouseClient().getClient();
279
			Map<Long, Long> transferLotItems = warehouseClient.getItemsInTransferLot(id);
279
			Map<Long, Long> transferLotItems = warehouseClient.getItemsInTransferLot(id);
280
			
280
			
281
			File fbaSheetFile = new File("transfer-lot-id-sheet"+new Date());
281
			File fbaSheetFile = new File("transfer-lot-"+id+"-sheet_"+new Date());
282
			FileOutputStream fStream = null;
282
			FileOutputStream fStream = null;
283
			try {
283
			try {
284
				fStream = new FileOutputStream(fbaSheetFile);
284
				fStream = new FileOutputStream(fbaSheetFile);
285
			} catch (FileNotFoundException e1) {
285
			} catch (FileNotFoundException e1) {
286
				logger.error(e1.getMessage());
286
				logger.error(e1.getMessage());