public class PurchasingAccountsPayablesItemPreCalculateDocumentRule extends org.kuali.rice.kns.rules.DocumentRuleBase implements PurchasingAccountsPayableItemPreCalculationRule
Constructor and Description |
---|
PurchasingAccountsPayablesItemPreCalculateDocumentRule() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkPercentOrTotalAmountsEqual(PurApItem item)
Checks the rules that says percent must be 100% or
item total should be equal to the amount of accounts for that item.
|
boolean |
validatePercent(PurApItem item)
Verifies account percent.
|
boolean |
validateTotalAmount(PurApItem item)
Verifies account total.
|
getDictionaryValidationService
buildDocumentTypeActionRequestPermissionDetails, buildDocumentTypePermissionDetails, getDataDictionaryService, 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, validateSensitiveDataValue
public PurchasingAccountsPayablesItemPreCalculateDocumentRule()
public boolean checkPercentOrTotalAmountsEqual(PurApItem item)
PurchasingAccountsPayableItemPreCalculationRule
checkPercentOrTotalAmountsEqual
in interface PurchasingAccountsPayableItemPreCalculationRule
item
- the item to checkpublic boolean validatePercent(PurApItem item)
public boolean validateTotalAmount(PurApItem item)
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.