public class TransactionRuleImpl extends ResearchDocumentRuleBase implements TransactionRule
CHOMP_LAST_LETTER_S_FROM_COLLECTION_NAME, DOCUMENT_ERROR_PATH, VALIDATION_REQUIREDPENDING_TRANSACTION_ITEMS_LIST_ERROR_KEY| Constructor and Description |
|---|
TransactionRuleImpl() |
addAuditError, getBusinessObjectService, getErrorReporter, getKnsDictionaryValidationService, getSoftErrors, hasPermission, hasPermission, hasRole, hasRole, isInvalid, isValid, keyValue, processBudgetVersionsBusinessRule, processRunAuditBusinessRules, reportError, reportErrorWithoutFullErrorPath, reportSoftError, reportWarning, setBusinessObjectService, setParameterServicebuildDocumentTypeActionRequestPermissionDetails, buildDocumentTypePermissionDetails, getDataDictionaryService, getDictionaryValidationService, getDocumentDictionaryService, getGroupService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getPermissionService, getPersonService, hasAdHocRouteCompletion, isAddHocRoutePersonValid, isAddHocRouteWorkgroupValid, isAdHocRouteCompletionToInitiator, isAdHocRouteRecipientsValid, isDocumentAttributesValid, isDocumentOverviewValid, isNoteValid, processAddAdHocRoutePerson, processAddAdHocRouteWorkgroup, processAddNote, processApproveDocument, processCompleteDocument, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddNoteBusinessRules, processCustomApproveDocumentBusinessRules, processCustomCompleteDocumentBusinessRules, processCustomRouteDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processCustomSendAdHocRequests, processRouteDocument, processSaveDocument, processSendAdHocRequests, setDocumentDictionaryService, setMaxDictionaryValidationDepth, useKimPermission, validateSensitiveDataValuepublic boolean processPendingTransactionBusinessRules(TransactionRuleEvent event)
TransactionRuleprocessPendingTransactionBusinessRules in interface TransactionRuleTransactionRule.processPendingTransactionBusinessRules(
org.kuali.kra.timeandmoney.transactions.TransactionRuleEvent)public boolean processAddPendingTransactionBusinessRules(AddTransactionRuleEvent event)
processAddPendingTransactionBusinessRules in interface TransactionRuleevent - public boolean processSingleNodeTransactionBusinessRules(AwardHierarchyNode awardHierarchyNode, AwardAmountInfo aai, TimeAndMoneyDocument doc)
processSingleNodeTransactionBusinessRules in interface TransactionRuleBusiness rules for single node transactions
1)if direct/F&A view is disabled, then we test that transaction will either move anticipated/obligated money into or our of award.
We cannot have the instance where we are moving in and out of award at same time since the transactions have a source and destination award
2)if Direct/F&A view is enabled, then there are two possibilities.
a)We cannot move money in and out of award for direct/indirect amounts in same transaction.
b)The exception to this rule is if doing so does not affect the total amount. The net affect of this is moving money from idc to dc or
vice versa.protected org.kuali.rice.coreservice.framework.parameter.ParameterService getParameterService()
getParameterService in class ResearchDocumentRuleBasepublic boolean isDirectIndirectViewEnabled()
protected boolean isSourceAwardFieldComplete(PendingTransaction pendingTransactionItem)
protected boolean isDestinationAwardFieldComplete(PendingTransaction pendingTransactionItem)
protected AwardHierarchyService getAwardHierarchyService()
public AwardVersionService getAwardVersionService()
public boolean processParameterEnabledRules(AwardHierarchyNode awardHierarchyNode, AwardAmountInfo aai, TimeAndMoneyDocument doc)
awardHierarchyNode - aai - public boolean processParameterDisabledRules(AwardHierarchyNode awardHierarchyNode, AwardAmountInfo aai, TimeAndMoneyDocument doc)
awardHierarchyNode - aai - protected boolean validateAwardTotalCostLimit(AwardHierarchyNode awardHierarchyNode, Award award)
Copyright © 2013 The Kuali Foundation. All Rights Reserved.