Subversion Repositories SmartDukaan

Rev

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

Rev 8508 Rev 8569
Line 198... Line 198...
198
	    			totalPrice = overriddenPrice;
198
	    			totalPrice = overriddenPrice;
199
	    		}
199
	    		}
200
	        	LineItem lineItem = null;
200
	        	LineItem lineItem = null;
201
	        	try {
201
	        	try {
202
	        		lineItem = createLineItem(itemId, totalPrice);
202
	        		lineItem = createLineItem(itemId, totalPrice);
-
 
203
	        		Double subOrderId = row.getCell(SUBORDER_ID_INDEX).getNumericCellValue();
-
 
204
	            	String refCode = row.getCell(REFERENCE_CODE_INDEX).getStringCellValue();
-
 
205
	        		lineItem.setExtra_info("SubOrderId = " + subOrderId + " ReferenceCode = " + refCode);
203
	        	} catch (Exception tex) {
206
	        	} catch (Exception tex) {
204
	        		logger.error("Unable to create order for RowId " + rowId, tex);
207
	        		logger.error("Unable to create order for RowId " + rowId, tex);
205
	        		setErrorMsg(getErrorMsg() + "<br>Unable to create lineitem using catalog info for RowId " + rowId);
208
	        		setErrorMsg(getErrorMsg() + "<br>Unable to create lineitem using catalog info for RowId " + rowId);
206
	    	        continue;
209
	    	        continue;
207
	        	}
210
	        	}