1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.module.purap.document.service;
17
18 import org.kuali.ole.docstore.common.document.Bib;
19 import org.kuali.ole.docstore.common.document.content.bib.marc.BibMarcRecord;
20 import org.kuali.ole.module.purap.businessobject.PurApItem;
21 import org.kuali.ole.module.purap.businessobject.PurchaseOrderType;
22 import org.kuali.ole.module.purap.document.PurchaseOrderDocument;
23 import org.kuali.ole.module.purap.document.PurchasingAccountsPayableDocument;
24 import org.kuali.ole.select.businessobject.*;
25 import org.kuali.ole.vnd.businessobject.VendorDetail;
26
27 import java.math.BigDecimal;
28 import java.util.Map;
29
30 public interface OlePurapService {
31
32
33 public BigDecimal calculateDiscount(OleRequisitionItem oleRequisition);
34
35 public BigDecimal calculateDiscount(OlePurchaseOrderItem olePurchaseOrder);
36
37 public OleRequisitionItem calculateForeignCurrency(OleRequisitionItem item);
38
39 public OlePurchaseOrderItem calculateForeignCurrency(OlePurchaseOrderItem item);
40
41 public BigDecimal calculateDiscount(OlePaymentRequestItem olePaymentRequestOrder);
42
43 public OlePaymentRequestItem calculateForeignCurrency(OlePaymentRequestItem item);
44
45 public BigDecimal calculateDiscount(OleInvoiceItem oleInvoiceOrder);
46
47 public OleInvoiceItem calculateForeignCurrency(OleInvoiceItem item);
48
49 public String getOperatorInitials();
50
51 public OleCreditMemoItem calculateForeignCurrency(OleCreditMemoItem item);
52
53 public void getInitialCollapseSections(PurchasingAccountsPayableDocument document);
54
55 public String getPatronName(String patronId);
56
57 public void setBibMarcRecord(BibMarcRecord bibMarcRecord,BibInfoBean bibInfoBean);
58
59 public void setInvoiceDocumentsForRequisition(PurApItem purApItem);
60
61 public void setInvoiceDocumentsForPO(PurApItem purApItem);
62
63 public void setInvoiceDocumentsForPO(PurchaseOrderDocument purchaseOrderDocument,PurApItem purApItem);
64
65 public Integer getRequestorTypeId(String requestorType);
66
67 public void setClaimDateForReq(OleRequisitionItem oleRequisitionItem,VendorDetail vendorDetail);
68
69 public void setClaimDateForPO(OlePurchaseOrderItem olePurchaseOrderItem,VendorDetail vendorDetail);
70
71 public String getItemDescription(Bib bib);
72
73 public PurchaseOrderType getPurchaseOrderType(BigDecimal purchaseOrderTypeId);
74
75 public String getParameter(String name);
76
77 public String getCurrentDateTime();
78
79 public String setDocumentDescription(String description,Map descMap);
80
81 public String getItemDescription(OlePurchaseOrderItem olePurchaseOrderItem);
82
83 }