org.kuali.kfs.module.ar.document.service
Interface InvoicePaidAppliedService<T extends AppliedPayment>

All Known Implementing Classes:
InvoicePaidAppliedServiceImpl

public interface InvoicePaidAppliedService<T extends AppliedPayment>


Method Summary
 void clearDocumentPaidAppliedsFromDatabase(String documentNumber)
          Clears all the PaidApplieds for the given document number from the database.
 boolean doesInvoiceHaveAppliedAmounts(CustomerInvoiceDocument document)
          This method returns true if invoice has applied amounts (i.e.
 Collection<InvoicePaidApplied> getInvoicePaidAppliedsForInvoice(CustomerInvoiceDocument invoice)
           
 Collection<InvoicePaidApplied> getInvoicePaidAppliedsForInvoice(String documentNumber)
           
 Integer getNumberOfInvoicePaidAppliedsForInvoiceDetail(String financialDocumentReferenceInvoiceNumber, Integer invoiceItemNumber)
           
 

Method Detail

getNumberOfInvoicePaidAppliedsForInvoiceDetail

Integer getNumberOfInvoicePaidAppliedsForInvoiceDetail(String financialDocumentReferenceInvoiceNumber,
                                                       Integer invoiceItemNumber)

clearDocumentPaidAppliedsFromDatabase

void clearDocumentPaidAppliedsFromDatabase(String documentNumber)
Clears all the PaidApplieds for the given document number from the database. This is typically done prior to loading a new set of lines in. NOTE that this will delete the Paid Applieds that were generated BY the documentNumber passed in, not that apply TO the documentNumber passed in.

Parameters:
documentNumber -

doesInvoiceHaveAppliedAmounts

boolean doesInvoiceHaveAppliedAmounts(CustomerInvoiceDocument document)
This method returns true if invoice has applied amounts (i.e. from application, credit memo, etc), not including discounts

Parameters:
document -
Returns:

getInvoicePaidAppliedsForInvoice

Collection<InvoicePaidApplied> getInvoicePaidAppliedsForInvoice(String documentNumber)
Parameters:
documentNumber -
Returns:

getInvoicePaidAppliedsForInvoice

Collection<InvoicePaidApplied> getInvoicePaidAppliedsForInvoice(CustomerInvoiceDocument invoice)
Parameters:
documentNumber -
Returns:


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.