|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CustomerInvoiceWriteoffDocumentService
Method Summary | |
---|---|
boolean |
checkIfThereIsNoAnotherCRMInRouteForTheInvoice(String invoiceDocumentNumber)
This method checks if there is no another CRM in route for the invoice Not in route if CRM status is one of the following: processed, cancelled, or disapproved |
boolean |
checkIfThereIsNoAnotherWriteoffInRouteForTheInvoice(String invoiceDocumentNumber)
This method checks if there is no another writeoff in route for the invoice Not in route if writeoff status is one of the following: processed, cancelled, or disapproved |
void |
completeWriteoffProcess(CustomerInvoiceWriteoffDocument writeoff)
Finalizes the actions of a Writeoff document, once its been completely approved. |
String |
createCustomerInvoiceWriteoffDocument(org.kuali.rice.kim.bo.Person initiator,
String invoiceNumber,
String note)
Creates a new Invoice Writeoff Document based on the indicated Invoice doc number and the initiator. |
Collection<CustomerInvoiceDocument> |
filterInvoices(Collection<CustomerInvoiceDocument> customerInvoiceDocuments)
This method filters invoices which have related CRMs and/or writeoffs in route |
Collection<CustomerInvoiceWriteoffLookupResult> |
getCustomerInvoiceDocumentsForInvoiceWriteoffLookup(Map<String,String> fieldValues)
This method returns a collection of customer invoice documents that are eligible for writeoff |
String |
getFinancialObjectCode(CustomerInvoiceDetail postable,
CustomerInvoiceWriteoffDocument poster,
boolean isUsingOrgAcctDefaultWriteoffFAU,
boolean isUsingChartForWriteoff,
String chartOfAccountsCode)
|
ObjectCode |
getObjectCode(CustomerInvoiceDetail postable,
CustomerInvoiceWriteoffDocument poster,
boolean isUsingOrgAcctDefaultWriteoffFAU,
boolean isUsingChartForWriteoff,
String chartOfAccountsCode)
|
boolean |
isCustomerInvoiceWriteoffDocumentApproved(String customerInvoiceWriteoffDocumentNumber)
This method returns true if a customer invoice writeoff document is approved |
String |
sendCustomerInvoiceWriteoffDocumentsToBatch(org.kuali.rice.kim.bo.Person person,
Collection<CustomerInvoiceWriteoffLookupResult> customerInvoiceWriteoffLookupResults)
Accepts a lookup result and creates a batch file dropped into the batch system for later asynchronous processing. |
void |
setupDefaultValuesForNewCustomerInvoiceWriteoffDocument(CustomerInvoiceWriteoffDocument customerInvoiceWriteoffDocument)
This method setups any default values for a new customer invoice document |
Method Detail |
---|
void completeWriteoffProcess(CustomerInvoiceWriteoffDocument writeoff)
writeoff
- The approved Writeoff document to complete.void setupDefaultValuesForNewCustomerInvoiceWriteoffDocument(CustomerInvoiceWriteoffDocument customerInvoiceWriteoffDocument)
customerInvoiceWriteoffDocument
- boolean isCustomerInvoiceWriteoffDocumentApproved(String customerInvoiceWriteoffDocumentNumber)
customerInvoiceWriteoffDocumentNumber
-
Collection<CustomerInvoiceWriteoffLookupResult> getCustomerInvoiceDocumentsForInvoiceWriteoffLookup(Map<String,String> fieldValues)
fieldValues
-
Collection<CustomerInvoiceDocument> filterInvoices(Collection<CustomerInvoiceDocument> customerInvoiceDocuments)
customerInvoiceDocuments
-
boolean checkIfThereIsNoAnotherCRMInRouteForTheInvoice(String invoiceDocumentNumber)
invoice
-
boolean checkIfThereIsNoAnotherWriteoffInRouteForTheInvoice(String invoiceDocumentNumber)
invoice
-
String sendCustomerInvoiceWriteoffDocumentsToBatch(org.kuali.rice.kim.bo.Person person, Collection<CustomerInvoiceWriteoffLookupResult> customerInvoiceWriteoffLookupResults)
personId
- customerInvoiceWriteoffLookupResults
-
String createCustomerInvoiceWriteoffDocument(org.kuali.rice.kim.bo.Person initiator, String invoiceNumber, String note) throws org.kuali.rice.kew.exception.WorkflowException
initiator
- Person who initiated the writeoffs.invoiceNumber
- Invoice document number to base the writeoff on.note
- User note to be added to the document.
org.kuali.rice.kew.exception.WorkflowException
String getFinancialObjectCode(CustomerInvoiceDetail postable, CustomerInvoiceWriteoffDocument poster, boolean isUsingOrgAcctDefaultWriteoffFAU, boolean isUsingChartForWriteoff, String chartOfAccountsCode)
ObjectCode getObjectCode(CustomerInvoiceDetail postable, CustomerInvoiceWriteoffDocument poster, boolean isUsingOrgAcctDefaultWriteoffFAU, boolean isUsingChartForWriteoff, String chartOfAccountsCode)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |