public List<CreditDebit> getCDs() throws DataException {
   return BusinessObjectDAO.getInstance()
       .searchForList("CreditDebit", new SearchCriteria("journalid", id));
 }
 public Transaction getTran() throws DataException {
   return BusinessObjectDAO.getInstance().read(tranId);
 }