|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kns.bo.BusinessObjectBase
org.kuali.rice.kns.bo.PersistableBusinessObjectBase
org.kuali.rice.kns.document.DocumentBase
org.kuali.rice.kns.document.TransactionalDocumentBase
org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase
org.kuali.kfs.sys.document.LedgerPostingDocumentBase
org.kuali.kfs.sys.document.GeneralLedgerPostingDocumentBase
org.kuali.kfs.sys.document.AccountingDocumentBase
org.kuali.kfs.fp.document.BudgetAdjustmentDocument
public class BudgetAdjustmentDocument
This is the business object that represents the BudgetAdjustment document in Kuali.
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
LOG
|
protected Integer |
nextPositionSourceLineNumber
|
protected Integer |
nextPositionTargetLineNumber
|
protected static String |
REQUIRES_FULL_APPROVAL_SPLIT_NODE_NAME
|
| Fields inherited from class org.kuali.kfs.sys.document.AccountingDocumentBase |
|---|
dataDictionaryEntry, nextSourceLineNumber, nextTargetLineNumber, sourceAccountingLineClass, sourceAccountingLines, targetAccountingLineClass, targetAccountingLines |
| Fields inherited from class org.kuali.kfs.sys.document.GeneralLedgerPostingDocumentBase |
|---|
generalLedgerPendingEntries |
| Fields inherited from class org.kuali.kfs.sys.document.LedgerPostingDocumentBase |
|---|
accountingPeriod, accountingPeriodService, checkPostingYearForCopy, dataDictionaryService, dateTimeService, postingPeriodCode, postingYear |
| Fields inherited from class org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase |
|---|
documentHeader |
| Fields inherited from class org.kuali.rice.kns.document.DocumentBase |
|---|
documentBusinessObject, documentNumber |
| Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase |
|---|
extension, versionNumber |
| Constructor Summary | |
|---|---|
BudgetAdjustmentDocument()
Default constructor. |
|
| Method Summary | |
|---|---|
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.kns.util.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.kns.util.KualiDecimal |
getIncomeStreamAmount(BudgetAdjustmentAccountingLine budgetAccountingLine,
org.kuali.rice.kns.util.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.kns.util.KualiInteger |
getSourceBaseBudgetExpenseTotal()
Returns the total base budget expense amount from the source lines. |
org.kuali.rice.kns.util.KualiInteger |
getSourceBaseBudgetIncomeTotal()
Returns the total base budget income amount from the source lines. |
org.kuali.rice.kns.util.KualiInteger |
getSourceBaseBudgetTotal()
Returns the total base budget amount from the source lines. |
org.kuali.rice.kns.util.KualiDecimal |
getSourceCurrentBudgetExpenseTotal()
Returns the total current budget expense amount from the source lines. |
org.kuali.rice.kns.util.KualiDecimal |
getSourceCurrentBudgetIncomeTotal()
Returns the total current budget income amount from the source lines. |
org.kuali.rice.kns.util.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.kns.util.KualiInteger |
getTargetBaseBudgetExpenseTotal()
Returns the total base budget expense amount from the target lines. |
org.kuali.rice.kns.util.KualiInteger |
getTargetBaseBudgetIncomeTotal()
Returns the total base budget income amount from the target lines. |
org.kuali.rice.kns.util.KualiInteger |
getTargetBaseBudgetTotal()
Returns the total base budget amount from the target lines. |
org.kuali.rice.kns.util.KualiDecimal |
getTargetCurrentBudgetExpenseTotal()
Returns the total current budget expense amount from the target lines. |
org.kuali.rice.kns.util.KualiDecimal |
getTargetCurrentBudgetIncomeTotal()
Returns the total current budget income amount from the target lines. |
org.kuali.rice.kns.util.KualiDecimal |
getTargetCurrentBudgetTotal()
Returns the total current budget amount from the target lines. |
org.kuali.rice.kns.util.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. |
protected LinkedHashMap |
toStringMapper()
|
| Methods inherited from class org.kuali.kfs.sys.document.LedgerPostingDocumentBase |
|---|
createInitialAccountingPeriod, getAccountingPeriod, getAccountingPeriodService, getDataDictionaryService, getDateTimeService, getFinancialDocumentTypeCode, getPostingPeriodCode, getPostingYear, retrieveCurrentAccountingPeriod, setAccountingPeriod, setPostingPeriodCode, setPostingYear |
| Methods inherited from class org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase |
|---|
getDocumentHeader, prepareForSave, processAfterRetrieve, setDocumentHeader |
| Methods inherited from class org.kuali.rice.kns.document.TransactionalDocumentBase |
|---|
isSessionDocument |
| Methods inherited from class org.kuali.rice.kns.document.DocumentBase |
|---|
addCopyErrorDocumentNote, addPessimisticLock, afterLookup, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, createPropertySerializabilityEvaluator, doActionTaken, doRouteLevelChange, getAdHocRoutePersons, getAdHocRouteWorkgroups, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentBusinessObject, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNonLockingActionTakenCodes, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, logErrors, postProcessSave, refresh, refreshIfEmpty, refreshPessimisticLocks, refreshReferenceObject, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentNumber, setNewDocumentHeader, setPessimisticLocks, toString, toStringBuilder, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization |
| Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase |
|---|
addNote, afterDelete, afterInsert, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes |
| Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase |
|---|
prepareForWorkflow |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.kuali.rice.kns.document.Copyable |
|---|
toCopy |
| Methods inherited from interface org.kuali.kfs.sys.document.GeneralLedgerPostingDocument |
|---|
checkSufficientFunds, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, setGeneralLedgerPendingEntries |
| Methods inherited from interface org.kuali.kfs.sys.document.LedgerPostingDocument |
|---|
getAccountingPeriod, getPostingPeriodCode, getPostingYear, setAccountingPeriod, setPostingPeriodCode, setPostingYear |
| Methods inherited from interface org.kuali.kfs.sys.document.FinancialSystemTransactionalDocument |
|---|
getDocumentHeader |
| Methods inherited from interface org.kuali.rice.kns.document.Document |
|---|
addPessimisticLock, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, doRouteStatusChange, getAdHocRoutePersons, getAdHocRouteWorkgroups, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentBusinessObject, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, postProcessSave, prepareForSave, processAfterRetrieve, refreshPessimisticLocks, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization |
| Methods inherited from interface org.kuali.rice.kns.bo.PersistableBusinessObject |
|---|
addNote, deleteNote, getBoNote, getBoNotes, getExtension, getObjectId, getVersionNumber, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber |
| Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject |
|---|
prepareForWorkflow, refresh |
| Methods inherited from interface org.apache.ojb.broker.PersistenceBrokerAware |
|---|
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate |
| Methods inherited from interface org.kuali.kfs.sys.document.GeneralLedgerPendingEntrySource |
|---|
addPendingEntry, clearAnyGeneralLedgerPendingEntries, getDocumentHeader, getFinancialDocumentTypeCode, getPostingYear |
| Field Detail |
|---|
protected static org.apache.log4j.Logger LOG
protected static final String REQUIRES_FULL_APPROVAL_SPLIT_NODE_NAME
protected Integer nextPositionSourceLineNumber
protected Integer nextPositionTargetLineNumber
| Constructor Detail |
|---|
public BudgetAdjustmentDocument()
| Method Detail |
|---|
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.kns.util.KualiDecimal getSourceCurrentBudgetTotal()
public String getCurrencyFormattedSourceCurrentBudgetTotal()
public org.kuali.rice.kns.util.KualiDecimal getSourceCurrentBudgetIncomeTotal()
public org.kuali.rice.kns.util.KualiDecimal getSourceCurrentBudgetExpenseTotal()
public org.kuali.rice.kns.util.KualiDecimal getTargetCurrentBudgetTotal()
public String getCurrencyFormattedTargetCurrentBudgetTotal()
public org.kuali.rice.kns.util.KualiDecimal getTargetCurrentBudgetIncomeTotal()
public org.kuali.rice.kns.util.KualiDecimal getTargetCurrentBudgetExpenseTotal()
public org.kuali.rice.kns.util.KualiInteger getSourceBaseBudgetTotal()
public String getCurrencyFormattedSourceBaseBudgetTotal()
public org.kuali.rice.kns.util.KualiInteger getSourceBaseBudgetIncomeTotal()
public org.kuali.rice.kns.util.KualiInteger getSourceBaseBudgetExpenseTotal()
public org.kuali.rice.kns.util.KualiInteger getTargetBaseBudgetTotal()
public String getCurrencyFormattedTargetBaseBudgetTotal()
public org.kuali.rice.kns.util.KualiInteger getTargetBaseBudgetIncomeTotal()
public org.kuali.rice.kns.util.KualiInteger getTargetBaseBudgetExpenseTotal()
public org.kuali.rice.kns.util.KualiDecimal getTotalDollarAmount()
getTotalDollarAmount in interface AmountTotalinggetTotalDollarAmount in class AccountingDocumentBaseAccountingDocumentBase.getTotalDollarAmount()
public void toErrorCorrection()
throws org.kuali.rice.kew.exception.WorkflowException
toErrorCorrection in interface CorrectabletoErrorCorrection in class AccountingDocumentBaseorg.kuali.rice.kew.exception.WorkflowExceptionAccountingDocumentBase.toErrorCorrection()protected LinkedHashMap toStringMapper()
toStringMapper in class org.kuali.rice.kns.document.DocumentBaseDocumentBase.toStringMapper()public boolean getAllowsCopy()
getAllowsCopy in interface org.kuali.rice.kns.document.DocumentgetAllowsCopy in class org.kuali.rice.kns.document.TransactionalDocumentBaseTransactionalDocumentBase.getAllowsCopy()public String getSourceAccountingLinesSectionTitle()
AccountingDocument
getSourceAccountingLinesSectionTitle in interface AccountingDocumentgetSourceAccountingLinesSectionTitle in class AccountingDocumentBaseAccountingDocumentBase.getSourceAccountingLinesSectionTitle()public String getTargetAccountingLinesSectionTitle()
AccountingDocument
getTargetAccountingLinesSectionTitle in interface AccountingDocumentgetTargetAccountingLinesSectionTitle in class AccountingDocumentBaseAccountingDocumentBase.getTargetAccountingLinesSectionTitle()public void populateDocumentForRouting()
populateDocumentForRouting in interface org.kuali.rice.kns.document.DocumentpopulateDocumentForRouting in class org.kuali.rice.kns.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 not
org.kuali.rice.kns.rule.AccountingLineRule#isDebit(org.kuali.rice.kns.document.FinancialDocument,
org.kuali.rice.kns.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 number
org.kuali.module.financial.rules.FinancialDocumentRuleBase#processGenerateGeneralLedgerPendingEntries(org.kuali.rice.kns.document.FinancialDocument,
org.kuali.rice.kns.bo.AccountingLine, org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntrySequenceHelper)
protected void createMonthlyBudgetGLPE(AccountingLine accountingLine,
GeneralLedgerPendingEntrySequenceHelper sequenceHelper,
String fiscalPeriod,
org.kuali.rice.kns.util.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 number
org.kuali.rice.kns.rule.GenerateGeneralLedgerDocumentPendingEntriesRule#processGenerateDocumentGeneralLedgerPendingEntries(org.kuali.rice.kns.document.FinancialDocument,
org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntrySequenceHelper)public Map buildIncomeStreamBalanceMapForTransferOfFundsGeneration()
baDocument - budget adjustment document
public Map buildIncomeStreamBalanceMapForDocumentBalance()
baDocument - budget adjustment document
protected org.kuali.rice.kns.util.KualiDecimal getIncomeStreamAmount(BudgetAdjustmentAccountingLine budgetAccountingLine,
org.kuali.rice.kns.util.KualiDecimal incomeStreamAmount)
budgetAccountingLine - incomeStreamAmount -
protected String getTransferDocumentType()
public boolean answerSplitNodeQuestion(String nodeName)
throws UnsupportedOperationException
answerSplitNodeQuestion in interface FinancialSystemTransactionalDocumentanswerSplitNodeQuestion in class FinancialSystemTransactionalDocumentBaseUnsupportedOperationExceptionFinancialSystemTransactionalDocumentBase.answerSplitNodeQuestion(java.lang.String)protected boolean requiresFullApproval()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||