public interface GeneralLedgerPendingEntryService
Modifier and Type | Method and Description |
---|---|
GeneralLedgerPendingEntry |
buildGeneralLedgerPendingEntry(GeneralLedgerPostingDocument document,
Account account,
ObjectCode objectCode,
String subAccountNumber,
String subObjectCode,
String organizationReferenceId,
String projectCode,
String referenceNumber,
String referenceTypeCode,
String referenceOriginCode,
String description,
boolean isDebit,
org.kuali.rice.core.api.util.type.KualiDecimal amount,
GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
Convenience method to build a GLPE without a generalLedgerPendingEntrySourceDetail
|
void |
delete(String documentHeaderId) |
void |
deleteByFinancialDocumentApprovedCode(String financialDocumentApprovedCode)
Delete all pending entries for a specific document approved code
|
void |
fillInFiscalPeriodYear(GeneralLedgerPendingEntry glpe)
The fiscal year and period is null in quite a few glpe's.
|
Iterator |
findApprovedPendingLedgerEntries()
The method finds all pending ledger entries
|
Collection |
findPendingEntries(Map fieldValues,
boolean isApproved) |
Iterator |
findPendingLedgerEntries(Balance balance,
boolean isApproved,
boolean isConsolidated)
This method retrieves all pending ledger entries for the given encumbrance
|
Iterator |
findPendingLedgerEntries(Encumbrance encumbrance,
boolean isApproved)
This method retrieves all pending ledger entries for the given encumbrance
|
Iterator |
findPendingLedgerEntriesForAccountBalance(Map fieldValues,
boolean isApproved)
This method retrieves all pending ledger entries that may belong to the given account balance record in the future
|
Iterator |
findPendingLedgerEntriesForBalance(Map fieldValues,
boolean isApproved)
This method retrieves all pending ledger entries matching the given balance criteria
|
Iterator |
findPendingLedgerEntriesForCashBalance(Map fieldValues,
boolean isApproved)
This method retrieves all pending ledger entries that may belong to cash balance in the future
|
Iterator |
findPendingLedgerEntriesForEncumbrance(Map fieldValues,
boolean isApproved)
This method retrieves all pending ledger entries that may belong to encumbrance table in the future
|
Iterator |
findPendingLedgerEntriesForEntry(Map fieldValues,
boolean isApproved)
This method retrieves all pending ledger entries matching the given entry criteria
|
Iterator |
findPendingLedgerEntrySummaryForAccountBalance(Map fieldValues,
boolean isApproved)
This method retrieves all pending ledger entries that may belong to the given account balance record in the future
|
boolean |
generateGeneralLedgerPendingEntries(GeneralLedgerPendingEntrySource document)
Invokes generateGeneralLedgerPendingEntries method on the transactional document.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getActualSummary(List universityFiscalYears,
String chartOfAccountsCode,
String accountNumber,
boolean isDebit)
This method...
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getBudgetSummary(Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber,
String sufficientFundsObjectCode,
boolean isYearEnd)
This method...
|
GeneralLedgerPendingEntry |
getByPrimaryId(Integer transactionEntrySequenceId,
String documentHeaderId) |
org.kuali.rice.core.api.util.type.KualiDecimal |
getCashSummary(List universityFiscalYears,
String chartOfAccountsCode,
String accountNumber,
boolean isDebit)
This method...
|
List<String> |
getEncumbranceBalanceTypes(Map fieldValues,
Integer currentFiscalYear)
Gets the encumbrance balance type.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getEncumbranceSummary(Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber,
String sufficientFundsObjectCode,
boolean isDebit,
boolean isYearEnd)
This method...
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getExpenseSummary(Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber,
String sufficientFundsObjectCode,
boolean isDebit,
boolean isYearEnd)
This method...
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getOffsetToCashAmount(GeneralLedgerPostingDocument glPostingDocument)
Adds up the amounts of all cash to offset GeneralLedgerPendingEntry records on the given AccountingDocument
|
boolean |
hasPendingGeneralLedgerEntry(Account account)
Does the given account have any general ledger entries? It is necessary to check this before closing an account.
|
boolean |
isOffsetToCash(GeneralLedgerPendingEntry generalLedgerPendingEntry)
Determines if the given GeneralLedgerPendingEntry represents offsets to cash
|
boolean |
populateBankOffsetGeneralLedgerPendingEntry(Bank bank,
org.kuali.rice.core.api.util.type.KualiDecimal depositAmount,
GeneralLedgerPostingDocument financialDocument,
Integer universityFiscalYear,
GeneralLedgerPendingEntrySequenceHelper sequenceHelper,
GeneralLedgerPendingEntry bankOffsetEntry,
String errorPropertyName)
This populates an empty GeneralLedgerPendingEntry instance with default values for a bank offset.
|
void |
populateExplicitGeneralLedgerPendingEntry(GeneralLedgerPendingEntrySource poster,
GeneralLedgerPendingEntrySourceDetail postable,
GeneralLedgerPendingEntrySequenceHelper sequenceHelper,
GeneralLedgerPendingEntry explicitEntry)
This populates an empty GeneralLedgerPendingEntry explicitEntry object instance with default values.
|
boolean |
populateOffsetGeneralLedgerPendingEntry(Integer universityFiscalYear,
GeneralLedgerPendingEntry explicitEntry,
GeneralLedgerPendingEntrySequenceHelper sequenceHelper,
GeneralLedgerPendingEntry offsetEntry)
This populates an GeneralLedgerPendingEntry offsetEntry object instance with values that differ from the values supplied in
the explicit entry that it was cloned from.
|
void |
save(GeneralLedgerPendingEntry generalLedgerPendingEntry) |
org.kuali.rice.core.api.util.type.KualiDecimal getCashSummary(List universityFiscalYears, String chartOfAccountsCode, String accountNumber, boolean isDebit)
universityFiscalYears
- chartOfAccountsCode
- accountNumber
- isDebit
- org.kuali.rice.core.api.util.type.KualiDecimal getActualSummary(List universityFiscalYears, String chartOfAccountsCode, String accountNumber, boolean isDebit)
universityFiscalYears
- chartOfAccountsCode
- accountNumber
- isDebit
- org.kuali.rice.core.api.util.type.KualiDecimal getExpenseSummary(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String sufficientFundsObjectCode, boolean isDebit, boolean isYearEnd)
universityFiscalYear
- chartOfAccountsCode
- accountNumber
- sufficientFundsObjectCode
- isDebit
- isYearEnd
- org.kuali.rice.core.api.util.type.KualiDecimal getEncumbranceSummary(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String sufficientFundsObjectCode, boolean isDebit, boolean isYearEnd)
universityFiscalYear
- chartOfAccountsCode
- accountNumber
- sufficientFundsObjectCode
- isDebit
- isYearEnd
- org.kuali.rice.core.api.util.type.KualiDecimal getBudgetSummary(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String sufficientFundsObjectCode, boolean isYearEnd)
universityFiscalYear
- chartOfAccountsCode
- accountNumber
- sufficientFundsObjectCode
- isYearEnd
- GeneralLedgerPendingEntry getByPrimaryId(Integer transactionEntrySequenceId, String documentHeaderId)
transactionEntrySequenceId
- documentHeaderId
- boolean generateGeneralLedgerPendingEntries(GeneralLedgerPendingEntrySource document)
document
- - document whose pending entries need generatedvoid fillInFiscalPeriodYear(GeneralLedgerPendingEntry glpe)
glpe
- void save(GeneralLedgerPendingEntry generalLedgerPendingEntry)
generalLedgerPendingEntry
- void deleteByFinancialDocumentApprovedCode(String financialDocumentApprovedCode)
financialDocumentApprovedCode
- boolean hasPendingGeneralLedgerEntry(Account account)
account
- Iterator findApprovedPendingLedgerEntries()
Iterator findPendingLedgerEntries(Encumbrance encumbrance, boolean isApproved)
encumbrance
- the encumbrance entryisApproved
- the flag that indicates whether the pending entries are approved or don't careIterator findPendingLedgerEntries(Balance balance, boolean isApproved, boolean isConsolidated)
balance
- the balance entryisApproved
- the flag that indicates whether the pending entries are approved or don't careisConsolidated
- determine whether the search results are consolidatedIterator findPendingLedgerEntriesForEntry(Map fieldValues, boolean isApproved)
isApproved
- the flag that indicates whether the pending entries are approved or don't carefieldValues
- the input fields and valuesIterator findPendingLedgerEntriesForBalance(Map fieldValues, boolean isApproved)
isApproved
- the flag that indicates whether the pending entries are approved or don't carefieldValues
- the input fields and valuesIterator findPendingLedgerEntriesForCashBalance(Map fieldValues, boolean isApproved)
isApproved
- the flag that indicates whether the pending entries are approved or don't careIterator findPendingLedgerEntriesForEncumbrance(Map fieldValues, boolean isApproved)
isApproved
- the flag that indicates whether the pending entries are approved or don't careIterator findPendingLedgerEntrySummaryForAccountBalance(Map fieldValues, boolean isApproved)
fieldValues
- isApproved
- the flag that indicates whether the pending entries are approved or don't careIterator findPendingLedgerEntriesForAccountBalance(Map fieldValues, boolean isApproved)
fieldValues
- isApproved
- the flag that indicates whether the pending entries are approved or don't careCollection findPendingEntries(Map fieldValues, boolean isApproved)
fieldValues
- void populateExplicitGeneralLedgerPendingEntry(GeneralLedgerPendingEntrySource poster, GeneralLedgerPendingEntrySourceDetail postable, GeneralLedgerPendingEntrySequenceHelper sequenceHelper, GeneralLedgerPendingEntry explicitEntry)
accountingDocument
- accountingLine
- sequenceHelper
- explicitEntry
- GeneralLedgerPendingEntry buildGeneralLedgerPendingEntry(GeneralLedgerPostingDocument document, Account account, ObjectCode objectCode, String subAccountNumber, String subObjectCode, String organizationReferenceId, String projectCode, String referenceNumber, String referenceTypeCode, String referenceOriginCode, String description, boolean isDebit, org.kuali.rice.core.api.util.type.KualiDecimal amount, GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
document
- a GeneralLedgerPostingDocumentaccount
- the account for use in the GLPEobjectCode
- the object code for use in the GLPEsubAccountNumber
- the sub account number for use in the GLPEsubObjectCode
- the subobject code for use in the GLPEorganizationReferenceId
- the organization reference id to use in the GLPEprojectCode
- the project code to use in the GLPEreferenceNumber
- the reference number to use in the GLPEreferenceTypeCode
- the reference type code to use in the GLPEreferenceOriginCode
- the reference origin code to use in the GLPEdescription
- the description to put in the GLPEisDebit
- true if the GLPE represents a debit, false if it represents a creditamount
- the amount of the GLPEsequenceHelper
- the sequence helper to useboolean populateOffsetGeneralLedgerPendingEntry(Integer universityFiscalYear, GeneralLedgerPendingEntry explicitEntry, GeneralLedgerPendingEntrySequenceHelper sequenceHelper, GeneralLedgerPendingEntry offsetEntry)
universityFiscalYear
- explicitEntry
- sequenceHelper
- offsetEntry
- Cloned from the explicit entryboolean populateBankOffsetGeneralLedgerPendingEntry(Bank bank, org.kuali.rice.core.api.util.type.KualiDecimal depositAmount, GeneralLedgerPostingDocument financialDocument, Integer universityFiscalYear, GeneralLedgerPendingEntrySequenceHelper sequenceHelper, GeneralLedgerPendingEntry bankOffsetEntry, String errorPropertyName)
bank
- depositAmount
- financialDocument
- universityFiscalYear
- sequenceHelper
- bankOffsetEntry
- errorPropertyName
- org.kuali.rice.core.api.util.type.KualiDecimal getOffsetToCashAmount(GeneralLedgerPostingDocument glPostingDocument)
glPostingDocument
- the accounting document total the offset to cash amount forboolean isOffsetToCash(GeneralLedgerPendingEntry generalLedgerPendingEntry)
generalLedgerPendingEntry
- the GeneralLedgerPendingEntry to checkList<String> getEncumbranceBalanceTypes(Map fieldValues, Integer currentFiscalYear)
fieldValues
- currentFiscalYear
- Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.