public interface ReceivingService
| Modifier and Type | Method and Description | 
|---|---|
| void | addNoteToReceivingDocument(ReceivingDocument receivingDocument,
                                                    String note)Adds a note to a receiving document. | 
| void | approveReceivingDocsForPOAmendment()This method iterates all the line item receiving documents with Awaiting Purchase Order Open Status and approves it if the
 associated PO is available for amedment. | 
| boolean | canCreateCorrectionReceivingDocument(LineItemReceivingDocument rl) | 
| boolean | canCreateCorrectionReceivingDocument(LineItemReceivingDocument rl,
                                                                        String receivingCorrectionDocNumber) | 
| boolean | canCreateLineItemReceivingDocument(Integer poId,
                                                                    String receivingDocumentNumber)Determines if a receiving line document can be created at the time the user requests it. | 
| boolean | canCreateLineItemReceivingDocument(PurchaseOrderDocument po)Determines if a receiving line document can be created at the time the user requests it. | 
| boolean | canCreateLineItemReceivingDocument(PurchaseOrderDocument purchaseOrderDocument,
                                                                    String receivingDocumentNumber) | 
| void | completeCorrectionReceivingDocument(ReceivingDocument correctionDocument)This method updates the corrected quantities on the receiving document. | 
| void | completeReceivingDocument(ReceivingDocument receivingDocument)This method deletes unneeded items and updates the totals on the po and does any additional processing based on items i.e. | 
| void | createNoteForReturnedAndDamagedItems(ReceivingDocument recDoc) | 
| List<String> | getCorrectionReceivingDocumentNumbersInProcessForPurchaseOrder(Integer poId,
                                                                                                                            String receivingDocumentNumber)Returns a list of correction receiving documents in process for a purchase order | 
| List<String> | getLineItemReceivingDocumentNumbersInProcessForPurchaseOrder(Integer poId,
                                                                                                                        String receivingDocumentNumber)Returns a list of line item receiving documents in process for a purchase order | 
| List<LineItemReceivingDocument> | getLineItemReceivingDocumentsInFinalForPurchaseOrder(Integer poId)Returns a list of line item receiving documents in final status for a purchase order | 
| String | getReceivingDeliveryCampusCode(PurchaseOrderDocument po)Returns a delivery campus code on a receiving document based on the purchase order passed in. | 
| boolean | hasNewUnorderedItem(LineItemReceivingDocument rlDoc)Checks if there're newly added items in the given LineItemReceivingDocument. | 
| boolean | isLineItemReceivingDocumentGeneratedForPurchaseOrder(Integer poId)Determines if there is at least one receiving line document that has gone to final for a purchase order. | 
| boolean | isPurchaseOrderActiveForLineItemReceivingDocumentCreation(Integer poId)Returns true, if the po is active for receiving document creation | 
| void | populateAndSaveLineItemReceivingDocument(LineItemReceivingDocument rlDoc)A save is done passing the continue purap event so as to call a populate within
 prepare for save. | 
| void | populateCorrectionReceivingDocument(CorrectionReceivingDocument rcDoc)Populates the receiving correction document. | 
| void | populateCorrectionReceivingFromReceivingLine(CorrectionReceivingDocument rcDoc)Populates a Receiving Correction Document with information from a Receiving Line. | 
| void | populateReceivingLineFromPurchaseOrder(LineItemReceivingDocument rlDoc)Populates a Receiving Line Document with information from a Purchase Order. | 
| HashMap<String,String> | receivingLineDuplicateMessages(LineItemReceivingDocument rlDoc)Checks for duplicate Receiving Line documents and passes back a list of those found
 where vendor date, packing slip number or bill of lading match on previous receiving line
 documents by purchase order. | 
void populateReceivingLineFromPurchaseOrder(LineItemReceivingDocument rlDoc)
rlDoc - void populateCorrectionReceivingFromReceivingLine(CorrectionReceivingDocument rcDoc)
rcDoc - void populateAndSaveLineItemReceivingDocument(LineItemReceivingDocument rlDoc) throws org.kuali.rice.kew.api.exception.WorkflowException
rlDoc - org.kuali.rice.kew.api.exception.WorkflowExceptionvoid populateCorrectionReceivingDocument(CorrectionReceivingDocument rcDoc)
rcDoc - boolean canCreateLineItemReceivingDocument(Integer poId, String receivingDocumentNumber) throws RuntimeException
poId - receivingDocumentNumber - RuntimeExceptionboolean canCreateLineItemReceivingDocument(PurchaseOrderDocument purchaseOrderDocument, String receivingDocumentNumber) throws RuntimeException
RuntimeExceptionboolean canCreateLineItemReceivingDocument(PurchaseOrderDocument po) throws RuntimeException
po - RuntimeExceptionboolean canCreateCorrectionReceivingDocument(LineItemReceivingDocument rl) throws RuntimeException
rl - RuntimeExceptionboolean canCreateCorrectionReceivingDocument(LineItemReceivingDocument rl, String receivingCorrectionDocNumber) throws RuntimeException
rl - receivingCorrectionDocNumber - RuntimeExceptionHashMap<String,String> receivingLineDuplicateMessages(LineItemReceivingDocument rlDoc)
rlDoc - void completeReceivingDocument(ReceivingDocument receivingDocument)
receivingDocument - receiving documentvoid completeCorrectionReceivingDocument(ReceivingDocument correctionDocument)
receivingDocument - receivingCorrectionDocumentvoid addNoteToReceivingDocument(ReceivingDocument receivingDocument, String note) throws Exception
receivingDocument - note - ExceptionString getReceivingDeliveryCampusCode(PurchaseOrderDocument po)
po - boolean isLineItemReceivingDocumentGeneratedForPurchaseOrder(Integer poId) throws RuntimeException
poId - RuntimeExceptionvoid createNoteForReturnedAndDamagedItems(ReceivingDocument recDoc)
void approveReceivingDocsForPOAmendment()
List<String> getLineItemReceivingDocumentNumbersInProcessForPurchaseOrder(Integer poId, String receivingDocumentNumber)
receivingDocumentNumber - List<LineItemReceivingDocument> getLineItemReceivingDocumentsInFinalForPurchaseOrder(Integer poId)
receivingDocumentNumber - List<String> getCorrectionReceivingDocumentNumbersInProcessForPurchaseOrder(Integer poId, String receivingDocumentNumber)
poId - receivingDocumentNumber - boolean isPurchaseOrderActiveForLineItemReceivingDocumentCreation(Integer poId)
boolean hasNewUnorderedItem(LineItemReceivingDocument rlDoc)
rlDoc - the given LineItemReceivingDocumentCopyright © 2004–2015 The Kuali Foundation. All rights reserved.