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 OLEPurchaseOrderBatchService
public List<Map> readCSVAndPreparePOs(File file) throws IOException
IOException
public OlePurchaseOrderDocument createPurchaseOrderAmendmentDocument(Map map, String documentNumber)
createPurchaseOrderAmendmentDocument
in interface OLEPurchaseOrderBatchService
public OlePurchaseOrderDocument updateItem(OlePurchaseOrderDocument purchaseOrderDocument, int itemLineNumber, Map map) throws Exception
Exception
public 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 OLEPurchaseOrderBatchService
public List<String> createFileForPOBA(OLEPurchaseOrderBatchDocument olePurchaseOrderBatchDocument) throws Exception
createFileForPOBA
in interface OLEPurchaseOrderBatchService
Exception
public boolean validatePOFields(Map map)
public void downloadCSV(List<String> poIds)
downloadCSV
in interface OLEPurchaseOrderBatchService
public void createPOBADirectory()
createPOBADirectory
in interface OLEPurchaseOrderBatchService
public 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.