org.kuali.kfs.module.purap.document.validation.impl
Class CreditMemoDocumentPreRules
java.lang.Object
org.kuali.rice.kns.rules.PromptBeforeValidationBase
org.kuali.kfs.module.purap.document.validation.impl.PurapDocumentPreRulesBase
org.kuali.kfs.module.purap.document.validation.impl.AccountsPayableDocumentPreRulesBase
org.kuali.kfs.module.purap.document.validation.impl.CreditMemoDocumentPreRules
- All Implemented Interfaces:
- org.kuali.rice.kns.rule.PromptBeforeValidation
public class CreditMemoDocumentPreRules
- extends AccountsPayableDocumentPreRulesBase
Business rule(s) applicable to the Credit Memo document.
Nested classes/interfaces inherited from class org.kuali.rice.kns.rules.PromptBeforeValidationBase |
org.kuali.rice.kns.rules.PromptBeforeValidationBase.ContextSession |
Fields inherited from class org.kuali.rice.kns.rules.PromptBeforeValidationBase |
buttonClicked, event, form, question |
Methods inherited from class org.kuali.rice.kns.rules.PromptBeforeValidationBase |
abortRulesCheck, askOrAnalyzeYesNoQuestion, processPrompts |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreditMemoDocumentPreRules
public CreditMemoDocumentPreRules()
- Default constructor
doPrompts
public boolean doPrompts(org.kuali.rice.kns.document.Document document)
- Description copied from class:
AccountsPayableDocumentPreRulesBase
- Asks for an override if the document hasn't reached full entry and the entered amount does not
match the total amount of all items.
- Overrides:
doPrompts
in class AccountsPayableDocumentPreRulesBase
- See Also:
org.kuali.rice.kns.rules.PromptBeforeValidationBase#doRules(org.kuali.rice.kns.document.Document)
getDocumentName
public String getDocumentName()
- Description copied from class:
AccountsPayableDocumentPreRulesBase
- Exists to be overriden by the child class and return the name of the document.
- Overrides:
getDocumentName
in class AccountsPayableDocumentPreRulesBase
- Returns:
- See Also:
AccountsPayableDocumentPreRulesBase.getDocumentName()
createInvoiceNoMatchQuestionText
public String createInvoiceNoMatchQuestionText(AccountsPayableDocument accountsPayableDocument)
- Description copied from class:
AccountsPayableDocumentPreRulesBase
- Creates the text for the invoice no match question being asked of the user.
- Overrides:
createInvoiceNoMatchQuestionText
in class AccountsPayableDocumentPreRulesBase
- Parameters:
accountsPayableDocument
- - to be used by overriding method.
- Returns:
- See Also:
AccountsPayableDocumentPreRulesBase.createInvoiceNoMatchQuestionText(org.kuali.kfs.module.purap.document.AccountsPayableDocument)
checkCAMSWarningStatus
protected boolean checkCAMSWarningStatus(PurchasingAccountsPayableDocument purapDocument)
- Specified by:
checkCAMSWarningStatus
in class PurapDocumentPreRulesBase
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.