public interface CreditMemoDao
Modifier and Type | Method and Description |
---|---|
boolean |
duplicateExists(Integer vendorNumberHeaderId,
Integer vendorNumberDetailId,
Date date,
org.kuali.rice.core.api.util.type.KualiDecimal amount)
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.
|
boolean |
duplicateExists(Integer vendorNumberHeaderId,
Integer vendorNumberDetailId,
String creditMemoNumber)
This method tests for a duplicate entry of a credit memo by the combination of vendorNumber HeaderId, vendorNumber and
creditMemoNumber.
|
List<String> |
getActiveCreditMemoDocumentNumbersForPurchaseOrder(Integer purchaseOrderId)
Retrieves a list of potentially active credit memos for a purchase order by
status code.
|
List<VendorCreditMemoDocument> |
getCreditMemosToExtract(String chartCode)
Get all the credit memos that need to be extracted
|
Collection<VendorCreditMemoDocument> |
getCreditMemosToExtractByVendor(String chartCode,
VendorGroupingHelper vendor)
Get all the credit memos that need to be extracted for a particular vendor record.
|
String |
getDocumentNumberByCreditMemoId(Integer id)
This method returns a credit memo document number by id.
|
List<VendorCreditMemoDocument> getCreditMemosToExtract(String chartCode)
chartCode
- - if not null, limit results to a single chartCollection<VendorCreditMemoDocument> getCreditMemosToExtractByVendor(String chartCode, VendorGroupingHelper vendor)
chartCode
- - if not null, limit results to a single chartvendorHeaderGeneratedIdentifier
- vendorDetailAssignedIdentifier
- boolean duplicateExists(Integer vendorNumberHeaderId, Integer vendorNumberDetailId, String creditMemoNumber)
vendorNumberHeaderId
- - vendor number header idvendorNumber
- - the composite two-part vendorNumber (headerId-detailId)creditMemoNumber
- - the vendor-supplied creditMemoNumberboolean duplicateExists(Integer vendorNumberHeaderId, Integer vendorNumberDetailId, Date date, org.kuali.rice.core.api.util.type.KualiDecimal amount)
vendorNumberHeaderId
- vendorNumberDetailId
- date
- - date of transactionamount
- - amount of transactionString getDocumentNumberByCreditMemoId(Integer id)
id
- - credit memo idList<String> getActiveCreditMemoDocumentNumbersForPurchaseOrder(Integer purchaseOrderId)
purchaseOrderId
- Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.