public class PurchaseOrderDocumentPreRules extends PurchasingDocumentPreRulesBase
| Constructor and Description | 
|---|
| PurchaseOrderDocumentPreRules() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | checkCAMSWarningStatus(PurchasingAccountsPayableDocument purapDocument) | 
| protected boolean | confirmNextFYPriorToApoAllowedDate(PurchaseOrderDocument poDocument)If the PO is set to encumber in the next fiscal year and the PO is created before the APO allowed date, then give the user a
 warning that this might be a mistake. | 
| protected boolean | confirmNotToExceedOverride(PurchaseOrderDocument purchaseOrderDocument)Checks whether the 'Not-to-exceed' amount has been exceeded by the purchase order total dollar limit. | 
| boolean | doPrompts(org.kuali.rice.krad.document.Document document)Overrides the method in PromptBeforeValidationBase to also invoke the confirmNotToExceedOverride if the PromptBeforeValidationEvent is
 blank and the question matches with the OverrideNotToExceed | 
| protected boolean | isDocumentInStateToReceiveNextFyWarning(PurchaseOrderDocument poDocument)Give next FY warning if the PO status is "In Process" or "Awaiting Purchasing Review" | 
| boolean | validateTotalDollarAmountIsLessThanPurchaseOrderTotalLimit(PurchasingDocument purDocument)Validate that if the PurchaseOrderTotalLimit is not null then the TotalDollarAmount cannot be greater than the
 PurchaseOrderTotalLimit. | 
checkForTaxRecalculationconfirmFixCapitalAssetWarningConditionspublic PurchaseOrderDocumentPreRules()
public boolean doPrompts(org.kuali.rice.krad.document.Document document)
doPrompts in class PurchasingDocumentPreRulesBasedocument - 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 isDocumentInStateToReceiveNextFyWarning(PurchaseOrderDocument poDocument)
poDocument - protected boolean confirmNotToExceedOverride(PurchaseOrderDocument purchaseOrderDocument)
purchaseOrderDocument - The current PurchaseOrderDocumentpublic boolean validateTotalDollarAmountIsLessThanPurchaseOrderTotalLimit(PurchasingDocument purDocument)
purDocument - The purchase order document to be validated.protected boolean confirmNextFYPriorToApoAllowedDate(PurchaseOrderDocument poDocument)
purchaseOrderDocument - The current PurchaseOrderDocumentprotected boolean checkCAMSWarningStatus(PurchasingAccountsPayableDocument purapDocument)
checkCAMSWarningStatus in class PurapDocumentPreRulesBaseCopyright © 2004–2014 The Kuali Foundation. All rights reserved.