public interface AccountsPayableService
| Modifier and Type | Method and Description | 
|---|---|
| void | cancelAccountsPayableDocument(AccountsPayableDocument apDocument,
                                                          String currentNodeName)This method cancels a document, it uses DocumentSpecificService to call the actual logic on the PaymentRequestService
 or CreditMemoService as appropriate. | 
| void | cancelAccountsPayableDocumentByCheckingDocumentStatus(AccountsPayableDocument apDocument,
                                                                                                          String noteText)This method cancels an AccountsPayableDocument according to the document status. | 
| boolean | canCopyAccountingLinesWithZeroAmount()checks if an accounting line with zero dollar amount can be copied from PO to PREQ. | 
| HashMap<String,ExpiredOrClosedAccountEntry> | expiredOrClosedAccountsList(PurchaseOrderDocument po) | 
| void | generateExpiredOrClosedAccountNote(AccountsPayableDocument document,
                                                                    HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)Generates a note of where continuation accounts were used and adds them as a note to the document. | 
| void | generateExpiredOrClosedAccountWarning(AccountsPayableDocument document)Adds a warning message to the message list if expired or closed accounts have been used on the document and the
 document is not in any of these state: Initiate, In Process or Awaiting Accounts Payable Review and the
 current user is a fiscal user. | 
| HashMap<String,ExpiredOrClosedAccountEntry> | getExpiredOrClosedAccountList(AccountsPayableDocument document)Generates a list of continuation accounts for expired or closed accounts as well as a list of expired or closed
 accounts with no continuation accounts. | 
| void | performLogicForFullEntryCompleted(PurchasingAccountsPayableDocument purapDocument)Performs all the actions on an update document. | 
| void | processExpiredOrClosedAccount(PurApAccountingLineBase acctLineBase,
                                                          HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)Performs the replacement of an expired/closed account with a continuation account. | 
| boolean | purchaseOrderItemEligibleForPayment(PurchaseOrderItem poi)Determines if item is eligible for payment. | 
| void | updateItemList(AccountsPayableDocument apDocument)Updates the item list based on what's eligible to be payed on purchase order. | 
HashMap<String,ExpiredOrClosedAccountEntry> getExpiredOrClosedAccountList(AccountsPayableDocument document)
document - The accounts payable document whose accounts we are trying to retrieve.void generateExpiredOrClosedAccountNote(AccountsPayableDocument document, HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)
document - The accounts payable document to which we're adding the notes.expiredOrClosedAccountList - The HashMap where the keys are the string representations of the chart and
                                   account of the original account and the values are the ExpiredOrClosedAccountEntry.void generateExpiredOrClosedAccountWarning(AccountsPayableDocument document)
document - The accounts payable document to which we're adding the warning message.void processExpiredOrClosedAccount(PurApAccountingLineBase acctLineBase, HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)
acctLineBase - The accounting line whose chart and account we're going to replace.expiredOrClosedAccountList - The HashMap where the keys are the string representations of the chart
                                   and account of the original account and the values are the ExpiredOrClosedAccountEntry.void cancelAccountsPayableDocument(AccountsPayableDocument apDocument, String currentNodeName)
apDocument - The accounts payable document to be canceled.currentNodeName - The string representing the current node, which we'll need when we
                        want to update the document status by node.  Note: if this is blank it is assumed
                        the request is not coming from workflow.void cancelAccountsPayableDocumentByCheckingDocumentStatus(AccountsPayableDocument apDocument, String noteText) throws Exception
apDocument - The accounts payable document to be canceled.noteText - Notes users input when canceling the documentExceptionvoid updateItemList(AccountsPayableDocument apDocument)
apDocument - The accounts payable document containing the items to be updated.boolean purchaseOrderItemEligibleForPayment(PurchaseOrderItem poi)
poi - The purchase order item whose eligibility for payment is to be determined.void performLogicForFullEntryCompleted(PurchasingAccountsPayableDocument purapDocument)
purapDocument - PurchasingAccountsPayableDocumentHashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountsList(PurchaseOrderDocument po)
boolean canCopyAccountingLinesWithZeroAmount()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.