public class InternalBillingDocument extends CapitalAccountingLinesDocumentBase implements org.kuali.rice.krad.document.Copyable, Correctable, AmountTotaling
Modifier and Type | Field and Description |
---|---|
protected CapitalAssetManagementModuleService |
capitalAssetManagementModuleService |
protected List |
items |
protected Integer |
nextItemLineNumber |
capitalAccountingLines, LOG
capitalAssetInformation, nextCapitalAssetLineNumber
dataDictionaryEntry, nextSourceLineNumber, nextTargetLineNumber, sourceAccountingLineClass, sourceAccountingLines, targetAccountingLineClass, targetAccountingLines
generalLedgerPendingEntries
accountingPeriod, accountingPeriodService, checkPostingYearForCopy, dataDictionaryService, dateTimeService, postingPeriodCode, postingYear
UPDATE_TOTAL_AMOUNT_IN_POST_PROCESSING_PARAMETER_NAME
Constructor and Description |
---|
InternalBillingDocument()
Initializes the array lists and some basic info.
|
Modifier and Type | Method and Description |
---|---|
void |
addItem(InternalBillingItem item)
Adds a new item to the item list.
|
void |
doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent)
Override to call super and then iterate over all GLPEs and update the approved code appropriately.
|
InternalBillingItem |
getItem(int index)
Retrieve a particular item at a given index in the list of items.
|
List |
getItems() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getItemTotal()
Iterates through the list of items and sums up their totals.
|
Integer |
getNextItemLineNumber()
Retrieves the next item line number.
|
String |
getSourceAccountingLinesSectionTitle()
This method is used to return the title that a transactional document should give to it's source accounting line section.
|
String |
getTargetAccountingLinesSectionTitle()
This method is used to return the title that a transactional document should give to it's source accounting line section.
|
boolean |
isDebit(GeneralLedgerPendingEntrySourceDetail postable)
This method determines if an accounting line is a debit accounting line by calling IsDebitUtils.isDebitConsideringSection().
|
void |
postProcessSave(org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent event) |
void |
setItems(List items) |
void |
setNextItemLineNumber(Integer nextItemLineNumber)
Setter for OJB to get from database and JSP to maintain state in hidden fields.
|
getCapitalAccountingLines, setCapitalAccountingLines
buildListOfDeletionAwareLists, getCapitalAssetInformation, getNextCapitalAssetLineNumber, setCapitalAssetInformation, setNextCapitalAssetLineNumber
addSourceAccountingLine, addTargetAccountingLine, buildAccountingLineMap, copyAccountingLines, customizeExplicitGeneralLedgerPendingEntry, customizeOffsetGeneralLedgerPendingEntry, generateDocumentGeneralLedgerPendingEntries, generateEvents, generateGeneralLedgerPendingEntries, generateSaveEvents, getAccountingLineParser, getDataDictionaryEntry, getDocumentClassForAccountingLineValueAllowedValidation, getEntryValue, getGeneralLedgerPendingEntryAmountForDetail, getGeneralLedgerPendingEntrySourceDetails, getNextSourceLineNumber, getNextTargetLineNumber, getPersistedSourceAccountingLinesForComparison, getPersistedTargetAccountingLinesForComparison, getSourceAccountingLine, getSourceAccountingLineClass, getSourceAccountingLineEntryName, getSourceAccountingLines, getSourceAccountingLinesForComparison, getSourceTotal, getTargetAccountingLine, getTargetAccountingLineClass, getTargetAccountingLineEntryName, getTargetAccountingLines, getTargetAccountingLinesForComparison, getTargetTotal, getTotalDollarAmount, isDocumentFinalOrProcessed, prepareForSave, processExplicitGeneralLedgerPendingEntry, processOffsetGeneralLedgerPendingEntry, setNextSourceLineNumber, setNextTargetLineNumber, setSourceAccountingLines, setTargetAccountingLines, toCopy, toErrorCorrection, updatePostingYearForAccountingLines
addPendingEntry, changeGeneralLedgerPendingEntriesApprovedStatusCode, checkSufficientFunds, clearAnyGeneralLedgerPendingEntries, documentPerformsSufficientFundsCheck, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, removeGeneralLedgerPendingEntries, setGeneralLedgerPendingEntries
createInitialAccountingPeriod, getAccountingPeriod, getAccountingPeriodCompositeString, getAccountingPeriodService, getDataDictionaryService, getDateTimeService, getFinancialDocumentTypeCode, getPostingPeriodCode, getPostingYear, retrieveCurrentAccountingPeriod, setAccountingPeriod, setAccountingPeriodCompositeString, setPostingPeriodCode, setPostingYear
answerSplitNodeQuestion, doRouteLevelChange, getApplicationDocumentStatus, getBusinessObjectService, getFinancialSystemDocumentHeader, getFinancialSystemDocumentService, getParameterService, prepareForSave, processAfterRetrieve, setApplicationDocumentStatus, setDocumentHeader, updateAndSaveAppDocStatus
getAllowsCopy, isSessionDocument
addCopyErrorDocumentNote, 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, populateDocumentForRouting, postLoad, refresh, refreshIfEmpty, refreshPessimisticLocks, refreshReferenceObject, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentNumber, setNewDocumentHeader, setNotes, setPessimisticLocks, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refreshNonUpdateableReferences, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
toErrorCorrection
getTotalDollarAmount
checkSufficientFunds, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, setGeneralLedgerPendingEntries
getAccountingPeriod, getPostingPeriodCode, getPostingYear, setAccountingPeriod, setPostingPeriodCode, setPostingYear
answerSplitNodeQuestion, getFinancialSystemDocumentHeader
addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAllowsCopy, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNote, getNotes, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, populateDocumentForRouting, prepareForSave, processAfterRetrieve, refreshPessimisticLocks, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, setNotes, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization
getExtension, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
addPendingEntry, clearAnyGeneralLedgerPendingEntries, getDocumentHeader, getFinancialDocumentTypeCode, getFinancialSystemDocumentHeader, getPostingYear
protected Integer nextItemLineNumber
protected transient CapitalAssetManagementModuleService capitalAssetManagementModuleService
public InternalBillingDocument()
public boolean isDebit(GeneralLedgerPendingEntrySourceDetail postable)
isDebit
in interface GeneralLedgerPendingEntrySource
isDebit
in class CapitalAssetInformationDocumentBase
transactionalDocument
- The document containing the accounting line being analyzed.accountingLine
- The accounting line being reviewed to determine if it is a debit line or not.IsDebitUtils#isDebitConsideringSection(FinancialDocumentRuleBase, FinancialDocument, AccountingLine)
,
org.kuali.rice.krad.rule.AccountingLineRule#isDebit(org.kuali.rice.krad.document.FinancialDocument,
org.kuali.rice.krad.bo.AccountingLine)
public void addItem(InternalBillingItem item)
item
- public InternalBillingItem getItem(int index)
index
- public org.kuali.rice.core.api.util.type.KualiDecimal getItemTotal()
public Integer getNextItemLineNumber()
public void setNextItemLineNumber(Integer nextItemLineNumber)
addItem
method.nextItemLineNumber
- public String getSourceAccountingLinesSectionTitle()
AccountingDocument
getSourceAccountingLinesSectionTitle
in interface AccountingDocument
getSourceAccountingLinesSectionTitle
in class AccountingDocumentBase
AccountingDocument.getSourceAccountingLinesSectionTitle()
public String getTargetAccountingLinesSectionTitle()
AccountingDocument
getTargetAccountingLinesSectionTitle
in interface AccountingDocument
getTargetAccountingLinesSectionTitle
in class AccountingDocumentBase
AccountingDocument.getTargetAccountingLinesSectionTitle()
public void doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent)
GeneralLedgerPostingDocumentBase
doRouteStatusChange
in interface org.kuali.rice.krad.document.Document
doRouteStatusChange
in class CapitalAssetInformationDocumentBase
org.kuali.ole.sys.document.GeneralLedgerPostingDocumentBase#doRouteStatusChange()
public void postProcessSave(org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent event)
postProcessSave
in interface org.kuali.rice.krad.document.Document
postProcessSave
in class org.kuali.rice.krad.document.DocumentBase
org.kuali.rice.krad.document.DocumentBase#postProcessSave(org.kuali.rice.krad.rule.event.KualiDocumentEvent)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.