org.kuali.kfs.module.purap.service
Interface PurapGeneralLedgerService

All Known Implementing Classes:
PurapGeneralLedgerServiceImpl

public interface PurapGeneralLedgerService


Field Summary
static boolean CANCEL_CREDIT_MEMO
           
static String CANCEL_PAYMENT_REQUEST
           
static boolean CREATE_CREDIT_MEMO
           
static String CREATE_PAYMENT_REQUEST
           
static String MODIFY_PAYMENT_REQUEST
           
 
Method Summary
 void customizeGeneralLedgerPendingEntry(PurchasingAccountsPayableDocument purapDocument, AccountingLine accountingLine, GeneralLedgerPendingEntry explicitEntry, Integer referenceDocumentNumber, String debitCreditCode, String docType, boolean isEncumbrance)
          Customize the given general ledger entry based on the document type.
 void generateEntriesApproveAmendPurchaseOrder(PurchaseOrderDocument po)
          Generates general ledger pending entries for the amendment of a Purchase Order
 void generateEntriesCancelAccountsPayableDocument(AccountsPayableDocument apDocument)
          Generates general ledger pending entries for the cancellation of an Accounts Payable document.
 void generateEntriesClosePurchaseOrder(PurchaseOrderDocument po)
          Generates general ledger pending entries for when a Purchase Order is closed which will disencumber all the remaining encumbrances
 void generateEntriesCreateCreditMemo(VendorCreditMemoDocument cm)
          Generates general ledger pending entries for the creation of a Credit Memo
 void generateEntriesCreatePaymentRequest(PaymentRequestDocument preq)
          Generates general ledger pending entries for the creation of a Payment Request
 void generateEntriesModifyPaymentRequest(PaymentRequestDocument preq)
          Generates general ledger pending entries for the modification of a Payment Request.
 void generateEntriesReopenPurchaseOrder(PurchaseOrderDocument po)
          Generates general ledger pending entries for when a Purchase Order is reopened which will calculate the funds to be re-encumbered
 void generateEntriesVoidPurchaseOrder(PurchaseOrderDocument po)
          Generates general ledger pending entries for when a Purchase Order is voided
 

Field Detail

CREATE_PAYMENT_REQUEST

static final String CREATE_PAYMENT_REQUEST
See Also:
Constant Field Values

CANCEL_PAYMENT_REQUEST

static final String CANCEL_PAYMENT_REQUEST
See Also:
Constant Field Values

MODIFY_PAYMENT_REQUEST

static final String MODIFY_PAYMENT_REQUEST
See Also:
Constant Field Values

CREATE_CREDIT_MEMO

static final boolean CREATE_CREDIT_MEMO
See Also:
Constant Field Values

CANCEL_CREDIT_MEMO

static final boolean CANCEL_CREDIT_MEMO
See Also:
Constant Field Values
Method Detail

customizeGeneralLedgerPendingEntry

void customizeGeneralLedgerPendingEntry(PurchasingAccountsPayableDocument purapDocument,
                                        AccountingLine accountingLine,
                                        GeneralLedgerPendingEntry explicitEntry,
                                        Integer referenceDocumentNumber,
                                        String debitCreditCode,
                                        String docType,
                                        boolean isEncumbrance)
Customize the given general ledger entry based on the document type.

Parameters:
purapDocument - Document creating entries
accountingLine - AccountingLine from document used to create the pending entry
explicitEntry - GeneralLedgerPendingEntry that has been created with account info
referenceDocumentNumber - Number of the referenced document
debitCreditCode - String field indicating if the entry is a debit or credit
docType - Document type creating the pending entries
isEncumbrance - Boolean to indicate if the entry is an encumbrance

generateEntriesCreatePaymentRequest

void generateEntriesCreatePaymentRequest(PaymentRequestDocument preq)
Generates general ledger pending entries for the creation of a Payment Request

Parameters:
preq - PaymentRequestDocument which holds the accounts to create the entries

generateEntriesModifyPaymentRequest

void generateEntriesModifyPaymentRequest(PaymentRequestDocument preq)
Generates general ledger pending entries for the modification of a Payment Request. No entries will be created if the calculated change is zero (meaning no change was made). Also, no encumbrance entries will be created.

Parameters:
preq - PaymentRequestDocument which holds the accounts to create the entries

generateEntriesCreateCreditMemo

void generateEntriesCreateCreditMemo(VendorCreditMemoDocument cm)
Generates general ledger pending entries for the creation of a Credit Memo

Parameters:
cm - CreditMemoDocument which holds the accounts to create the entries

generateEntriesCancelAccountsPayableDocument

void generateEntriesCancelAccountsPayableDocument(AccountsPayableDocument apDocument)
Generates general ledger pending entries for the cancellation of an Accounts Payable document.

Parameters:
apDocument - AccountsPayableDocument which holds the accounts to create the entries for the cancellation

generateEntriesApproveAmendPurchaseOrder

void generateEntriesApproveAmendPurchaseOrder(PurchaseOrderDocument po)
Generates general ledger pending entries for the amendment of a Purchase Order

Parameters:
po - PurchaseOrderDocument which holds the accounts to create the entries

generateEntriesClosePurchaseOrder

void generateEntriesClosePurchaseOrder(PurchaseOrderDocument po)
Generates general ledger pending entries for when a Purchase Order is closed which will disencumber all the remaining encumbrances

Parameters:
po - PurchaseOrderDocument which holds the accounts to create the entries

generateEntriesReopenPurchaseOrder

void generateEntriesReopenPurchaseOrder(PurchaseOrderDocument po)
Generates general ledger pending entries for when a Purchase Order is reopened which will calculate the funds to be re-encumbered

Parameters:
po - PurchaseOrderDocument which holds the accounts to create the entries

generateEntriesVoidPurchaseOrder

void generateEntriesVoidPurchaseOrder(PurchaseOrderDocument po)
Generates general ledger pending entries for when a Purchase Order is voided

Parameters:
po - PurchaseOrderDocument which holds the accounts to create the entries


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