org.kuali.kfs.module.purap.document.validation.impl
Class CreditMemoDocumentPreRules

java.lang.Object
  extended by org.kuali.rice.kns.rules.PromptBeforeValidationBase
      extended by org.kuali.kfs.module.purap.document.validation.impl.PurapDocumentPreRulesBase
          extended by org.kuali.kfs.module.purap.document.validation.impl.AccountsPayableDocumentPreRulesBase
              extended by 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 Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.kns.rules.PromptBeforeValidationBase
org.kuali.rice.kns.rules.PromptBeforeValidationBase.ContextSession
 
Field Summary
 
Fields inherited from class org.kuali.kfs.module.purap.document.validation.impl.AccountsPayableDocumentPreRulesBase
LOG
 
Fields inherited from class org.kuali.rice.kns.rules.PromptBeforeValidationBase
buttonClicked, event, form, question
 
Constructor Summary
CreditMemoDocumentPreRules()
          Default constructor
 
Method Summary
protected  boolean checkCAMSWarningStatus(PurchasingAccountsPayableDocument purapDocument)
           
 String createInvoiceNoMatchQuestionText(AccountsPayableDocument accountsPayableDocument)
          Creates the text for the invoice no match question being asked of the user.
 boolean doPrompts(org.kuali.rice.kns.document.Document document)
          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.
 String getDocumentName()
          Exists to be overriden by the child class and return the name of the document.
 
Methods inherited from class org.kuali.kfs.module.purap.document.validation.impl.AccountsPayableDocumentPreRulesBase
confirmInvoiceNoMatchOverride, validateInvoiceTotalsAreMismatched
 
Methods inherited from class org.kuali.kfs.module.purap.document.validation.impl.PurapDocumentPreRulesBase
confirmFixCapitalAssetWarningConditions
 
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
 

Constructor Detail

CreditMemoDocumentPreRules

public CreditMemoDocumentPreRules()
Default constructor

Method Detail

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.