| org.kuali.module.purap.service.AccountsPayableService
All known Subclasses: org.kuali.module.purap.service.impl.AccountsPayableServiceImpl,
AccountsPayableService | public interface AccountsPayableService (Code) | | Contains logic for use by the individual AccountsPayable documents
|
cancelAccountsPayableDocument | public void cancelAccountsPayableDocument(AccountsPayableDocument apDocument, String currentNodeName)(Code) | | This method cancels a document, it uses DocumentSpecificService to call the actual logic on the PaymentRequestService
or CreditMemoService as appropriate. In certain cases it will also reopen a closed PurchaseOrderDocument
Parameters: apDocument - The accounts payable document to be canceled. Parameters: currentNodeName - The string representing the current node, which we'll need when wewant to update the document status by node. Note: if this is blank it is assumedthe request is not coming from workflow. |
generateExpiredOrClosedAccountNote | public void generateExpiredOrClosedAccountNote(AccountsPayableDocument document, HashMap<String, ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)(Code) | | Generates a note of where continuation accounts were used and adds them as a note to the document.
Parameters: document - The accounts payable document to which we're adding the notes. Parameters: expiredOrClosedAccountList - The HashMap where the keys are the string representations of the chart andaccount of the original account and the values are the ExpiredOrClosedAccountEntry. |
generateExpiredOrClosedAccountWarning | public void generateExpiredOrClosedAccountWarning(AccountsPayableDocument document)(Code) | | 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.
Parameters: document - The accounts payable document to which we're adding the warning message. |
getExpiredOrClosedAccountList | public HashMap<String, ExpiredOrClosedAccountEntry> getExpiredOrClosedAccountList(AccountsPayableDocument document)(Code) | | 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.
Parameters: document - The accounts payable document whose accounts we are trying to retrieve. A HashMap where the keys are the string representations of the chart and account of the original account and the values are the ExpiredOrClosedAccountEntry. |
processExpiredOrClosedAccount | public void processExpiredOrClosedAccount(PurApAccountingLineBase acctLineBase, HashMap<String, ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)(Code) | | Performs the replacement of an expired/closed account with a continuation account.
Parameters: acctLineBase - The accounting line whose chart and account we're going to replace. Parameters: expiredOrClosedAccountList - The HashMap where the keys are the string representations of the chartand account of the original account and the values are the ExpiredOrClosedAccountEntry. |
purchaseOrderItemEligibleForPayment | public boolean purchaseOrderItemEligibleForPayment(PurchaseOrderItem poi)(Code) | | Determines if item is eligible for payment.
Parameters: poi - The purchase order item whose eligibility for payment is to be determined. boolean true if the item is eligible for payment. |
updateItemList | public void updateItemList(AccountsPayableDocument apDocument)(Code) | | Updates the item list based on what's eligible to be payed on purchase order.
Parameters: apDocument - The accounts payable document containing the items to be updated. |
|
|