public class OleLineItemReceivingDocumentRule extends LineItemReceivingDocumentRule
Constructor and Description |
---|
OleLineItemReceivingDocumentRule() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isAcknowledged(LineItemReceivingDocument receivingDocument)
This method validates if all Special Handling notes are acknowledged
for the line item entered.
|
protected boolean |
isAtLeastOneItemEntered(ReceivingDocument receivingDocument)
This method overrided to Add the Error Message separatly for Total Quantity Received and Total Parts Received
|
boolean |
processAddReceivingItemRules(ReceivingDocument document,
LineItemReceivingItem item,
String errorPathPrefix)
Overridden method to include validation for parts along with the existing validation
when adding a new line item in OLE Line Item Receiving Document.
|
boolean |
processCustomLineItemReceivingDescriptionBusinessRules(org.kuali.rice.krad.document.Document document,
OleLineItemReceivingItem lineItem) |
protected boolean |
processCustomRouteDocumentBusinessRules(org.kuali.rice.krad.document.Document document)
Overridden method to include validation for parts along with the existing validation
for OLE Line Item Receiving Document.
|
protected boolean |
validateAllReceivingLinesHaveSaneParts(ReceivingDocument document)
This method validates if parts returned/damaged is greater than parts received for a line item
in OLE Line Item Receiving document
|
protected boolean |
validatePartsDamagedNotMoreThanReceived(ReceivingDocument document,
LineItemReceivingItem item,
String errorPathPrefix,
Integer lineNumber)
This method validates if parts damaged is greater than parts received for a line item
in OLE Line Item Receiving document and sets error accordingly.
|
protected boolean |
validatePartsReturnedNotMoreThanReceived(ReceivingDocument document,
LineItemReceivingItem item,
String errorPathPrefix,
Integer lineNumber)
This method validates if parts returned is greater than parts received for a line item
in OLE Line Item Receiving document and sets error accordingly.
|
canCreateLineItemReceivingDocument, hasRequiredFieldsForContinue, processContinuePurapBusinessRules, validateAllReceivingLinesHaveSaneQuantities, validateItemUnitOfMeasure, validateQuantityDamagedNotMoreThanReceived, validateQuantityReturnedNotMoreThanReceived
getDictionaryValidationService
buildDocumentTypeActionRequestPermissionDetails, buildDocumentTypePermissionDetails, getDataDictionaryService, getDocumentDictionaryService, getGroupService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getPermissionService, getPersonService, hasAdHocRouteCompletion, isAddHocRoutePersonValid, isAddHocRouteWorkgroupValid, isAdHocRouteCompletionToInitiator, isAdHocRouteRecipientsValid, isDocumentAttributesValid, isDocumentOverviewValid, isNoteValid, processAddAdHocRoutePerson, processAddAdHocRouteWorkgroup, processAddNote, processApproveDocument, processCompleteDocument, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddNoteBusinessRules, processCustomApproveDocumentBusinessRules, processCustomCompleteDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processCustomSendAdHocRequests, processRouteDocument, processSaveDocument, processSendAdHocRequests, setDocumentDictionaryService, setMaxDictionaryValidationDepth, useKimPermission, validateSensitiveDataValue
public OleLineItemReceivingDocumentRule()
protected boolean processCustomRouteDocumentBusinessRules(org.kuali.rice.krad.document.Document document)
processCustomRouteDocumentBusinessRules
in class LineItemReceivingDocumentRule
document
- public boolean processAddReceivingItemRules(ReceivingDocument document, LineItemReceivingItem item, String errorPathPrefix)
processAddReceivingItemRules
in interface AddReceivingItemRule
processAddReceivingItemRules
in class LineItemReceivingDocumentRule
document
- item
- errorPathPrefix
- org.kuali.ole.module.purap.document.validation.AddReceivingItemRule#processAddReceivingItemRules(org.kuali.ole.module.purap.document.ReceivingDocument, org.kuali.ole.module.purap.businessobject.ReceivingItem)
protected boolean validatePartsReturnedNotMoreThanReceived(ReceivingDocument document, LineItemReceivingItem item, String errorPathPrefix, Integer lineNumber)
document
- item
- errorPathPrefix
- lineNumber
- protected boolean validatePartsDamagedNotMoreThanReceived(ReceivingDocument document, LineItemReceivingItem item, String errorPathPrefix, Integer lineNumber)
document
- item
- errorPathPrefix
- lineNumber
- protected boolean validateAllReceivingLinesHaveSaneParts(ReceivingDocument document)
document
- protected boolean isAcknowledged(LineItemReceivingDocument receivingDocument)
receivingDocument
- protected boolean isAtLeastOneItemEntered(ReceivingDocument receivingDocument)
isAtLeastOneItemEntered
in class LineItemReceivingDocumentRule
receivingDocument
- public boolean processCustomLineItemReceivingDescriptionBusinessRules(org.kuali.rice.krad.document.Document document, OleLineItemReceivingItem lineItem)
Copyright © 2004–2016 The Kuali Foundation. All rights reserved.