public class CashReceiptAccountAndObjectCodeValidation extends GenericValidation
Constructor and Description |
---|
CashReceiptAccountAndObjectCodeValidation() |
Modifier and Type | Method and Description |
---|---|
AccountingLine |
getAccountingLineForValidation()
Gets the accountingLineForValidation attribute.
|
org.kuali.rice.coreservice.framework.parameter.ParameterService |
getParameterService()
Gets the parameterService attribute.
|
void |
setAccountingLineForValidation(AccountingLine accountingLineForValidation)
Sets the accountingLineForValidation attribute value.
|
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
Sets the parameterService attribute value.
|
boolean |
validate(AttributedDocumentEvent event)
This method processes the accounting line to make sure if a sales tax account is used the right object code is used with it
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public CashReceiptAccountAndObjectCodeValidation()
public boolean validate(AttributedDocumentEvent event)
Validation.validate(org.kuali.ole.sys.document.validation.event.AttributedDocumentEvent)
public AccountingLine getAccountingLineForValidation()
public void setAccountingLineForValidation(AccountingLine accountingLineForValidation)
accountingLineForValidation
- The accountingLineForValidation to set.public org.kuali.rice.coreservice.framework.parameter.ParameterService getParameterService()
public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
parameterService
- The parameterService to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.