public class OlePurchaseOrderDocumentPreRules extends PurchaseOrderDocumentPreRules
| Constructor and Description | 
|---|
| OlePurchaseOrderDocumentPreRules()Default Constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | askForConfirmation(String questionType,
                                    String messageConstant,
                                    StringBuilder accountNumbers)Prompts user to confirm with a Yes or No to a question being asked. | 
| boolean | doPrompts(org.kuali.rice.krad.document.Document document)Main hook point to perform rules check. | 
| protected String | prepareQuestionText(String questionType,
                                      String questionText,
                                      StringBuilder accountNumbers)Creates the actual text of the question, replacing place holders like pay date threshold with an actual constant value. | 
checkCAMSWarningStatus, confirmNextFYPriorToApoAllowedDate, confirmNotToExceedOverride, isDocumentInStateToReceiveNextFyWarning, validateTotalDollarAmountIsLessThanPurchaseOrderTotalLimitcheckForTaxRecalculationconfirmFixCapitalAssetWarningConditionspublic OlePurchaseOrderDocumentPreRules()
public boolean doPrompts(org.kuali.rice.krad.document.Document document)
doPrompts in class PurchaseOrderDocumentPreRulesdocument - The purchase order document upon which we're performing the prerules logic.org.kuali.rice.kns.rules.PromptBeforeValidationBase#doRules(org.kuali.rice.krad.document.Document)protected boolean askForConfirmation(String questionType, String messageConstant, StringBuilder accountNumbers)
questionType - - type of questionmessageConstant - - key to retrieve messageprotected String prepareQuestionText(String questionType, String questionText, StringBuilder accountNumbers)
questionType - - type of questionquestionText - - actual text of question pulled from resource fileCopyright © 2004–2015 The Kuali Foundation. All rights reserved.