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.PurchasingAccountsPayableDocument;
23 import org.kuali.ole.select.businessobject.*;
24 import org.kuali.ole.vnd.businessobject.VendorDetail;
25
26 import java.math.BigDecimal;
27 import java.util.Map;
28
29 public interface OlePurapService {
30
31
32 public BigDecimal calculateDiscount(OleRequisitionItem oleRequisition);
33
34 public BigDecimal calculateDiscount(OlePurchaseOrderItem olePurchaseOrder);
35
36 public OleRequisitionItem calculateForeignCurrency(OleRequisitionItem item);
37
38 public OlePurchaseOrderItem calculateForeignCurrency(OlePurchaseOrderItem item);
39
40 public BigDecimal calculateDiscount(OlePaymentRequestItem olePaymentRequestOrder);
41
42 public OlePaymentRequestItem calculateForeignCurrency(OlePaymentRequestItem item);
43
44 public BigDecimal calculateDiscount(OleInvoiceItem oleInvoiceOrder);
45
46 public OleInvoiceItem calculateForeignCurrency(OleInvoiceItem item);
47
48 public String getOperatorInitials();
49
50 public OleCreditMemoItem calculateForeignCurrency(OleCreditMemoItem item);
51
52 public void getInitialCollapseSections(PurchasingAccountsPayableDocument document);
53
54 public String getPatronName(String patronId);
55
56 public void setBibMarcRecord(BibMarcRecord bibMarcRecord,BibInfoBean bibInfoBean);
57
58 public void setInvoiceDocumentsForRequisition(PurApItem purApItem);
59
60 public void setInvoiceDocumentsForPO(PurApItem purApItem);
61
62 public Integer getRequestorTypeId(String requestorType);
63
64 public void setClaimDateForReq(OleRequisitionItem oleRequisitionItem,VendorDetail vendorDetail);
65
66 public void setClaimDateForPO(OlePurchaseOrderItem olePurchaseOrderItem,VendorDetail vendorDetail);
67
68 public String getItemDescription(Bib bib);
69
70 public PurchaseOrderType getPurchaseOrderType(BigDecimal purchaseOrderTypeId);
71
72 public String getParameter(String name);
73
74 public String getCurrentDateTime();
75
76 public String setDocumentDescription(String description,Map descMap);
77
78 public String getItemDescription(OlePurchaseOrderItem olePurchaseOrderItem);
79
80 }