public abstract class AccountsPayableDocumentPreRulesBase extends PurapDocumentPreRulesBase
Modifier and Type | Field and Description |
---|---|
protected static org.apache.log4j.Logger |
LOG |
Constructor and Description |
---|
AccountsPayableDocumentPreRulesBase() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
confirmInvoiceNoMatchOverride(AccountsPayableDocument accountsPayableDocument)
Checks whether the invoice from the initial screen and the document invoice are mismatched.
|
String |
createInvoiceNoMatchQuestionText(AccountsPayableDocument accountsPayableDocument)
Creates the text for the invoice no match question being asked of the user.
|
boolean |
doPrompts(org.kuali.rice.krad.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.
|
protected boolean |
validateInvoiceTotalsAreMismatched(AccountsPayableDocument accountsPayableDocument)
Determines if the amount entered on the init tab is mismatched with the grand total of the document.
|
checkCAMSWarningStatus, confirmFixCapitalAssetWarningConditions
protected static org.apache.log4j.Logger LOG
public AccountsPayableDocumentPreRulesBase()
public boolean doPrompts(org.kuali.rice.krad.document.Document document)
doPrompts
in class PurapDocumentPreRulesBase
org.kuali.rice.kns.rules.PromptBeforeValidationBase#doRules(org.kuali.rice.krad.document.Document)
protected boolean confirmInvoiceNoMatchOverride(AccountsPayableDocument accountsPayableDocument)
accountsPayableDocument
- - document to have its invoice/totals checkedpublic String createInvoiceNoMatchQuestionText(AccountsPayableDocument accountsPayableDocument)
accountsPayableDocument
- - to be used by overriding method.protected boolean validateInvoiceTotalsAreMismatched(AccountsPayableDocument accountsPayableDocument)
accountsPayableDocument
- public String getDocumentName()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.