org.kuali.kfs.module.purap.document.validation.impl
Class PurchasingBelowTheLineItemNoUnitCostValidation
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.PurchasingBelowTheLineItemNoUnitCostValidation
- All Implemented Interfaces:
- Validation
public class PurchasingBelowTheLineItemNoUnitCostValidation
- extends GenericValidation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PurchasingBelowTheLineItemNoUnitCostValidation
public PurchasingBelowTheLineItemNoUnitCostValidation()
validate
public boolean validate(AttributedDocumentEvent event)
- Validates that if the item unit price is null and the source accounting lines is not empty, add error message and return
false.
- Returns:
- true if validation should continue, false otherwise
getItemForValidation
public PurApItem getItemForValidation()
setItemForValidation
public void setItemForValidation(PurApItem itemForValidation)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.