public class ProcurementCardAccountAccessibilityValidation extends GenericValidation
Modifier and Type | Field and Description |
---|---|
protected ProcurementCardDocument |
accountingDocumentForValidation |
Constructor and Description |
---|
ProcurementCardAccountAccessibilityValidation() |
Modifier and Type | Method and Description |
---|---|
ProcurementCardDocument |
getAccountingDocumentForValidation() |
protected boolean |
isTransactionBalanceValid(ProcurementCardTransactionDetail pcTransactionDetail)
This method validates the balance of the transaction given.
|
void |
setAccountingDocumentForValidation(ProcurementCardDocument accountingDocumentForValidation) |
boolean |
validate(AttributedDocumentEvent event)
Validates that an accounting line does not have a capital object object code
Expects an accounting line as the first a parameter
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
protected ProcurementCardDocument accountingDocumentForValidation
public ProcurementCardAccountAccessibilityValidation()
public boolean validate(AttributedDocumentEvent event)
org.kuali.ole.sys.document.validation.Validation#validate(java.lang.Object[])
protected boolean isTransactionBalanceValid(ProcurementCardTransactionDetail pcTransactionDetail)
pcTransaction
- The transaction detail used to retrieve the procurement card transaction and target accounting
lines used to check for in balance.public ProcurementCardDocument getAccountingDocumentForValidation()
public void setAccountingDocumentForValidation(ProcurementCardDocument accountingDocumentForValidation)
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.