@Transactional public class OleCreditMemoServiceImpl extends CreditMemoServiceImpl implements OleCreditMemoService
Constructor and Description |
---|
OleCreditMemoServiceImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
autoApproveCreditMemo(OleVendorCreditMemoDocument creditMemoDoc)
NOTE: in the event of auto-approval failure, this method may throw a RuntimeException, indicating to Spring transactional
management that the transaction should be rolled back.
|
void |
calculateCreditMemo(VendorCreditMemoDocument cmDocument)
Performs the credit memo item extended price calculation.
|
void |
calculateProrateItemSurcharge(OleVendorCreditMemoDocument vendorCreditMemoDocument) |
void |
populateDocumentAfterInit(VendorCreditMemoDocument cmDocument)
Populates the document from either the associated payment request document, purchase order document, or vendor detail based
on the credit memo type.
|
void |
populateDocumentFromInvoice(OleVendorCreditMemoDocument cmDocument,
HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList) |
protected void |
populateDocumentFromPO(VendorCreditMemoDocument cmDocument,
HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)
Populate Credit Memo of type Purchase Order.
|
protected void |
populateDocumentFromPreq(VendorCreditMemoDocument cmDocument,
HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)
Populate Credit Memo of type Payment Request.
|
protected void |
populateDocumentFromVendor(VendorCreditMemoDocument cmDocument)
Populate Credit Memo of type Vendor.
|
void |
populateItemLinesFromInvoice(OleInvoiceDocument invoiceDocument,
OleVendorCreditMemoDocument cmDocument,
HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)
Populates the credit memo items from the payment request items.
|
protected void |
populateItemLinesFromPO(VendorCreditMemoDocument cmDocument,
HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)
Populates the credit memo items from the payment request items.
|
protected void |
populateItemLinesFromPreq(VendorCreditMemoDocument cmDocument,
HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)
Populates the credit memo items from the payment request items.
|
void |
setAccountsPayableService(AccountsPayableService accountsPayableService) |
void |
setDocumentService(org.kuali.rice.krad.service.DocumentService documentService) |
void |
setOleInvoiceService(OleInvoiceService oleInvoiceService) |
void |
setOlePaymentRequestService(OlePaymentRequestService olePaymentRequestService) |
void |
setOlePurapAccountingService(OlePurapAccountingService olePurapAccountingService) |
void |
setOlePurchaseOrderService(OlePurchaseOrderService olePurchaseOrderService) |
void |
setPurapAccountingService(PurapAccountingService purapAccountingService) |
void |
setPurapService(PurapService purapService) |
void |
setVendorService(VendorService vendorService) |
addHoldOnCreditMemo, cancelExtractedCreditMemo, creditMemoDuplicateMessages, generateGLEntriesCreateAccountsPayableDocument, getCreditMemoByDocumentNumber, getCreditMemoDocumentById, getCreditMemosToExtract, getCreditMemosToExtractByVendor, getPersonForCancel, getPOInvoicedItems, getVendorsOnCreditMemosToExtract, hasActiveCreditMemosForPurchaseOrder, logAndThrowRuntimeException, logAndThrowRuntimeException, markPaid, poItemEligibleForAp, populateAndSaveCreditMemo, populateDocumentDescription, removeHoldOnCreditMemo, reopenClosedPO, resetExtractedCreditMemo, setConfigurationService, setCreditMemoDao, setDataDictionaryService, setNoteService, setPaymentRequestService, setPurapGeneralLedgerService, setPurchaseOrderService, setWorkflowDocumentService, shouldPurchaseOrderBeReversed, takePurchaseOrderCancelAction, updateStatusByNode, updateStatusByNode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHoldOnCreditMemo, cancelExtractedCreditMemo, creditMemoDuplicateMessages, getCreditMemoByDocumentNumber, getCreditMemoDocumentById, getCreditMemosToExtract, getCreditMemosToExtractByVendor, getPOInvoicedItems, getVendorsOnCreditMemosToExtract, hasActiveCreditMemosForPurchaseOrder, markPaid, populateAndSaveCreditMemo, removeHoldOnCreditMemo, reopenClosedPO, resetExtractedCreditMemo
generateGLEntriesCreateAccountsPayableDocument, getPersonForCancel, poItemEligibleForAp, shouldPurchaseOrderBeReversed, takePurchaseOrderCancelAction, updateStatusByNode
public OleCreditMemoServiceImpl()
public void setOlePurchaseOrderService(OlePurchaseOrderService olePurchaseOrderService)
public void setVendorService(VendorService vendorService)
setVendorService
in class CreditMemoServiceImpl
public void setOlePaymentRequestService(OlePaymentRequestService olePaymentRequestService)
public void setPurapAccountingService(PurapAccountingService purapAccountingService)
setPurapAccountingService
in class CreditMemoServiceImpl
public void setPurapService(PurapService purapService)
setPurapService
in class CreditMemoServiceImpl
public void setOleInvoiceService(OleInvoiceService oleInvoiceService)
public void setAccountsPayableService(AccountsPayableService accountsPayableService)
setAccountsPayableService
in class CreditMemoServiceImpl
public void setDocumentService(org.kuali.rice.krad.service.DocumentService documentService)
setDocumentService
in class CreditMemoServiceImpl
public void setOlePurapAccountingService(OlePurapAccountingService olePurapAccountingService)
public void calculateCreditMemo(VendorCreditMemoDocument cmDocument)
CreditMemoService
calculateCreditMemo
in interface CreditMemoService
calculateCreditMemo
in class CreditMemoServiceImpl
cmDocument
- - credit memo document to calculate.calculateCreditMemo(org.kuali.ole.module.purap.document.VendorCreditMemoDocument)
public void calculateProrateItemSurcharge(OleVendorCreditMemoDocument vendorCreditMemoDocument)
protected void populateItemLinesFromPreq(VendorCreditMemoDocument cmDocument, HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)
populateItemLinesFromPreq
in class CreditMemoServiceImpl
cmDocument
- - Credit Memo Document to Populateprotected void populateDocumentFromPreq(VendorCreditMemoDocument cmDocument, HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)
populateDocumentFromPreq
in class CreditMemoServiceImpl
cmDocument
- - Credit Memo Document to Populateprotected void populateDocumentFromPO(VendorCreditMemoDocument cmDocument, HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)
CreditMemoServiceImpl
populateDocumentFromPO
in class CreditMemoServiceImpl
cmDocument
- - Credit Memo Document to Populateprotected void populateItemLinesFromPO(VendorCreditMemoDocument cmDocument, HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)
populateItemLinesFromPO
in class CreditMemoServiceImpl
cmDocument
- - Credit Memo Document to Populateprotected void populateDocumentFromVendor(VendorCreditMemoDocument cmDocument)
CreditMemoServiceImpl
populateDocumentFromVendor
in class CreditMemoServiceImpl
cmDocument
- - Credit Memo Document to Populatepublic void populateDocumentAfterInit(VendorCreditMemoDocument cmDocument)
CreditMemoService
populateDocumentAfterInit
in interface CreditMemoService
populateDocumentAfterInit
in class CreditMemoServiceImpl
cmDocument
- - Credit Memo Document to PopulatepopulateDocumentAfterInit(org.kuali.ole.module.purap.document.CreditMemoDocument)
public void populateDocumentFromInvoice(OleVendorCreditMemoDocument cmDocument, HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)
populateDocumentFromInvoice
in interface OleCreditMemoService
public void populateItemLinesFromInvoice(OleInvoiceDocument invoiceDocument, OleVendorCreditMemoDocument cmDocument, HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)
populateItemLinesFromInvoice
in interface OleCreditMemoService
cmDocument
- - Credit Memo Document to Populatepublic boolean autoApproveCreditMemo(OleVendorCreditMemoDocument creditMemoDoc)
autoApproveCreditMemo
in interface OleCreditMemoService
autoApproveCreditMemo(org.kuali.ole.module.purap.document.PaymentRequestDocument,
org.kuali.rice.core.api.util.type.KualiDecimal)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.