org.kuali.kfs.module.purap.document.validation.impl
Class RequisitionProcessAdditionalValidation
java.lang.Object
org.kuali.kfs.sys.document.validation.ParameterizedValidation
org.kuali.kfs.sys.document.validation.GenericValidation
org.kuali.kfs.module.purap.document.validation.impl.RequisitionProcessAdditionalValidation
- All Implemented Interfaces:
- Validation
public class RequisitionProcessAdditionalValidation
- extends GenericValidation
Method Summary |
boolean |
validate(AttributedDocumentEvent event)
Validate that if the PurchaseOrderTotalLimit is not null then the TotalDollarAmount cannot be greater than the
PurchaseOrderTotalLimit. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequisitionProcessAdditionalValidation
public RequisitionProcessAdditionalValidation()
validate
public boolean validate(AttributedDocumentEvent event)
- Validate that if the PurchaseOrderTotalLimit is not null then the TotalDollarAmount cannot be greater than the
PurchaseOrderTotalLimit.
- Parameters:
purDocument
- the requisition document to be validated
- Returns:
- boolean true if the TotalDollarAmount is less than the PurchaseOrderTotalLimit and false otherwise.
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.