throws java.lang.Exception {
List list = new ArrayList();
Collection invoiceCollection = this.getInvoiceDao().findByCriteria(invoiceCriteria);
Iterator iterator = invoiceCollection.iterator();
while (iterator.hasNext()) {
Invoice invoice = (Invoice) iterator.next();
InvoiceVO invoiceVO = this.getInvoiceDao().toInvoiceVO(invoice);
CustAccountService custAccountService = DataServiceLocator.instance().getCustAccountService();
invoiceVO.setCustAccountVO(custAccountService.toCustAccountVO(invoice.getCustAccount()));
list.add(invoiceVO);
}
return list;
}