public class OlePurapServiceImpl extends Object implements OlePurapService
Modifier and Type | Field and Description |
---|---|
protected static org.apache.log4j.Logger |
LOG |
protected org.kuali.rice.coreservice.framework.parameter.ParameterService |
parameterService |
Constructor and Description |
---|
OlePurapServiceImpl() |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
calculateDiscount(OleInvoiceItem oleInvoiceOrder) |
BigDecimal |
calculateDiscount(OlePaymentRequestItem olePaymentRequestOrder) |
BigDecimal |
calculateDiscount(OlePurchaseOrderItem olePurchaseOrder) |
BigDecimal |
calculateDiscount(OleRequisitionItem oleRequisition) |
OleCreditMemoItem |
calculateForeignCurrency(OleCreditMemoItem oleCreditMemoItem) |
OleInvoiceItem |
calculateForeignCurrency(OleInvoiceItem item) |
OlePaymentRequestItem |
calculateForeignCurrency(OlePaymentRequestItem item) |
OlePurchaseOrderItem |
calculateForeignCurrency(OlePurchaseOrderItem olePurchaseOrder) |
OleRequisitionItem |
calculateForeignCurrency(OleRequisitionItem oleRequisition) |
org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService() |
String |
getCurrentDateTime()
This method gives the current date time value.
|
org.kuali.rice.core.api.datetime.DateTimeService |
getDateTimeService() |
void |
getInitialCollapseSections(PurchasingAccountsPayableDocument document)
This method returns the section Name that are to be collapsed while opening the document
|
String |
getItemDescription(Bib bib)
This method is used to get the item description for the given Bib
|
String |
getItemDescription(OlePurchaseOrderItem olePurchaseOrderItem) |
String |
getOperatorInitials()
Returns first, middle and last initials of logged in user
to be appended in the document description
|
String |
getParameter(String name)
This method returns the system parameter value for the given input.
|
String |
getPatronName(String patronId) |
PurchaseOrderType |
getPurchaseOrderType(BigDecimal purchaseOrderTypeId)
This method is used to get the Purchase Order Type object based on the given purchase order type id
|
Integer |
getRequestorTypeId(String requestorType)
This method is used to get the requestor type id for the given requestor type
|
void |
setBibMarcRecord(BibMarcRecord bibMarcRecord,
BibInfoBean bibInfoBean)
This method is used to set the BibMarcRecord which in turn used for creation of Bib record into docstore.
|
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService) |
void |
setClaimDateForPO(OlePurchaseOrderItem olePurchaseOrderItem,
VendorDetail vendorDetail)
This method is used to set the claimdate for Purchase Order
|
void |
setClaimDateForReq(OleRequisitionItem oleRequisitionItem,
VendorDetail vendorDetail)
This method is used to set the claimdate for Requisition
|
String |
setDocumentDescription(String description,
Map descMap)
This method is used to set the Document Description from system parameters.
|
void |
setInvoiceDocumentsForPO(PurApItem purApItem)
This method is to retrieve the Invoice Documents related to PO
|
void |
setInvoiceDocumentsForRequisition(PurApItem purApItem)
This method is to retrieve the Invoice Documents related to Requisition
|
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService) |
protected static org.apache.log4j.Logger LOG
protected org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService
public OlePurapServiceImpl()
public org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
public org.kuali.rice.core.api.datetime.DateTimeService getDateTimeService()
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
public BigDecimal calculateDiscount(OleRequisitionItem oleRequisition)
calculateDiscount
in interface OlePurapService
public BigDecimal calculateDiscount(OlePurchaseOrderItem olePurchaseOrder)
calculateDiscount
in interface OlePurapService
public OleRequisitionItem calculateForeignCurrency(OleRequisitionItem oleRequisition)
calculateForeignCurrency
in interface OlePurapService
public OlePurchaseOrderItem calculateForeignCurrency(OlePurchaseOrderItem olePurchaseOrder)
calculateForeignCurrency
in interface OlePurapService
public BigDecimal calculateDiscount(OlePaymentRequestItem olePaymentRequestOrder)
calculateDiscount
in interface OlePurapService
public BigDecimal calculateDiscount(OleInvoiceItem oleInvoiceOrder)
calculateDiscount
in interface OlePurapService
public OlePaymentRequestItem calculateForeignCurrency(OlePaymentRequestItem item)
calculateForeignCurrency
in interface OlePurapService
public OleInvoiceItem calculateForeignCurrency(OleInvoiceItem item)
calculateForeignCurrency
in interface OlePurapService
public String getOperatorInitials()
getOperatorInitials
in interface OlePurapService
public OleCreditMemoItem calculateForeignCurrency(OleCreditMemoItem oleCreditMemoItem)
calculateForeignCurrency
in interface OlePurapService
public void getInitialCollapseSections(PurchasingAccountsPayableDocument document)
getInitialCollapseSections
in interface OlePurapService
document
- public String getPatronName(String patronId)
getPatronName
in interface OlePurapService
public void setBibMarcRecord(BibMarcRecord bibMarcRecord, BibInfoBean bibInfoBean)
setBibMarcRecord
in interface OlePurapService
bibMarcRecord
- bibInfoBean
- public void setInvoiceDocumentsForRequisition(PurApItem purApItem)
setInvoiceDocumentsForRequisition
in interface OlePurapService
purApItem
- public void setInvoiceDocumentsForPO(PurApItem purApItem)
setInvoiceDocumentsForPO
in interface OlePurapService
purApItem
- public Integer getRequestorTypeId(String requestorType)
getRequestorTypeId
in interface OlePurapService
requestorType
- public void setClaimDateForReq(OleRequisitionItem oleRequisitionItem, VendorDetail vendorDetail)
setClaimDateForReq
in interface OlePurapService
oleRequisitionItem
- public void setClaimDateForPO(OlePurchaseOrderItem olePurchaseOrderItem, VendorDetail vendorDetail)
setClaimDateForPO
in interface OlePurapService
olePurchaseOrderItem
- public String getItemDescription(Bib bib)
getItemDescription
in interface OlePurapService
bib
- public String getItemDescription(OlePurchaseOrderItem olePurchaseOrderItem)
getItemDescription
in interface OlePurapService
public PurchaseOrderType getPurchaseOrderType(BigDecimal purchaseOrderTypeId)
getPurchaseOrderType
in interface OlePurapService
purchaseOrderTypeId
- public String getParameter(String name)
getParameter
in interface OlePurapService
name
- public String getCurrentDateTime()
getCurrentDateTime
in interface OlePurapService
public String setDocumentDescription(String description, Map descMap)
setDocumentDescription
in interface OlePurapService
description
- descMap
- Copyright © 2004–2015 The Kuali Foundation. All rights reserved.