public class BudgetAdjustmentDocument extends AccountingDocumentBase implements org.kuali.rice.krad.document.Copyable, Correctable, AmountTotaling
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.log4j.Logger |
LOG |
protected Integer |
nextPositionSourceLineNumber |
protected Integer |
nextPositionTargetLineNumber |
protected static String |
REQUIRES_FULL_APPROVAL_SPLIT_NODE_NAME |
dataDictionaryEntry, nextSourceLineNumber, nextTargetLineNumber, sourceAccountingLineClass, sourceAccountingLines, targetAccountingLineClass, targetAccountingLinesgeneralLedgerPendingEntriesaccountingPeriod, accountingPeriodService, checkPostingYearForCopy, dataDictionaryService, dateTimeService, postingPeriodCode, postingYearUPDATE_TOTAL_AMOUNT_IN_POST_PROCESSING_PARAMETER_NAME| Constructor and Description |
|---|
BudgetAdjustmentDocument()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
answerSplitNodeQuestion(String nodeName) |
Map |
buildIncomeStreamBalanceMapForDocumentBalance()
Builds a map used for balancing current adjustment amounts.
|
Map |
buildIncomeStreamBalanceMapForTransferOfFundsGeneration()
Builds a map used for balancing current adjustment amounts.
|
protected void |
createMonthlyBudgetGLPE(AccountingLine accountingLine,
GeneralLedgerPendingEntrySequenceHelper sequenceHelper,
String fiscalPeriod,
org.kuali.rice.core.api.util.type.KualiDecimal monthAmount)
Helper method for creating monthly budget pending entry lines.
|
boolean |
generateDocumentGeneralLedgerPendingEntries(GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
Generates any necessary tof entries to transfer funds needed to make the budget adjustments.
|
boolean |
generateGeneralLedgerPendingEntries(GeneralLedgerPendingEntrySourceDetail glpeSourceDetail,
GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
The budget adjustment document creates GL pending entries much differently that common tp-edocs.
|
boolean |
getAllowsCopy()
The base checks that the posting year is the current year, not a requirement for the ba document.
|
String |
getCurrencyFormattedSourceBaseBudgetTotal()
This method retrieves the total base budget amount formatted as currency.
|
String |
getCurrencyFormattedSourceCurrentBudgetTotal()
This method retrieves the total current budget amount formatted as currency.
|
String |
getCurrencyFormattedTargetBaseBudgetTotal()
This method retrieves the total base budget amount formatted as currency.
|
String |
getCurrencyFormattedTargetCurrentBudgetTotal()
This method retrieves the total current budget amount formatted as currency.
|
GeneralLedgerPendingEntryService |
getGeneralLedgerPendingEntryService()
Returns an implementation of the GeneralLedgerPendingEntryService
|
protected org.kuali.rice.core.api.util.type.KualiDecimal |
getIncomeStreamAmount(BudgetAdjustmentAccountingLine budgetAccountingLine,
org.kuali.rice.core.api.util.type.KualiDecimal incomeStreamAmount)
This method calculates the appropriate income stream amount for an account using the value provided and the provided accounting line.
|
Integer |
getNextPositionSourceLineNumber() |
Integer |
getNextPositionTargetLineNumber() |
List<GeneralLedgerPendingEntry> |
getPendingLedgerEntriesForSufficientFundsChecking()
BA Documents should only do SF checking on PLEs with a Balance Type of 'CB' - not 'BB' or 'MB'.
|
String |
getSourceAccountingLinesSectionTitle()
This method is used to return the title that a transactional document should give to it's source accounting line section.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getSourceBaseBudgetExpenseTotal()
Returns the total base budget expense amount from the source lines.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getSourceBaseBudgetIncomeTotal()
Returns the total base budget income amount from the source lines.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getSourceBaseBudgetTotal()
Returns the total base budget amount from the source lines.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getSourceCurrentBudgetExpenseTotal()
Returns the total current budget expense amount from the source lines.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getSourceCurrentBudgetIncomeTotal()
Returns the total current budget income amount from the source lines.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getSourceCurrentBudgetTotal()
Returns the total current budget amount from the source lines.
|
String |
getTargetAccountingLinesSectionTitle()
This method is used to return the title that a transactional document should give to it's source accounting line section.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getTargetBaseBudgetExpenseTotal()
Returns the total base budget expense amount from the target lines.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getTargetBaseBudgetIncomeTotal()
Returns the total base budget income amount from the target lines.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getTargetBaseBudgetTotal()
Returns the total base budget amount from the target lines.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getTargetCurrentBudgetExpenseTotal()
Returns the total current budget expense amount from the target lines.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getTargetCurrentBudgetIncomeTotal()
Returns the total current budget income amount from the target lines.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getTargetCurrentBudgetTotal()
Returns the total current budget amount from the target lines.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getTotalDollarAmount()
Same as default implementation but uses getTargetCurrentBudgetTotal and getSourceCurrentBudgetTotal instead.
|
protected String |
getTransferDocumentType()
Returns the document type code for the Transfer of Funds document
|
void |
initiateDocument()
generic, shared logic used to iniate a ba document
|
boolean |
isDebit(GeneralLedgerPendingEntrySourceDetail postable)
Returns true if accounting line is debit
|
void |
populateDocumentForRouting() |
protected boolean |
requiresFullApproval()
Determines if this document can be auto-approved or not.
|
void |
setNextPositionSourceLineNumber(Integer nextPositionSourceLineNumber) |
void |
setNextPositionTargetLineNumber(Integer nextPositionTargetLineNumber) |
void |
toErrorCorrection()
Negate accounting line budget amounts.
|
addSourceAccountingLine, addTargetAccountingLine, buildAccountingLineMap, buildListOfDeletionAwareLists, copyAccountingLines, customizeExplicitGeneralLedgerPendingEntry, customizeOffsetGeneralLedgerPendingEntry, generateEvents, generateSaveEvents, getAccountingLineParser, getDataDictionaryEntry, getDocumentClassForAccountingLineValueAllowedValidation, getEntryValue, getGeneralLedgerPendingEntryAmountForDetail, getGeneralLedgerPendingEntrySourceDetails, getNextSourceLineNumber, getNextTargetLineNumber, getPersistedSourceAccountingLinesForComparison, getPersistedTargetAccountingLinesForComparison, getSourceAccountingLine, getSourceAccountingLineClass, getSourceAccountingLineEntryName, getSourceAccountingLines, getSourceAccountingLinesForComparison, getSourceTotal, getTargetAccountingLine, getTargetAccountingLineClass, getTargetAccountingLineEntryName, getTargetAccountingLines, getTargetAccountingLinesForComparison, getTargetTotal, isDocumentFinalOrProcessed, prepareForSave, processExplicitGeneralLedgerPendingEntry, processOffsetGeneralLedgerPendingEntry, setNextSourceLineNumber, setNextTargetLineNumber, setSourceAccountingLines, setTargetAccountingLines, toCopy, updatePostingYearForAccountingLinesaddPendingEntry, changeGeneralLedgerPendingEntriesApprovedStatusCode, checkSufficientFunds, clearAnyGeneralLedgerPendingEntries, documentPerformsSufficientFundsCheck, doRouteStatusChange, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, removeGeneralLedgerPendingEntries, setGeneralLedgerPendingEntriescreateInitialAccountingPeriod, getAccountingPeriod, getAccountingPeriodCompositeString, getAccountingPeriodService, getDataDictionaryService, getDateTimeService, getFinancialDocumentTypeCode, getPostingPeriodCode, getPostingYear, retrieveCurrentAccountingPeriod, setAccountingPeriod, setAccountingPeriodCompositeString, setPostingPeriodCode, setPostingYeardoRouteLevelChange, getApplicationDocumentStatus, getBusinessObjectService, getFinancialSystemDocumentHeader, getFinancialSystemDocumentService, getParameterService, prepareForSave, processAfterRetrieve, setApplicationDocumentStatus, setDocumentHeader, updateAndSaveAppDocStatusisSessionDocumentaddCopyErrorDocumentNote, addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, createPropertySerializabilityEvaluator, doActionTaken, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAttachmentService, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNonLockingActionTakenCodes, getNote, getNotes, getNoteService, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, logErrors, postLoad, postProcessSave, refresh, refreshIfEmpty, refreshPessimisticLocks, refreshReferenceObject, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentNumber, setNewDocumentHeader, setNotes, setPessimisticLocks, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerializationafterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refreshNonUpdateableReferences, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckSufficientFunds, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, setGeneralLedgerPendingEntriesgetAccountingPeriod, getPostingPeriodCode, getPostingYear, setAccountingPeriod, setPostingPeriodCode, setPostingYeargetFinancialSystemDocumentHeaderaddNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, doRouteStatusChange, getAdHocRoutePersons, getAdHocRouteWorkgroups, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNote, getNotes, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, postProcessSave, prepareForSave, processAfterRetrieve, refreshPessimisticLocks, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, setNotes, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerializationgetExtension, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberaddPendingEntry, clearAnyGeneralLedgerPendingEntries, getDocumentHeader, getFinancialDocumentTypeCode, getFinancialSystemDocumentHeader, getPostingYearprotected static org.apache.log4j.Logger LOG
protected static final String REQUIRES_FULL_APPROVAL_SPLIT_NODE_NAME
protected Integer nextPositionSourceLineNumber
protected Integer nextPositionTargetLineNumber
public BudgetAdjustmentDocument()
public List<GeneralLedgerPendingEntry> getPendingLedgerEntriesForSufficientFundsChecking()
getPendingLedgerEntriesForSufficientFundsChecking in interface GeneralLedgerPostingDocumentgetPendingLedgerEntriesForSufficientFundsChecking in class GeneralLedgerPostingDocumentBaseGeneralLedgerPostingDocumentBase.getPendingLedgerEntriesForSufficientFundsChecking()public void initiateDocument()
public Integer getNextPositionSourceLineNumber()
public void setNextPositionSourceLineNumber(Integer nextPositionSourceLineNumber)
nextPositionSourceLineNumber - public Integer getNextPositionTargetLineNumber()
public void setNextPositionTargetLineNumber(Integer nextPositionTargetLineNumber)
nextPositionTargetLineNumber - public org.kuali.rice.core.api.util.type.KualiDecimal getSourceCurrentBudgetTotal()
public String getCurrencyFormattedSourceCurrentBudgetTotal()
public org.kuali.rice.core.api.util.type.KualiDecimal getSourceCurrentBudgetIncomeTotal()
public org.kuali.rice.core.api.util.type.KualiDecimal getSourceCurrentBudgetExpenseTotal()
public org.kuali.rice.core.api.util.type.KualiDecimal getTargetCurrentBudgetTotal()
public String getCurrencyFormattedTargetCurrentBudgetTotal()
public org.kuali.rice.core.api.util.type.KualiDecimal getTargetCurrentBudgetIncomeTotal()
public org.kuali.rice.core.api.util.type.KualiDecimal getTargetCurrentBudgetExpenseTotal()
public org.kuali.rice.core.api.util.type.KualiDecimal getSourceBaseBudgetTotal()
public String getCurrencyFormattedSourceBaseBudgetTotal()
public org.kuali.rice.core.api.util.type.KualiDecimal getSourceBaseBudgetIncomeTotal()
public org.kuali.rice.core.api.util.type.KualiDecimal getSourceBaseBudgetExpenseTotal()
public org.kuali.rice.core.api.util.type.KualiDecimal getTargetBaseBudgetTotal()
public String getCurrencyFormattedTargetBaseBudgetTotal()
public org.kuali.rice.core.api.util.type.KualiDecimal getTargetBaseBudgetIncomeTotal()
public org.kuali.rice.core.api.util.type.KualiDecimal getTargetBaseBudgetExpenseTotal()
public org.kuali.rice.core.api.util.type.KualiDecimal getTotalDollarAmount()
getTotalDollarAmount in interface AmountTotalinggetTotalDollarAmount in class AccountingDocumentBaseAccountingDocumentBase.getTotalDollarAmount()public void toErrorCorrection() throws org.kuali.rice.kew.api.exception.WorkflowException
toErrorCorrection in interface CorrectabletoErrorCorrection in class AccountingDocumentBaseorg.kuali.rice.kew.api.exception.WorkflowExceptionAccountingDocumentBase.toErrorCorrection()public boolean getAllowsCopy()
getAllowsCopy in interface org.kuali.rice.krad.document.DocumentgetAllowsCopy in class org.kuali.rice.krad.document.TransactionalDocumentBaseTransactionalDocumentBase.getAllowsCopy()public String getSourceAccountingLinesSectionTitle()
AccountingDocumentgetSourceAccountingLinesSectionTitle in interface AccountingDocumentgetSourceAccountingLinesSectionTitle in class AccountingDocumentBaseAccountingDocumentBase.getSourceAccountingLinesSectionTitle()public String getTargetAccountingLinesSectionTitle()
AccountingDocumentgetTargetAccountingLinesSectionTitle in interface AccountingDocumentgetTargetAccountingLinesSectionTitle in class AccountingDocumentBaseAccountingDocumentBase.getTargetAccountingLinesSectionTitle()public void populateDocumentForRouting()
populateDocumentForRouting in interface org.kuali.rice.krad.document.DocumentpopulateDocumentForRouting in class org.kuali.rice.krad.document.DocumentBaseDocumentBase.populateDocumentForRouting()public boolean isDebit(GeneralLedgerPendingEntrySourceDetail postable)
isDebit in interface GeneralLedgerPendingEntrySourceisDebit in class AccountingDocumentBasefinancialDocument - submitted financial documentaccountingLine - accounting line being evaluated as a debit or notorg.kuali.rice.krad.rule.AccountingLineRule#isDebit(org.kuali.rice.krad.document.FinancialDocument,
org.kuali.rice.krad.bo.AccountingLine)public boolean generateGeneralLedgerPendingEntries(GeneralLedgerPendingEntrySourceDetail glpeSourceDetail, GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
generateGeneralLedgerPendingEntries in interface GeneralLedgerPendingEntrySourcegenerateGeneralLedgerPendingEntries in class AccountingDocumentBasefinancialDocument - submitted accounting documentaccountingLine - validated accounting linesequenceHelper - helper class for keeping track of sequence numberorg.kuali.module.financial.rules.FinancialDocumentRuleBase#processGenerateGeneralLedgerPendingEntries(org.kuali.rice.krad.document.FinancialDocument,
org.kuali.rice.krad.bo.AccountingLine, org.kuali.ole.sys.businessobject.GeneralLedgerPendingEntrySequenceHelper)protected void createMonthlyBudgetGLPE(AccountingLine accountingLine, GeneralLedgerPendingEntrySequenceHelper sequenceHelper, String fiscalPeriod, org.kuali.rice.core.api.util.type.KualiDecimal monthAmount)
financialDocument - submitted accounting documentaccountingLine - validated accounting linesequenceHelper - helper class for keeping track of sequence numberfiscalPeriod - fiscal year period codemonthAmount - ledger entry amount for the monthpublic GeneralLedgerPendingEntryService getGeneralLedgerPendingEntryService()
public boolean generateDocumentGeneralLedgerPendingEntries(GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
generateDocumentGeneralLedgerPendingEntries in interface GeneralLedgerPendingEntrySourcegenerateDocumentGeneralLedgerPendingEntries in class AccountingDocumentBasesequenceHelper - helper class for keeping track of sequence numberorg.kuali.rice.krad.rule.GenerateGeneralLedgerDocumentPendingEntriesRule#processGenerateDocumentGeneralLedgerPendingEntries(org.kuali.rice.krad.document.FinancialDocument,
org.kuali.ole.sys.businessobject.GeneralLedgerPendingEntrySequenceHelper)public Map buildIncomeStreamBalanceMapForTransferOfFundsGeneration()
baDocument - budget adjustment documentpublic Map buildIncomeStreamBalanceMapForDocumentBalance()
baDocument - budget adjustment documentprotected org.kuali.rice.core.api.util.type.KualiDecimal getIncomeStreamAmount(BudgetAdjustmentAccountingLine budgetAccountingLine, org.kuali.rice.core.api.util.type.KualiDecimal incomeStreamAmount)
budgetAccountingLine - incomeStreamAmount - protected String getTransferDocumentType()
public boolean answerSplitNodeQuestion(String nodeName) throws UnsupportedOperationException
answerSplitNodeQuestion in interface FinancialSystemDocumentanswerSplitNodeQuestion in class FinancialSystemTransactionalDocumentBaseUnsupportedOperationExceptionFinancialSystemTransactionalDocumentBase.answerSplitNodeQuestion(java.lang.String)protected boolean requiresFullApproval()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.