public class PurchaseOrderAddQuoteToVendorValidation extends GenericValidation
Constructor and Description |
---|
PurchaseOrderAddQuoteToVendorValidation() |
Modifier and Type | Method and Description |
---|---|
PurchaseOrderDocument |
getAccountingDocumentForValidation() |
PurchaseOrderVendorQuote |
getVendorQuote() |
VendorService |
getVendorService() |
protected boolean |
isVendorQuoteActiveNotDebarredVendor(Integer vendorHeaderGeneratedIdentifier,
Integer vendorDetailAssignedIdentifer) |
void |
setAccountingDocumentForValidation(PurchaseOrderDocument accountingDocumentForValidation) |
void |
setVendorQuote(PurchaseOrderVendorQuote vendorQuote) |
void |
setVendorService(VendorService vendorService) |
boolean |
validate(AttributedDocumentEvent event)
Applies rules for validation of the Split of PO and PO child documents
|
protected boolean |
vendorQuoteHasRequiredFields(PurchaseOrderVendorQuote vendorQuote) |
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public PurchaseOrderAddQuoteToVendorValidation()
public boolean validate(AttributedDocumentEvent event)
document
- A PurchaseOrderDocument (or one of its children)protected boolean isVendorQuoteActiveNotDebarredVendor(Integer vendorHeaderGeneratedIdentifier, Integer vendorDetailAssignedIdentifer)
protected boolean vendorQuoteHasRequiredFields(PurchaseOrderVendorQuote vendorQuote)
public PurchaseOrderDocument getAccountingDocumentForValidation()
public void setAccountingDocumentForValidation(PurchaseOrderDocument accountingDocumentForValidation)
public PurchaseOrderVendorQuote getVendorQuote()
public void setVendorQuote(PurchaseOrderVendorQuote vendorQuote)
public VendorService getVendorService()
public void setVendorService(VendorService vendorService)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.