@Transactional public class OlePurchaseOrderServiceImpl extends PurchaseOrderServiceImpl implements OlePurchaseOrderService
b2bPurchaseOrderService, businessObjectService, dataDictionaryService, dateTimeService, documentNumber, documentService, fileNameList, fromEmailAddress, kualiRuleService, mailService, maintenanceDocumentService, noteService, olePurapService, parameterService, personService, purapService, purchaseOrderDao, requisitionService, toEmailAddress, TRANSMISSION_IS_NOT_RETRANSMIT, TRANSMISSION_IS_RETRANSMIT, vendorService, workflowDocumentService
Constructor and Description |
---|
OlePurchaseOrderServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
attemptSetupOfInitialOpenOfDocument(PurchaseOrderDocument po)
If the status of the purchase order is not OPEN and the initial open date is null, sets the initial open date to current date
and update the status to OPEN, then save the purchase order.
|
void |
completePurchaseOrderAmendment(PurchaseOrderDocument poa) |
void |
createAutomaticPurchaseOrderDocument(RequisitionDocument reqDocument)
Creates an automatic purchase order document using the given requisition document
|
String |
createPurchaseOrderAmendmentDocument(OlePurchaseOrderDocument olePurchaseOrderDocument,
String docNumber) |
PurchaseOrderDocument |
createPurchaseOrderDocument(RequisitionDocument reqDocument,
String newSessionUserId,
Integer contractManagerCode)
Creates a PurchaseOrderDocument from given RequisitionDocument.
|
boolean |
getIsATypeOfCORRDoc() |
boolean |
getIsATypeOfRCVGDoc() |
OleSelectDocumentService |
getOleSelectDocumentService() |
void |
performPurchaseOrderFirstTransmitViaPrinting(String documentNumber,
ByteArrayOutputStream baosPDF)
Creates and displays the pdf document for the purchase order, sets the transmit dates, calls the
takeAllActionsForGivenCriteria method in PurApWorkflowIntegrationService to perform all the workflow related steps that are
necessary as part of the document initial print transmission and then performs the setup of initial of open document of the
purchase order.
|
void |
purchaseOrderFirstTransmitViaPrinting(String documentNumber,
ByteArrayOutputStream baosPDF) |
void |
setConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService kualiConfigurationService) |
void |
setOleSelectDocumentService(OleSelectDocumentService oleSelectDocumentService) |
void |
setPrintService(PrintService printService) |
void |
setPurapWorkflowIntegrationService(PurApWorkflowIntegrationService purapWorkflowIntegrationService) |
void |
setStatusCompletePurchaseOrderAmendment(PurchaseOrderDocument poa) |
addNoteForCommodityCodeToVendor, addStringErrorMessagesToMessageMap, autoCloseFullyDisencumberedOrders, autoCloseRecurringOrders, categorizeItemsForSplit, checkForLockingDocument, checkForPrintTransmission, completeB2BPurchaseOrder, completePurchaseOrder, createAndRoutePotentialChangeDocument, createAndRoutePotentialChangeDocument, createAndSavePotentialChangeDocument, createAndSavePurchaseOrderSplitDocument, createCamsItem, createCapitalAssetSystem, createFyiFiscalOfficerListForAmendGlEntries, createFyiFiscalOfficerListForNewUnorderedItems, createNoteForAutoCloseOrders, createPurchaseOrderDocumentFromSourceDocument, filterDocumentsForAppDocStatusOpen, filterPurchaseOrderDocumentByAppDocStatus, filterPurchaseOrderDocumentNumbersByAppDocStatus, findDocument, fixDbNoteFields, fixItemReferences, generatePurchaseOrderFromRequisition, getClassesToExcludeFromCopy, getCurrentPurchaseOrder, getCurrentRouteNodeName, getEmailAddress, getExcludedVendorChoiceCodes, getInternalPurchasingDollarLimit, getOldestPurchaseOrder, getOlePurapService, getPendingPurchaseOrderFaxes, getPersonService, getPurchaseOrderAppDocStatus, getPurchaseOrderByDocumentNumber, getPurchaseOrderNotes, getPurchaseOrderParameters, getPurchaseOrderQuoteStatusCodes, getTodayMinusThreeMonths, getVendorFormatType, getVendorTransmissionType, hasNewUnorderedItem, initiateTransmission, isCommodityCodeRequiredOnPurchaseOrder, isNewItemForAmendment, isNewUnorderedItem, isPurchaseOrderOpenForProcessing, isPurchaseOrderOpenForProcessing, performPrintPurchaseOrderPDFOnly, performPurchaseOrderPreviewPrinting, populateAddressForPOVendorQuote, populateQuoteWithVendor, printPurchaseOrderQuotePDF, printPurchaseOrderQuoteRequestsListPDF, processACMReq, processFTPTransmission, resetAutoClosePurchaseOrderDateParameter, resetAutoCloseRecurringOrderDateParameter, retransmitB2BPurchaseOrder, retransmitPurchaseOrderPDF, retrieveCapitalAssetItemsForIndividual, retrieveCapitalAssetSystemForOneSystem, retrieveCapitalAssetSystemsForMultipleSystem, saveDocumentNoValidationUsingClearMessageMap, saveDocumentStandardSave, savePurchaseOrderData, savePurchaseOrderEdi, savePurchaseOrderPdf, sendEmail, sendFyiForGLEntries, sendFyiForNewUnorderedItems, sendMessage, setB2bPurchaseOrderService, setBusinessObjectService, setCurrentAndPendingIndicatorsForApprovedPODocuments, setCurrentAndPendingIndicatorsForCancelledChangePODocuments, setCurrentAndPendingIndicatorsForCancelledRemoveHoldPODocuments, setCurrentAndPendingIndicatorsForCancelledReopenPODocuments, setCurrentAndPendingIndicatorsForDisapprovedChangePODocuments, setCurrentAndPendingIndicatorsForDisapprovedRemoveHoldPODocuments, setCurrentAndPendingIndicatorsForDisapprovedReopenPODocuments, setDataDictionaryService, setDateTimeService, setDocumentService, setKualiRuleService, setMailService, setMaintenanceDocumentService, setMessageAddressesAndSubject, setNoteService, setParameterService, setPurapService, setPurchaseOrderDao, setReceivingRequiredIndicatorForPurchaseOrder, setRequisitionService, setupDocumentForPendingFirstTransmission, setVendorService, setWorkflowDocumentService, updateCapitalAssetRelatedCollections, updateCurrentDocumentForNoPendingAction, updateDefaultVendorAddress, updateNotes, updateVendorCommodityCode, updateVendorWithMissingCommodityCodesIfNecessary
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
autoCloseFullyDisencumberedOrders, autoCloseRecurringOrders, categorizeItemsForSplit, completePurchaseOrder, createAndRoutePotentialChangeDocument, createAndRoutePotentialChangeDocument, createAndSavePotentialChangeDocument, createAndSavePurchaseOrderSplitDocument, getCurrentPurchaseOrder, getInternalPurchasingDollarLimit, getOldestPurchaseOrder, getPendingPurchaseOrderFaxes, getPurchaseOrderAppDocStatus, getPurchaseOrderByDocumentNumber, getPurchaseOrderNotes, getPurchaseOrderQuoteStatusCodes, hasNewUnorderedItem, initiateTransmission, isCommodityCodeRequiredOnPurchaseOrder, isNewItemForAmendment, isNewUnorderedItem, isPurchaseOrderOpenForProcessing, isPurchaseOrderOpenForProcessing, performPrintPurchaseOrderPDFOnly, performPurchaseOrderPreviewPrinting, populateQuoteWithVendor, printPurchaseOrderQuotePDF, printPurchaseOrderQuoteRequestsListPDF, processACMReq, processFTPTransmission, retransmitB2BPurchaseOrder, retransmitPurchaseOrderPDF, retrieveCapitalAssetItemsForIndividual, retrieveCapitalAssetSystemForOneSystem, retrieveCapitalAssetSystemsForMultipleSystem, sendFyiForGLEntries, setCurrentAndPendingIndicatorsForApprovedPODocuments, setCurrentAndPendingIndicatorsForCancelledChangePODocuments, setCurrentAndPendingIndicatorsForCancelledRemoveHoldPODocuments, setCurrentAndPendingIndicatorsForCancelledReopenPODocuments, setCurrentAndPendingIndicatorsForDisapprovedChangePODocuments, setCurrentAndPendingIndicatorsForDisapprovedRemoveHoldPODocuments, setCurrentAndPendingIndicatorsForDisapprovedReopenPODocuments, setReceivingRequiredIndicatorForPurchaseOrder, updateVendorCommodityCode, updateVendorWithMissingCommodityCodesIfNecessary
createCamsItem, createCapitalAssetSystem
public OlePurchaseOrderServiceImpl()
public void setPrintService(PrintService printService)
setPrintService
in class PurchaseOrderServiceImpl
public void setConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService kualiConfigurationService)
setConfigurationService
in class PurchaseOrderServiceImpl
public void setPurapWorkflowIntegrationService(PurApWorkflowIntegrationService purapWorkflowIntegrationService)
setPurapWorkflowIntegrationService
in class PurchaseOrderServiceImpl
public void createAutomaticPurchaseOrderDocument(RequisitionDocument reqDocument)
PurchaseOrderService
createAutomaticPurchaseOrderDocument
in interface PurchaseOrderService
createAutomaticPurchaseOrderDocument
in class PurchaseOrderServiceImpl
reqDocument
- The requisition document that this method will use to create the Automated Purchase Order (APO).PurchaseOrderService.createAutomaticPurchaseOrderDocument(org.kuali.ole.module.purap.document.RequisitionDocument)
public void performPurchaseOrderFirstTransmitViaPrinting(String documentNumber, ByteArrayOutputStream baosPDF)
PurchaseOrderService
performPurchaseOrderFirstTransmitViaPrinting
in interface PurchaseOrderService
performPurchaseOrderFirstTransmitViaPrinting
in class PurchaseOrderServiceImpl
documentNumber
- The document number of the purchase order document that we want to perform the first transmit.baosPDF
- The ByteArrayOutputStream object that was passed in from the struts action so that we could display the pdf on
the browser.PurchaseOrderService.performPurchaseOrderFirstTransmitViaPrinting(java.lang.String,
java.io.ByteArrayOutputStream)
public void purchaseOrderFirstTransmitViaPrinting(String documentNumber, ByteArrayOutputStream baosPDF)
purchaseOrderFirstTransmitViaPrinting
in interface OlePurchaseOrderService
protected void attemptSetupOfInitialOpenOfDocument(PurchaseOrderDocument po)
attemptSetupOfInitialOpenOfDocument
in class PurchaseOrderServiceImpl
po
- The purchase order document whose initial open date and status we want to update.public void setStatusCompletePurchaseOrderAmendment(PurchaseOrderDocument poa)
setStatusCompletePurchaseOrderAmendment
in interface OlePurchaseOrderService
public void completePurchaseOrderAmendment(PurchaseOrderDocument poa)
completePurchaseOrderAmendment
in interface PurchaseOrderService
completePurchaseOrderAmendment
in class PurchaseOrderServiceImpl
public PurchaseOrderDocument createPurchaseOrderDocument(RequisitionDocument reqDocument, String newSessionUserId, Integer contractManagerCode)
PurchaseOrderService
createPurchaseOrderDocument
in interface PurchaseOrderService
createPurchaseOrderDocument
in class PurchaseOrderServiceImpl
reqDocument
- The requisition document that this method will use to create the purchase order.newSessionUserId
- The session user id that we'll use to invoke the performLogicWithFakedUserSession method of
PurapService.contractManagerCode
- The contract manager code that we'll need to set on the purchase order.PurchaseOrderService.createPurchaseOrderDocument(org.kuali.ole.module.purap.document.RequisitionDocument,
java.lang.String, java.lang.Integer)
public String createPurchaseOrderAmendmentDocument(OlePurchaseOrderDocument olePurchaseOrderDocument, String docNumber)
createPurchaseOrderAmendmentDocument
in interface OlePurchaseOrderService
public boolean getIsATypeOfRCVGDoc()
public boolean getIsATypeOfCORRDoc()
public OleSelectDocumentService getOleSelectDocumentService()
getOleSelectDocumentService
in class PurchaseOrderServiceImpl
public void setOleSelectDocumentService(OleSelectDocumentService oleSelectDocumentService)
setOleSelectDocumentService
in class PurchaseOrderServiceImpl
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.