|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReceivingService
Method Summary | |
---|---|
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. |
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 |
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. |
Method Detail |
---|
void populateReceivingLineFromPurchaseOrder(LineItemReceivingDocument rlDoc)
rlDoc
- void populateCorrectionReceivingFromReceivingLine(CorrectionReceivingDocument rcDoc)
rcDoc
- void populateAndSaveLineItemReceivingDocument(LineItemReceivingDocument rlDoc) throws org.kuali.rice.kew.exception.WorkflowException
rlDoc
-
org.kuali.rice.kew.exception.WorkflowException
void populateCorrectionReceivingDocument(CorrectionReceivingDocument rcDoc)
rcDoc
- boolean canCreateLineItemReceivingDocument(Integer poId, String receivingDocumentNumber) throws RuntimeException
poId
- receivingDocumentNumber
-
RuntimeException
boolean canCreateLineItemReceivingDocument(PurchaseOrderDocument po) throws RuntimeException
po
-
RuntimeException
boolean canCreateCorrectionReceivingDocument(LineItemReceivingDocument rl) throws RuntimeException
rl
-
RuntimeException
boolean canCreateCorrectionReceivingDocument(LineItemReceivingDocument rl, String receivingCorrectionDocNumber) throws RuntimeException
rl
- receivingCorrectionDocNumber
-
RuntimeException
HashMap<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
-
Exception
String getReceivingDeliveryCampusCode(PurchaseOrderDocument po)
po
-
boolean isLineItemReceivingDocumentGeneratedForPurchaseOrder(Integer poId) throws RuntimeException
poId
-
RuntimeException
void 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |