public class VendorCreditMemoItemQuantityValidation extends GenericValidation
Constructor and Description |
---|
VendorCreditMemoItemQuantityValidation() |
Modifier and Type | Method and Description |
---|---|
org.kuali.rice.kns.service.DataDictionaryService |
getDataDictionaryService() |
CreditMemoItem |
getItemForValidation() |
protected org.kuali.rice.core.api.util.type.KualiDecimal |
getSourceTotalInvoiceQuantity(VendorCreditMemoDocument cmDocument,
CreditMemoItem item)
Returns the total invoiced quantity for the item line based on the type of credit memo.
|
void |
setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService) |
void |
setItemForValidation(CreditMemoItem itemForValidation) |
boolean |
validate(AttributedDocumentEvent event)
This method validates that certain parameters
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public VendorCreditMemoItemQuantityValidation()
public boolean validate(AttributedDocumentEvent event)
Validation
protected org.kuali.rice.core.api.util.type.KualiDecimal getSourceTotalInvoiceQuantity(VendorCreditMemoDocument cmDocument, CreditMemoItem item)
cmDocument
- - credit memo documentitem
- - credit memo item line to return total invoice quantitypublic org.kuali.rice.kns.service.DataDictionaryService getDataDictionaryService()
public void setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
public CreditMemoItem getItemForValidation()
public void setItemForValidation(CreditMemoItem itemForValidation)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.