org.kuali.kfs.module.purap.document.validation.impl
Class PurchaseOrderAddQuoteToVendorValidation
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.PurchaseOrderAddQuoteToVendorValidation
- All Implemented Interfaces:
- Validation
public class PurchaseOrderAddQuoteToVendorValidation
- extends GenericValidation
A validation that checks whether the given accounting line is accessible to the given user or not
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PurchaseOrderAddQuoteToVendorValidation
public PurchaseOrderAddQuoteToVendorValidation()
validate
public boolean validate(AttributedDocumentEvent event)
- Applies rules for validation of the Split of PO and PO child documents
- Parameters:
document
- A PurchaseOrderDocument (or one of its children)
- Returns:
- True if all relevant validation rules are passed.
isVendorQuoteActiveNotDebarredVendor
protected boolean isVendorQuoteActiveNotDebarredVendor(Integer vendorHeaderGeneratedIdentifier,
Integer vendorDetailAssignedIdentifer)
vendorQuoteHasRequiredFields
protected boolean vendorQuoteHasRequiredFields(PurchaseOrderVendorQuote vendorQuote)
getAccountingDocumentForValidation
public PurchaseOrderDocument getAccountingDocumentForValidation()
setAccountingDocumentForValidation
public void setAccountingDocumentForValidation(PurchaseOrderDocument accountingDocumentForValidation)
getVendorQuote
public PurchaseOrderVendorQuote getVendorQuote()
setVendorQuote
public void setVendorQuote(PurchaseOrderVendorQuote vendorQuote)
getVendorService
public VendorService getVendorService()
setVendorService
public void setVendorService(VendorService vendorService)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.