public class OLEAddTitlesToInvoiceService extends Object
Constructor and Description |
---|
OLEAddTitlesToInvoiceService() |
public OLEAddTitlesToInvoiceService()
public static OlePurapService getOlePurapService()
public List<String> getReceivingDocumentsList()
public OleInvoiceDocument getOleInvoiceDocument()
public void setOleInvoiceDocument(OleInvoiceDocument oleInvoiceDocument)
public boolean isAllowedPoForReceiving()
public void setAllowedPoForReceiving(boolean allowedPoForReceiving)
public static OleInvoiceService getInvoiceService()
public List<OlePurchaseOrderItem> populateOlePurchaseOrderItem()
public List<OlePurchaseOrderItem> populateOlePurchaseOrderItemByPoItemList(List<String> purchaseOrderItemIds, List<String> invoicePrice)
public boolean validateSelectOlePurchaseOrderItem(List<OlePurchaseOrderItem> olePurchaseOrderItems)
public boolean validateOlePurchaseOrderItemByPoId(List<OlePurchaseOrderItem> olePurchaseOrderItems)
public boolean validateSelectedPurchaseOrderByVendor(List<OlePurchaseOrderItem> olePurchaseOrderItems, String vendorId)
public boolean validateInvoiceDocumentVendor(String invoiceDocumentNumber, List<OlePurchaseOrderItem> purchaseOrderItems)
public boolean validateSelectedPurchaseOrderByVendor(List<OlePurchaseOrderItem> purchaseOrderItems)
public boolean isSelectedAtleatOneItem(List<OlePurchaseOrderItem> purchaseOrderItems)
public List<OlePurchaseOrderItem> getSelectedItems(List<OlePurchaseOrderItem> purchaseOrderItems)
public boolean createNewInvoiceDocument(List<OlePurchaseOrderDocument> olePurchaseOrderDocuments, List<OlePurchaseOrderItem> olePurchaseOrderItems, String paymentMethodId, Date invoiceDate, String invoiceNumber, String vendorInvoiceAmt, String principalId) throws Exception
Exception
public List<OlePurchaseOrderDocument> populatePurchaseOrderDocuments(List<OlePurchaseOrderItem> purchaseOrderItems)
public boolean addOlePurchaseOrderItemsToInvoiceDocument(List<OlePurchaseOrderDocument> olePurchaseOrderDocuments, List<OlePurchaseOrderItem> olePurchaseOrderItems, String documentNumber, String principalId, String invoiceAmt) throws Exception
Exception
public boolean validateReceivingForProcess(List<OlePurchaseOrderItem> purchaseOrderItems)
public int getReceiptStatusDetails(String receiptStatusCd)
public OleInvoiceService getOleInvoiceServiceImpl()
public boolean validateForReceiving(List<OlePurchaseOrderItem> purchaseOrderItems)
public void populateInvoiceFromPurchaseOrder(PurchaseOrderDocument po, OleInvoiceDocument oleInvoiceDocument, HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList, boolean isNew)
public boolean receivePO(OleLineItemReceivingDocument oleLineItemReceivingDocument, Integer purchaseOrderIdentifier, boolean isCreateRCV, List<OlePurchaseOrderItem> purchaseOrderItems)
public boolean receiveAndPay(List<OlePurchaseOrderItem> purchaseOrderItems, OlePurchaseOrderDocument olePurchaseOrderDocument) throws Exception
Exception
public boolean validateRecords(Integer purAppNum, String docNumber)
public boolean validateStatusOfPurchaseOrderDocument(OlePurchaseOrderDocument olePurchaseOrderDocument)
public boolean validateInvoiceDocumentNumber(String documentNumber)
public boolean validateNumber(String hex)
public boolean isPoAlreadyPaid(List<OlePurchaseOrderItem> olePurchaseOrderItems)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.