public class OlePaymentRequestServiceImpl extends PaymentRequestServiceImpl implements OlePaymentRequestService
Modifier and Type | Field and Description |
---|---|
protected org.kuali.rice.krad.service.DocumentService |
documentService |
protected static org.apache.log4j.Logger |
LOG |
protected org.kuali.rice.krad.service.NoteService |
noteService |
protected PurapService |
purapService |
protected PurchaseOrderService |
purchaseOrderService |
accountsPayableService, bankService, businessObjectService, configurationService, currencyTypeIndicator, dataDictionaryService, dateTimeService, financialSystemWorkflowHelperService, kualiRuleService, negativePaymentRequestApprovalLimitService, parameterService, paymentRequestDao, purapWorkflowIntegrationService, universityDateService, vendorService, workflowDocumentService
Constructor and Description |
---|
OlePaymentRequestServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
addUnorderedItemsToAmendment(PurchaseOrderAmendmentDocument amendment,
OlePaymentRequestDocument rlDoc)
Adds an unordered item to a po amendment document.
|
void |
calculatePaymentRequest(PaymentRequestDocument paymentRequest,
boolean updateDiscount)
Recalculate the payment request.
|
void |
calculateProrateItemSurcharge(OlePaymentRequestDocument paymentRequestDocument) |
void |
calculateWithoutProrates(OlePaymentRequestDocument paymentRequestDocument)
This method is for caluclate the total amount without select proprate by Quantity,doller and manual
|
void |
completePaymentDocument(OlePaymentRequestDocument paymentRequestDocument)
This method deletes unneeded items and updates the totals on the po and does any additional processing based on items
|
protected OlePurchaseOrderItem |
createPoItemFromPaymentLine(OlePaymentRequestItem rlItem)
Creates a PO item from paymentRequest Line item.
|
protected void |
distributeAccounting(PaymentRequestDocument paymentRequestDocument)
Distributes accounts for a payment request document.
|
OleSelectDocumentService |
getOleSelectDocumentService() |
String |
getPaymentMethod(Integer paymentId) |
PaymentRequestDocument |
getPaymentRequestByDocumentNumber(String documentNumber)
Obtains the payment request document given the document number.
|
protected boolean |
hasNewUnorderedItem(OlePaymentRequestDocument paymentDoc)
Checks the item list for newly added items.
|
void |
setAccountingLinesFromPayment(OlePaymentRequestItem payItem,
OlePurchaseOrderItem purItem)
Setting Accounting Lines For POA from newLineItem
|
void |
setDocumentService(org.kuali.rice.krad.service.DocumentService documentService) |
void |
setNoteService(org.kuali.rice.krad.service.NoteService noteService) |
void |
setOlePurapAccountingService(OlePurapAccountingService olePurapAccountingService) |
void |
setOleSelectDocumentService(OleSelectDocumentService oleSelectDocumentService) |
void |
setPurapAccountingService(PurapAccountingService purapAccountingService) |
void |
setPurapService(PurapService purapService) |
void |
setPurchaseOrderService(PurchaseOrderService purchaseOrderService) |
protected void |
spawnPoAmendmentForUnorderedItems(OlePaymentRequestDocument paymentDocument,
PurchaseOrderDocument po)
Spawns PO amendments for new unordered items on a PaymentRequest document.
|
protected void |
updatePaymentTotalsOnPurchaseOrder(OlePaymentRequestDocument paymentDocument,
PurchaseOrderDocument poDoc) |
boolean |
validateProratedSurcharge(OlePaymentRequestDocument paymentRequestDocument)
This method is validates the prorate surchanges if prorate by manual
|
addHoldOnPaymentRequest, addTaxAccountingLine, addTaxItem, allowBackpost, autoApprovePaymentRequest, autoApprovePaymentRequest, autoApprovePaymentRequest, autoApprovePaymentRequests, calculateDiscount, calculatePayDate, calculateTaxArea, cancelExtractedPaymentRequest, changeVendor, clearRequestCancelFields, clearTax, createPreqDocumentDescription, encumberedItemExistsForInvoicing, filterPaymentRequestByAppDocStatus, filterPaymentRequestByAppDocStatus, filterPaymentRequestByAppDocStatus, findDiscountItem, findFullOrderDiscountItem, generateGLEntriesCreateAccountsPayableDocument, getAccountsPayableService, getImmediatePaymentRequestsToExtract, getMinimumLimitAmount, getOlePurapService, getPaymentRequestById, getPaymentRequestsByPOIdInvoiceAmountInvoiceDate, getPaymentRequestsByPurchaseOrderId, getPaymentRequestsByVendorNumber, getPaymentRequestsByVendorNumberInvoiceNumber, getPaymentRequestsToExtract, getPaymentRequestsToExtractByCM, getPaymentRequestsToExtractByVendor, getPaymentRequestsToExtractSpecialPayments, getPaymentRequestToExtractByChart, getPersonForCancel, hasActivePaymentRequestsForPurchaseOrder, hasDiscountItem, isBeingAdHocRouted, isEligibleForAutoApproval, isExtracted, isInvoiceDateAfterToday, isPurchaseOrderValidForPaymentRequestDocumentCreation, logAndThrowRuntimeException, logAndThrowRuntimeException, markPaid, paymentRequestDuplicateMessages, paymentTermsDateCalculation, poItemEligibleForAp, populateAndSavePaymentRequest, populatePaymentRequest, processPaymentRequestInReceivingStatus, removeHoldOnPaymentRequest, removeIneligibleAdditionalCharges, removeRequestCancelOnPaymentRequest, removeTaxItems, requestCancelOnPaymentRequest, resetExtractedPaymentRequest, returnLaterDate, setAccountsPayableService, setBankService, setBusinessObjectService, setConfigurationService, setDataDictionaryService, setDateTimeService, setFinancialSystemWorkflowHelperService, setKualiRuleService, setNegativePaymentRequestApprovalLimitService, setParameterService, setPaymentRequestDao, setPurapWorkflowIntegrationService, setUniversityDateService, setVendorAddress, setVendorService, setWorkflowDocumentService, shouldPurchaseOrderBeReversed, takePurchaseOrderCancelAction, updateStatusByNode, updateStatusByNode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHoldOnPaymentRequest, allowBackpost, autoApprovePaymentRequest, autoApprovePaymentRequest, autoApprovePaymentRequest, autoApprovePaymentRequests, calculatePayDate, calculateTaxArea, cancelExtractedPaymentRequest, changeVendor, clearTax, createPreqDocumentDescription, encumberedItemExistsForInvoicing, getImmediatePaymentRequestsToExtract, getPaymentRequestById, getPaymentRequestsByPOIdInvoiceAmountInvoiceDate, getPaymentRequestsByPurchaseOrderId, getPaymentRequestsByVendorNumber, getPaymentRequestsByVendorNumberInvoiceNumber, getPaymentRequestsToExtract, getPaymentRequestsToExtractByCM, getPaymentRequestsToExtractByVendor, getPaymentRequestsToExtractSpecialPayments, getPaymentRequestToExtractByChart, hasActivePaymentRequestsForPurchaseOrder, hasDiscountItem, isExtracted, isInvoiceDateAfterToday, isPurchaseOrderValidForPaymentRequestDocumentCreation, markPaid, paymentRequestDuplicateMessages, populateAndSavePaymentRequest, populatePaymentRequest, processPaymentRequestInReceivingStatus, removeHoldOnPaymentRequest, removeIneligibleAdditionalCharges, removeRequestCancelOnPaymentRequest, requestCancelOnPaymentRequest, resetExtractedPaymentRequest
generateGLEntriesCreateAccountsPayableDocument, getPersonForCancel, poItemEligibleForAp, shouldPurchaseOrderBeReversed, takePurchaseOrderCancelAction, updateStatusByNode
protected static org.apache.log4j.Logger LOG
protected PurchaseOrderService purchaseOrderService
protected PurapService purapService
protected org.kuali.rice.krad.service.DocumentService documentService
protected org.kuali.rice.krad.service.NoteService noteService
public OlePaymentRequestServiceImpl()
public void setPurapService(PurapService purapService)
setPurapService
in class PaymentRequestServiceImpl
public void setPurchaseOrderService(PurchaseOrderService purchaseOrderService)
setPurchaseOrderService
in class PaymentRequestServiceImpl
public void setDocumentService(org.kuali.rice.krad.service.DocumentService documentService)
setDocumentService
in class PaymentRequestServiceImpl
public void setNoteService(org.kuali.rice.krad.service.NoteService noteService)
setNoteService
in class PaymentRequestServiceImpl
public void setPurapAccountingService(PurapAccountingService purapAccountingService)
setPurapAccountingService
in class PaymentRequestServiceImpl
public void setOlePurapAccountingService(OlePurapAccountingService olePurapAccountingService)
public void completePaymentDocument(OlePaymentRequestDocument paymentRequestDocument)
completePaymentDocument
in interface OlePaymentRequestService
OlePaymentRequestService.completePaymentDocument(org.kuali.ole.select.document.OlePaymentRequestDocument)
protected void updatePaymentTotalsOnPurchaseOrder(OlePaymentRequestDocument paymentDocument, PurchaseOrderDocument poDoc)
protected void spawnPoAmendmentForUnorderedItems(OlePaymentRequestDocument paymentDocument, PurchaseOrderDocument po)
paymentDocument
- po
- protected boolean hasNewUnorderedItem(OlePaymentRequestDocument paymentDoc)
paymentDoc
- protected void addUnorderedItemsToAmendment(PurchaseOrderAmendmentDocument amendment, OlePaymentRequestDocument rlDoc)
amendment
- rlDoc
- protected OlePurchaseOrderItem createPoItemFromPaymentLine(OlePaymentRequestItem rlItem)
rlItem
- public void setAccountingLinesFromPayment(OlePaymentRequestItem payItem, OlePurchaseOrderItem purItem)
payItem
- purItem
- public void calculateProrateItemSurcharge(OlePaymentRequestDocument paymentRequestDocument)
public void calculatePaymentRequest(PaymentRequestDocument paymentRequest, boolean updateDiscount)
PaymentRequestService
calculatePaymentRequest
in interface PaymentRequestService
calculatePaymentRequest
in class PaymentRequestServiceImpl
paymentRequest
- The payment request document to be calculated.updateDiscount
- boolean true if we also want to calculate the discount items for the payment request.PaymentRequestService.calculatePaymentRequest(org.kuali.ole.module.purap.document.PaymentRequestDocument,
boolean)
protected void distributeAccounting(PaymentRequestDocument paymentRequestDocument)
PaymentRequestServiceImpl
distributeAccounting
in class PaymentRequestServiceImpl
public PaymentRequestDocument getPaymentRequestByDocumentNumber(String documentNumber)
PaymentRequestService
getPaymentRequestByDocumentNumber
in interface PaymentRequestService
getPaymentRequestByDocumentNumber
in class PaymentRequestServiceImpl
documentNumber
- The document number to be used to obtain the payment request document.PaymentRequestService.getPaymentRequestByDocumentNumber(java.lang.String)
public boolean validateProratedSurcharge(OlePaymentRequestDocument paymentRequestDocument)
public void calculateWithoutProrates(OlePaymentRequestDocument paymentRequestDocument)
public String getPaymentMethod(Integer paymentId)
getPaymentMethod
in interface OlePaymentRequestService
public OleSelectDocumentService getOleSelectDocumentService()
public void setOleSelectDocumentService(OleSelectDocumentService oleSelectDocumentService)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.