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, targetAccountingLinesgeneralLedgerPendingEntriesaccountingPeriod, accountingPeriodService, checkPostingYearForCopy, dataDictionaryService, dateTimeService, postingPeriodCode, postingYearUPDATE_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, updatePostingYearForAccountingLinesaddPendingEntry, changeGeneralLedgerPendingEntriesApprovedStatusCode, checkSufficientFunds, clearAnyGeneralLedgerPendingEntries, documentPerformsSufficientFundsCheck, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, removeGeneralLedgerPendingEntries, setGeneralLedgerPendingEntriescreateInitialAccountingPeriod, getAccountingPeriod, getAccountingPeriodCompositeString, getAccountingPeriodService, getDataDictionaryService, getDateTimeService, getFinancialDocumentTypeCode, getPostingPeriodCode, getPostingYear, retrieveCurrentAccountingPeriod, setAccountingPeriod, setAccountingPeriodCompositeString, setPostingPeriodCode, setPostingYearanswerSplitNodeQuestion, captureWorkflowHeaderInformation, doRouteLevelChange, getApplicationDocumentStatus, getBusinessObjectService, getFinancialSystemDocumentHeader, getFinancialSystemDocumentService, getParameterService, getWorkflowDocumentStatusCode, prepareForSave, processAfterRetrieve, setApplicationDocumentStatus, setDocumentHeader, updateAndSaveAppDocStatusgetAllowsCopy, isSessionDocumentaddCopyErrorDocumentNote, 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, 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, waitgetTotalDollarAmountcheckSufficientFunds, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, setGeneralLedgerPendingEntriesgetAccountingPeriod, getPostingPeriodCode, getPostingYear, setAccountingPeriod, setPostingPeriodCode, setPostingYeargetApplicationDocumentStatus, setApplicationDocumentStatus, updateAndSaveAppDocStatusanswerSplitNodeQuestion, getFinancialSystemDocumentHeaderaddNote, 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, wrapDocumentWithMetadataForXmlSerializationgetExtension, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberaddPendingEntry, clearAnyGeneralLedgerPendingEntries, getDocumentHeader, getFinancialDocumentTypeCode, getFinancialSystemDocumentHeader, getPostingYearprotected 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.PersistableBusinessObjectbuildListOfDeletionAwareLists in class AccountingDocumentBaseAccountingDocumentBase.buildListOfDeletionAwareLists()public List generateSaveEvents()
generateSaveEvents in interface org.kuali.rice.krad.document.DocumentgenerateSaveEvents in class AccountingDocumentBaseAccountingDocumentBase.generateSaveEvents()public List<String> getWorkflowEngineDocumentIdsToLock()
getWorkflowEngineDocumentIdsToLock in interface org.kuali.rice.krad.document.DocumentgetWorkflowEngineDocumentIdsToLock in class org.kuali.rice.krad.document.DocumentBaseDocumentBase.getWorkflowEngineDocumentIdsToLock()public boolean isDebit(GeneralLedgerPendingEntrySourceDetail postable)
isDebit in interface GeneralLedgerPendingEntrySourceisDebit in class AccountingDocumentBaseorg.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.DocumentpostProcessSave in class org.kuali.rice.krad.document.DocumentBaseorg.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)
GeneralLedgerPostingDocumentBasedoRouteStatusChange in interface org.kuali.rice.krad.document.DocumentdoRouteStatusChange in class GeneralLedgerPostingDocumentBaseorg.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.DocumentprepareForSave in class AccountingDocumentBaseorg.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.