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, updateStatusByNodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHoldOnPaymentRequest, 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, resetExtractedPaymentRequestgenerateGLEntriesCreateAccountsPayableDocument, getPersonForCancel, poItemEligibleForAp, shouldPurchaseOrderBeReversed, takePurchaseOrderCancelAction, updateStatusByNodeprotected 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 PaymentRequestServiceImplpublic void setPurchaseOrderService(PurchaseOrderService purchaseOrderService)
setPurchaseOrderService in class PaymentRequestServiceImplpublic void setDocumentService(org.kuali.rice.krad.service.DocumentService documentService)
setDocumentService in class PaymentRequestServiceImplpublic void setNoteService(org.kuali.rice.krad.service.NoteService noteService)
setNoteService in class PaymentRequestServiceImplpublic void setPurapAccountingService(PurapAccountingService purapAccountingService)
setPurapAccountingService in class PaymentRequestServiceImplpublic void setOlePurapAccountingService(OlePurapAccountingService olePurapAccountingService)
public void completePaymentDocument(OlePaymentRequestDocument paymentRequestDocument)
completePaymentDocument in interface OlePaymentRequestServiceOlePaymentRequestService.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)
PaymentRequestServicecalculatePaymentRequest in interface PaymentRequestServicecalculatePaymentRequest in class PaymentRequestServiceImplpaymentRequest - 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)
PaymentRequestServiceImpldistributeAccounting in class PaymentRequestServiceImplpublic PaymentRequestDocument getPaymentRequestByDocumentNumber(String documentNumber)
PaymentRequestServicegetPaymentRequestByDocumentNumber in interface PaymentRequestServicegetPaymentRequestByDocumentNumber in class PaymentRequestServiceImpldocumentNumber - 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 OlePaymentRequestServicepublic OleSelectDocumentService getOleSelectDocumentService()
public void setOleSelectDocumentService(OleSelectDocumentService oleSelectDocumentService)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.