public class ProcurementCardDocument extends CapitalAccountingLinesDocumentBase implements AmountTotaling, CapitalAssetEditable
| Modifier and Type | Field and Description |
|---|---|
protected CapitalAssetManagementModuleService |
capitalAssetManagementModuleService |
protected static org.apache.log4j.Logger |
LOG |
protected ProcurementCardTargetAccountingLine |
newTargetLine |
protected ProcurementCardHolder |
procurementCardHolder |
protected List |
transactionEntries |
capitalAccountingLinescapitalAssetInformation, nextCapitalAssetLineNumberdataDictionaryEntry, nextSourceLineNumber, nextTargetLineNumber, sourceAccountingLineClass, sourceAccountingLines, targetAccountingLineClass, targetAccountingLinesgeneralLedgerPendingEntriesaccountingPeriod, accountingPeriodService, checkPostingYearForCopy, dataDictionaryService, dateTimeService, postingPeriodCode, postingYearUPDATE_TOTAL_AMOUNT_IN_POST_PROCESSING_PARAMETER_NAME| Constructor and Description |
|---|
ProcurementCardDocument()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSourceAccountingLine(SourceAccountingLine sourceLine)
Override to set the accounting line in the transaction detail object.
|
void |
addTargetAccountingLine(TargetAccountingLine targetLine)
Override to set the accounting line in the transaction detail object.
|
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.
|
protected CapitalAssetManagementModuleService |
getCapitalAssetManagementModuleService() |
ProcurementCardHolder |
getProcurementCardHolder()
Gets the procurementCardHolder attribute.
|
Class |
getSourceAccountingLineClass()
Returns the default Source accounting line class.
|
List |
getSourceAccountingLines()
Override to get source accounting lines out of transactions
|
Class |
getTargetAccountingLineClass()
Returns the default Target accounting line class.
|
List |
getTargetAccountingLines()
Override to get target accounting lines out of transactions
|
List |
getTransactionEntries() |
boolean |
isDebit(GeneralLedgerPendingEntrySourceDetail postable)
On procurement card documents, positive source amounts are credits, negative source amounts are debits.
|
void |
postProcessSave(org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent event) |
void |
removeTargetAccountingLine(int index)
Removes the target accounting line at the given index from the transaction detail entry.
|
void |
setProcurementCardHolder(ProcurementCardHolder procurementCardHolder)
Sets the procurementCardHolder attribute value.
|
void |
setTransactionEntries(List transactionEntries) |
getCapitalAccountingLines, setCapitalAccountingLinesbuildListOfDeletionAwareLists, getCapitalAssetInformation, getNextCapitalAssetLineNumber, setCapitalAssetInformation, setNextCapitalAssetLineNumberbuildAccountingLineMap, copyAccountingLines, customizeExplicitGeneralLedgerPendingEntry, customizeOffsetGeneralLedgerPendingEntry, generateDocumentGeneralLedgerPendingEntries, generateEvents, generateGeneralLedgerPendingEntries, generateSaveEvents, getAccountingLineParser, getDataDictionaryEntry, getDocumentClassForAccountingLineValueAllowedValidation, getEntryValue, getGeneralLedgerPendingEntryAmountForDetail, getGeneralLedgerPendingEntrySourceDetails, getNextSourceLineNumber, getNextTargetLineNumber, getPersistedSourceAccountingLinesForComparison, getPersistedTargetAccountingLinesForComparison, getSourceAccountingLine, getSourceAccountingLineEntryName, getSourceAccountingLinesForComparison, getSourceAccountingLinesSectionTitle, getSourceTotal, getTargetAccountingLine, getTargetAccountingLineEntryName, getTargetAccountingLinesForComparison, getTargetAccountingLinesSectionTitle, getTargetTotal, getTotalDollarAmount, isDocumentFinalOrProcessed, prepareForSave, processExplicitGeneralLedgerPendingEntry, processOffsetGeneralLedgerPendingEntry, 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, doRouteLevelChange, getApplicationDocumentStatus, getBusinessObjectService, getFinancialSystemDocumentHeader, getFinancialSystemDocumentService, getParameterService, 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, getWorkflowEngineDocumentIdsToLock, 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, waitgetTotalDollarAmountgetCapitalAssetInformation, setCapitalAssetInformationcheckSufficientFunds, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, setGeneralLedgerPendingEntriesgetAccountingPeriod, getPostingPeriodCode, getPostingYear, setAccountingPeriod, setPostingPeriodCode, setPostingYearanswerSplitNodeQuestion, getFinancialSystemDocumentHeaderaddNote, 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, wrapDocumentWithMetadataForXmlSerializationgetExtension, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberaddPendingEntry, clearAnyGeneralLedgerPendingEntries, getDocumentHeader, getFinancialDocumentTypeCode, getFinancialSystemDocumentHeader, getPostingYearprotected static org.apache.log4j.Logger LOG
protected ProcurementCardHolder procurementCardHolder
protected List transactionEntries
protected ProcurementCardTargetAccountingLine newTargetLine
protected transient CapitalAssetManagementModuleService capitalAssetManagementModuleService
public ProcurementCardDocument()
public List getTransactionEntries()
public void setTransactionEntries(List transactionEntries)
transactionEntries - The transactionEntries to set.public ProcurementCardHolder getProcurementCardHolder()
public void setProcurementCardHolder(ProcurementCardHolder procurementCardHolder)
procurementCardHolder - The procurementCardHolder to set.public void removeTargetAccountingLine(int index)
index - public void addSourceAccountingLine(SourceAccountingLine sourceLine)
addSourceAccountingLine in interface AccountingDocumentaddSourceAccountingLine in class AccountingDocumentBaseAccountingDocument.addSourceAccountingLine(SourceAccountingLine)public void addTargetAccountingLine(TargetAccountingLine targetLine)
addTargetAccountingLine in interface AccountingDocumentaddTargetAccountingLine in class AccountingDocumentBaseAccountingDocument.addTargetAccountingLine(TargetAccountingLine)public List getSourceAccountingLines()
getSourceAccountingLines in interface AccountingDocumentgetSourceAccountingLines in class AccountingDocumentBaseAccountingDocument.getSourceAccountingLines()public List getTargetAccountingLines()
getTargetAccountingLines in interface AccountingDocumentgetTargetAccountingLines in class AccountingDocumentBaseAccountingDocument.getTargetAccountingLines()public Class getSourceAccountingLineClass()
AccountingDocumentBasegetSourceAccountingLineClass in interface AccountingDocumentgetSourceAccountingLineClass in class AccountingDocumentBaseAccountingDocumentBase.getSourceAccountingLineClass()public Class getTargetAccountingLineClass()
AccountingDocumentBasegetTargetAccountingLineClass in interface AccountingDocumentgetTargetAccountingLineClass in class AccountingDocumentBaseAccountingDocumentBase.getTargetAccountingLineClass()public void doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent)
GeneralLedgerPostingDocumentBasedoRouteStatusChange in interface org.kuali.rice.krad.document.DocumentdoRouteStatusChange in class CapitalAssetInformationDocumentBaseorg.kuali.ole.sys.document.GeneralLedgerPostingDocumentBase#doRouteStatusChange()public boolean isDebit(GeneralLedgerPendingEntrySourceDetail postable) throws IllegalStateException
isDebit in interface GeneralLedgerPendingEntrySourceisDebit in class CapitalAssetInformationDocumentBasetransactionalDocument - The document the accounting line being checked is located in.accountingLine - The accounting line being analyzed.Throws - an IllegalStateException if one of the following rules are violated: the accounting line amount is zero or the
accounting line is not an expense or income accounting line.IllegalStateExceptionorg.kuali.module.financial.rules.FinancialDocumentRuleBase#isDebit(FinancialDocument,
org.kuali.rice.krad.bo.AccountingLine),
org.kuali.ole.sys.document.validation.impl.AccountingDocumentRuleBase.IsDebitUtils#isDebitConsideringSection(AccountingDocumentRuleBase,
AccountingDocument, AccountingLine)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()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.