public class PurchasingNewIndividualItemValidation extends PurchasingAccountsPayableNewIndividualItemValidation
Constructor and Description |
---|
PurchasingNewIndividualItemValidation() |
getBelowTheLineValuesValidation, getDataDictionaryService, getDocumentTypeLabel, getItemForValidation, getParameterService, setBelowTheLineValuesValidation, setDataDictionaryService, setItemForValidation, setParameterService
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public PurchasingNewIndividualItemValidation()
public boolean validate(AttributedDocumentEvent event)
Validation
validate
in interface Validation
validate
in class PurchasingAccountsPayableNewIndividualItemValidation
protected boolean commodityCodeIsRequired()
public boolean validateContainsAtLeastOneItem(PurchasingDocument purDocument)
purDocument
- the purchasing document to be validatedprotected boolean validateCommodityCodes(PurApItem item, boolean commodityCodeRequired)
item
- The PurApItem containing the commodity code to be validated.protected boolean validateThatCommodityCodeIsActive(PurApItem item)
public org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
public CapitalAssetBuilderModuleService getCapitalAssetBuilderModuleService()
public void setCapitalAssetBuilderModuleService(CapitalAssetBuilderModuleService capitalAssetBuilderModuleService)
public PurchasingUnitOfMeasureValidation getUnitOfMeasureValidation()
public void setUnitOfMeasureValidation(PurchasingUnitOfMeasureValidation unitOfMeasureValidation)
public PurchasingItemUnitPriceValidation getItemUnitPriceValidation()
public void setItemUnitPriceValidation(PurchasingItemUnitPriceValidation itemUnitPriceValidation)
public PurchasingItemDescriptionValidation getItemDescriptionValidation()
public void setItemDescriptionValidation(PurchasingItemDescriptionValidation itemDescriptionValidation)
public PurchasingItemQuantityValidation getItemQuantityValidation()
public void setItemQuantityValidation(PurchasingItemQuantityValidation itemQuantityValidation)
public PurchasingBelowTheLineItemNoUnitCostValidation getBelowTheLineItemNoUnitCostValidation()
public void setBelowTheLineItemNoUnitCostValidation(PurchasingBelowTheLineItemNoUnitCostValidation belowTheLineItemNoUnitCostValidation)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.