public interface InvoiceDao
Modifier and Type | Method and Description |
---|---|
List<String> |
getActiveInvoiceDocumentNumbersForPurchaseOrder(Integer purchaseOrderId)
Retrieves a list of potentially active invoices for a purchase order by status code.
|
List |
getActiveInvoicesByPOIdInvoiceAmountInvoiceDate(Integer poId,
org.kuali.rice.core.api.util.type.KualiDecimal invoiceAmount,
Date invoiceDate)
Retrieves a list of Invoices with the given PO Id, invoice amount, and invoice date.
|
List |
getActiveInvoicesByVendorNumber(Integer vendorHeaderGeneratedId,
Integer vendorDetailAssignedId)
Retrieves a list of Invoices with the given vendor id and invoice number.
|
List |
getActiveInvoicesByVendorNumberInvoiceNumber(Integer vendorHeaderGeneratedId,
Integer vendorDetailAssignedId,
String invoiceNumber)
Retrieves a list of Invoices with the given vendor id and invoice number.
|
String |
getDocumentNumberByInvoiceId(Integer id)
Get a invoice document number by id.
|
List<String> |
getDocumentNumbersByPurchaseOrderId(Integer id)
Retrieves a list of document numbers by purchase order id.
|
List<String> |
getEligibleForAutoApproval(Date todayAtMidnight)
Get all invoice documents that are eligible for auto-approval.
|
List<InvoiceDocument> |
getImmediateInvoicesToExtract(String chartCode)
Get all the invoices that are marked immediate that need to be extracted to PDP.
|
List<String> |
getInvoiceInReceivingStatus()
Get all invoice which are waiting in receiving status queue
|
List<InvoiceDocument> |
getInvoicesToExtract(boolean onlySpecialPayments,
String chartCode,
Date onOrBeforeInvoicePayDate)
Get all the invoices that need to be extracted to PDP.
|
List<InvoiceDocument> |
getInvoicesToExtract(String campusCode,
Integer invoiceIdentifier,
Integer purchaseOrderIdentifier,
Integer vendorHeaderGeneratedIdentifier,
Integer vendorDetailAssignedIdentifier,
Date currentSqlDateMidnight)
Get all the invoices that need to be extracted that match a credit memo.
|
Collection<InvoiceDocument> |
getInvoicesToExtractForVendor(String campusCode,
VendorGroupingHelper vendor,
Date onOrBeforeInvoicePayDate)
Get all the invoices that need to be extracted that match a credit memo.
|
List<InvoiceDocument> getInvoicesToExtract(String campusCode, Integer invoiceIdentifier, Integer purchaseOrderIdentifier, Integer vendorHeaderGeneratedIdentifier, Integer vendorDetailAssignedIdentifier, Date currentSqlDateMidnight)
campusCode
- - limit results to a single chartinvoiceIdentifier
- - Invoice Identifier (can be null)purchaseOrderIdentifier
- - PO Identifier (can be null)vendorHeaderGeneratedIdentifier
- - Vendor Header IDvendorDetailAssignedIdentifier
- - Vendor Detail IDcurrentSqlDateMidnight
- current SQL date midnightCollection<InvoiceDocument> getInvoicesToExtractForVendor(String campusCode, VendorGroupingHelper vendor, Date onOrBeforeInvoicePayDate)
campusCode
- - limit results to a single chartvendor
- - Vendor Header ID, Vendor Detail ID, Country, Zip CodeonOrBeforeInvoicePayDate
- only invoices with a pay date on or before this value will be returned in the
iteratorList<InvoiceDocument> getInvoicesToExtract(boolean onlySpecialPayments, String chartCode, Date onOrBeforeInvoicePayDate)
onlySpecialPayments
- - true only include special payments, False - include allchartCode
- - if not null, limit results to a single chartList<InvoiceDocument> getImmediateInvoicesToExtract(String chartCode)
chartCode
- - chart of accounts codeList<String> getEligibleForAutoApproval(Date todayAtMidnight)
todayAtMidnight
- String getDocumentNumberByInvoiceId(Integer id)
id
- - Invoice IdList<String> getDocumentNumbersByPurchaseOrderId(Integer id)
id
- - purchase order idList getActiveInvoicesByVendorNumberInvoiceNumber(Integer vendorHeaderGeneratedId, Integer vendorDetailAssignedId, String invoiceNumber)
vendorHeaderGeneratedId
- - header id of the vendor idvendorDetailAssignedId
- - detail id of the vendor idinvoiceNumber
- - invoice number as entered by APList getActiveInvoicesByVendorNumber(Integer vendorHeaderGeneratedId, Integer vendorDetailAssignedId)
vendorHeaderGeneratedId
- - header id of the vendor idvendorDetailAssignedId
- - detail id of the vendor idList getActiveInvoicesByPOIdInvoiceAmountInvoiceDate(Integer poId, org.kuali.rice.core.api.util.type.KualiDecimal invoiceAmount, Date invoiceDate)
poId
- - purchase order IDinvoiceAmount
- - amount of the invoice as entered by APinvoiceDate
- - date of the invoice as entered by APList<String> getActiveInvoiceDocumentNumbersForPurchaseOrder(Integer purchaseOrderId)
purchaseOrderId
- List<String> getInvoiceInReceivingStatus()
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.