public class OLEPurchaseOrderBatchServiceImpl extends Object implements OLEPurchaseOrderBatchService
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.log4j.Logger |
LOG |
Integer |
poNumber |
| Constructor and Description |
|---|
OLEPurchaseOrderBatchServiceImpl() |
protected static final org.apache.log4j.Logger LOG
public OLEPurchaseOrderBatchServiceImpl()
public void readFile(OLEPurchaseOrderBatchDocument olePurchaseOrderBatchDocument, org.kuali.rice.krad.UserSession userSession, File file)
readFile in interface OLEPurchaseOrderBatchServicepublic List<Map> readCSVAndPreparePOs(File file) throws IOException
IOExceptionpublic OlePurchaseOrderDocument createPurchaseOrderAmendmentDocument(Map map, String documentNumber)
createPurchaseOrderAmendmentDocument in interface OLEPurchaseOrderBatchServicepublic OlePurchaseOrderDocument updateItem(OlePurchaseOrderDocument purchaseOrderDocument, int itemLineNumber, Map map) throws Exception
Exceptionpublic OlePurchaseOrderDocument updateAccount(OlePurchaseOrderDocument purchaseOrderDocument, int itemLineNumber, Map map)
public OlePurchaseOrderDocument updateDocument(OlePurchaseOrderDocument purchaseOrderDocument, Map map)
public OlePurchaseOrderDocument updateVendor(OlePurchaseOrderDocument purchaseOrderDocument, Map map)
public void writeFile()
writeFile in interface OLEPurchaseOrderBatchServicepublic List<String> createFileForPOBA(OLEPurchaseOrderBatchDocument olePurchaseOrderBatchDocument) throws Exception
createFileForPOBA in interface OLEPurchaseOrderBatchServiceExceptionpublic boolean validatePOFields(Map map)
public void downloadCSV(List<String> poIds)
downloadCSV in interface OLEPurchaseOrderBatchServicepublic void createPOBADirectory()
createPOBADirectory in interface OLEPurchaseOrderBatchServicepublic OlePurchaseOrderService getOlePurchaseOrderService()
public void sendFyiForAccount(PurchaseOrderDocument po)
protected List<org.kuali.rice.krad.bo.AdHocRoutePerson> createFyiFiscalOfficerListForAmendGlEntries(PurchaseOrderDocument po)
public Integer getCategoryId(String name)
public Integer getFormatId(String name)
public Integer getItemPriceSourceId(String name)
public Integer getRequestSourceId(String name)
public void setFileWriter(FileWriter fileWriter)
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.