public class AssetPaymentDocument extends AccountingDocumentBase implements org.kuali.rice.krad.document.Copyable, AmountTotaling
Modifier and Type | Field and Description |
---|---|
protected boolean |
allocationFromFPDocuments |
protected AssetPaymentAllocationType |
assetPaymentAllocationType |
protected String |
assetPaymentAllocationTypeCode |
protected List<AssetPaymentAssetDetail> |
assetPaymentAssetDetail |
protected boolean |
capitalAssetBuilderOriginIndicator |
protected Long |
capitalAssetNumber |
protected static org.apache.log4j.Logger |
LOG |
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 |
---|
AssetPaymentDocument() |
Modifier and Type | Method and Description |
---|---|
void |
addAssetPaymentAssetDetail(AssetPaymentAssetDetail assetPaymentAssetDetail)
This method...
|
List |
buildListOfDeletionAwareLists()
Remove asset from collection for deletion
|
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.
|
List |
generateSaveEvents()
When document save, AddAccountingLineEvent is added by the framework.
|
AssetPaymentAllocationType |
getAssetPaymentAllocationType()
Get the asset allocation type
|
String |
getAssetPaymentAllocationTypeCode()
Get the allocation code value
|
List<AssetPaymentAssetDetail> |
getAssetPaymentAssetDetail() |
AssetDistribution |
getAssetPaymentDistributor()
Get the asset payment distributor built by AssetPaymentDetails,
AssetPaymentAssetDetail and totalHistoricalCost
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getAssetsTotalHistoricalCost()
calculates the total previous cost amount of all the assets in the
document
|
protected CapitalAssetManagementModuleService |
getCapitalAssetManagementModuleService() |
Long |
getCapitalAssetNumber() |
List<String> |
getWorkflowEngineDocumentIdsToLock()
Lock on purchase order document since post processor will update PO
document by adding notes.
|
boolean |
isAllocationFromFPDocuments()
Gets the allocationFromFPDocuments attribute.
|
boolean |
isCapitalAssetBuilderOriginIndicator() |
boolean |
isDebit(GeneralLedgerPendingEntrySourceDetail postable)
Determines if the given AccountingLine (as a GeneralLedgerPostable) is a
credit or a debit, in terms of GLPE generation
|
void |
postProcessSave(org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent event) |
void |
prepareForSave(org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent event) |
void |
setAllocationFromFPDocuments(boolean allocationFromFPDocuments)
Sets the allocationFromFPDocuments attribute.
|
void |
setAssetPaymentAllocationType(AssetPaymentAllocationType assetPaymentAllocationType)
Sets the asset allocation type
|
void |
setAssetPaymentAllocationTypeCode(String code)
Set the allocation code value
|
void |
setAssetPaymentAssetDetail(List<AssetPaymentAssetDetail> assetPaymentAssetDetail) |
void |
setCapitalAssetBuilderOriginIndicator(boolean capitalAssetBuilderOriginIndicator) |
void |
setCapitalAssetNumber(Long capitalAssetNumber) |
addSourceAccountingLine, addTargetAccountingLine, buildAccountingLineMap, copyAccountingLines, correctSalesTax, customizeExplicitGeneralLedgerPendingEntry, customizeOffsetGeneralLedgerPendingEntry, generateDocumentGeneralLedgerPendingEntries, generateEvents, generateGeneralLedgerPendingEntries, getAccountingLineParser, getDataDictionaryEntry, getDocumentClassForAccountingLineValueAllowedValidation, getEntryValue, getGeneralLedgerPendingEntryAmountForDetail, getGeneralLedgerPendingEntrySourceDetails, getNextSourceLineNumber, getNextTargetLineNumber, getPersistedSourceAccountingLinesForComparison, getPersistedTargetAccountingLinesForComparison, getSourceAccountingLine, getSourceAccountingLineClass, getSourceAccountingLineEntryName, getSourceAccountingLines, getSourceAccountingLinesForComparison, getSourceAccountingLinesSectionTitle, getSourceTotal, getTargetAccountingLine, getTargetAccountingLineClass, getTargetAccountingLineEntryName, getTargetAccountingLines, getTargetAccountingLinesForComparison, getTargetAccountingLinesSectionTitle, getTargetTotal, getTotalDollarAmount, isDocumentFinalOrProcessed, processExplicitGeneralLedgerPendingEntry, processOffsetGeneralLedgerPendingEntry, setExpiredAccountOverride, setExpiredAccountOverrides, 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, captureWorkflowHeaderInformation, doRouteLevelChange, getApplicationDocumentStatus, getBusinessObjectService, getFinancialSystemDocumentHeader, getFinancialSystemDocumentService, getParameterService, getWorkflowDocumentStatusCode, 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, 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
getTotalDollarAmount
checkSufficientFunds, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, setGeneralLedgerPendingEntries
getAccountingPeriod, getPostingPeriodCode, getPostingYear, setAccountingPeriod, setPostingPeriodCode, setPostingYear
getApplicationDocumentStatus, setApplicationDocumentStatus, updateAndSaveAppDocStatus
answerSplitNodeQuestion, getFinancialSystemDocumentHeader
addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAllowsCopy, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNote, getNotes, getNoteTarget, getNoteType, getPessimisticLocks, 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 static org.apache.log4j.Logger LOG
protected List<AssetPaymentAssetDetail> assetPaymentAssetDetail
protected Long capitalAssetNumber
protected boolean capitalAssetBuilderOriginIndicator
protected AssetPaymentAllocationType assetPaymentAllocationType
protected String assetPaymentAllocationTypeCode
protected boolean allocationFromFPDocuments
public AssetPaymentDocument()
public List buildListOfDeletionAwareLists()
buildListOfDeletionAwareLists
in interface org.kuali.rice.krad.bo.PersistableBusinessObject
buildListOfDeletionAwareLists
in class AccountingDocumentBase
AccountingDocumentBase.buildListOfDeletionAwareLists()
public List generateSaveEvents()
generateSaveEvents
in interface org.kuali.rice.krad.document.Document
generateSaveEvents
in class AccountingDocumentBase
AccountingDocumentBase.generateSaveEvents()
public List<String> getWorkflowEngineDocumentIdsToLock()
getWorkflowEngineDocumentIdsToLock
in interface org.kuali.rice.krad.document.Document
getWorkflowEngineDocumentIdsToLock
in class org.kuali.rice.krad.document.DocumentBase
DocumentBase.getWorkflowEngineDocumentIdsToLock()
public boolean isDebit(GeneralLedgerPendingEntrySourceDetail postable)
isDebit
in interface GeneralLedgerPendingEntrySource
isDebit
in class AccountingDocumentBase
org.kuali.kfs.sys.document.AccountingDocumentBase#isDebit(org.kuali.kfs.bo.GeneralLedgerPostable)
public boolean isCapitalAssetBuilderOriginIndicator()
public void setCapitalAssetBuilderOriginIndicator(boolean capitalAssetBuilderOriginIndicator)
public void addAssetPaymentAssetDetail(AssetPaymentAssetDetail assetPaymentAssetDetail)
assetPaymentAssetDetail
- 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)
protected CapitalAssetManagementModuleService getCapitalAssetManagementModuleService()
public void doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent)
GeneralLedgerPostingDocumentBase
doRouteStatusChange
in interface org.kuali.rice.krad.document.Document
doRouteStatusChange
in class GeneralLedgerPostingDocumentBase
org.kuali.kfs.sys.document.GeneralLedgerPostingDocumentBase#doRouteStatusChange()
public void prepareForSave(org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent event)
prepareForSave
in interface org.kuali.rice.krad.document.Document
prepareForSave
in class AccountingDocumentBase
org.kuali.kfs.sys.document.AccountingDocumentBase#prepareForSave(org.kuali.rice.krad.rule.event.KualiDocumentEvent)
public List<AssetPaymentAssetDetail> getAssetPaymentAssetDetail()
public void setAssetPaymentAssetDetail(List<AssetPaymentAssetDetail> assetPaymentAssetDetail)
public Long getCapitalAssetNumber()
public void setCapitalAssetNumber(Long capitalAssetNumber)
public org.kuali.rice.core.api.util.type.KualiDecimal getAssetsTotalHistoricalCost()
public AssetDistribution getAssetPaymentDistributor()
public String getAssetPaymentAllocationTypeCode()
public void setAssetPaymentAllocationTypeCode(String code)
public void setAssetPaymentAllocationType(AssetPaymentAllocationType assetPaymentAllocationType)
public AssetPaymentAllocationType getAssetPaymentAllocationType()
public boolean isAllocationFromFPDocuments()
public void setAllocationFromFPDocuments(boolean allocationFromFPDocuments)
allocationFromFPDocuments
- The allocationFromFPDocuments to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.