public class InvoiceTotalsValidation extends GenericValidation
| Constructor and Description | 
|---|
| InvoiceTotalsValidation() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | flagLineItemTotals(List<PurApItem> itemList)Flags with an erorr the item totals whos calculated extended price does not equal its extended price. | 
| protected org.kuali.rice.core.api.util.type.KualiDecimal | getTotalExcludingItemTypes(List<PurApItem> itemList,
                                                    List<String> excludedItemTypes)Calculates a total but excludes passed in item types from the totalling. | 
| boolean | validate(AttributedDocumentEvent event)This method validates that certain parameters | 
setQuitOnFail, shouldQuitOnFail, stageValidationgetParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterPropertiespublic InvoiceTotalsValidation()
public boolean validate(AttributedDocumentEvent event)
Validationprotected org.kuali.rice.core.api.util.type.KualiDecimal getTotalExcludingItemTypes(List<PurApItem> itemList, List<String> excludedItemTypes)
itemList - - list of purap itemsexcludedItemTypes - - list of item types to exclude from totallingprotected void flagLineItemTotals(List<PurApItem> itemList)
itemList - - list of purap itemsCopyright © 2004–2014 The Kuali Foundation. All rights reserved.