| org.kuali.module.purap.dao.CreditMemoDao
All known Subclasses: org.kuali.module.purap.dao.ojb.CreditMemoDaoOjb,
CreditMemoDao | public interface CreditMemoDao (Code) | | Credit Memo DAO Interface. Defines DB access methods that a CreditMemoDaoImpl must implement.
|
duplicateExists | public boolean duplicateExists(Integer vendorNumberHeaderId, Integer vendorNumberDetailId, String creditMemoNumber)(Code) | | This method tests for a duplicate entry of a credit memo by the combination of vendorNumber HeaderId, vendorNumber and
creditMemoNumber. This method accepts the three values as arguments, and returns a boolean, describing whether a duplicate
exists in the system or not.
Parameters: vendorNumberHeaderId - - vendor number header id Parameters: vendorNumber - - the composite two-part vendorNumber (headerId-detailId) Parameters: creditMemoNumber - - the vendor-supplied creditMemoNumber boolean - true if a match exists in the db, false if not |
duplicateExists | public boolean duplicateExists(Integer vendorNumberHeaderId, Integer vendorNumberDetailId, Date date, KualiDecimal amount)(Code) | | This method tests for a duplicate entry of a credit memo by the combination of vendor number header id, vendor detail id,
date and amount. This method accepts the values as arguments, and returns a boolean, describing whether a duplicate exists in
the system or not.
Parameters: vendorNumberHeaderId - Parameters: vendorNumberDetailId - Parameters: date - - date of transaction Parameters: amount - - amount of transaction boolean - true if a match exists in the db, false if not |
getCreditMemosToExtract | public Iterator<CreditMemoDocument> getCreditMemosToExtract(String chartCode)(Code) | | Get all the credit memos that need to be extracted
Parameters: chartCode - - if not null, limit results to a single chart - Iterator of credit memos |
getCreditMemosToExtractByVendor | public Iterator<CreditMemoDocument> getCreditMemosToExtractByVendor(String chartCode, VendorGroupingHelper vendor)(Code) | | Get all the credit memos that need to be extracted for a particular vendor record.
Parameters: chartCode - - if not null, limit results to a single chart Parameters: vendorHeaderGeneratedIdentifier - Parameters: vendorDetailAssignedIdentifier - - Iterator of credit memos |
getDocumentNumberByCreditMemoId | public String getDocumentNumberByCreditMemoId(Integer id)(Code) | | This method returns a credit memo document number by id.
Parameters: id - - credit memo id - document number |
|
|