public class OlePurchaseOrderAction extends PurchaseOrderAction
Modifier and Type | Field and Description |
---|---|
protected static org.apache.log4j.Logger |
LOG |
UPDATE_EVENT_ACTIONS
MODULE_LOCKED_MESSAGE, MODULE_LOCKED_URL_SUFFIX
DOCUMENT_LOAD_COMMANDS
Constructor and Description |
---|
OlePurchaseOrderAction() |
Modifier and Type | Method and Description |
---|---|
org.apache.struts.action.ActionForward |
addCopy(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
addItem(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Add a new item to the document.
|
org.apache.struts.action.ActionForward |
addNote(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Add Note for the selected PurchaseOrderItem
|
org.apache.struts.action.ActionForward |
addPaymentHistory(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Add a Payment History for selected Item.
|
org.apache.struts.action.ActionForward |
amendPo(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Is invoked when the user pressed on the Amend button on a Purchase Order page to amend the PO.
|
protected org.apache.struts.action.ActionForward |
askQuestionsAndPerformDocumentAction(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String questionType,
String confirmType,
String documentType,
String notePrefix,
String messageType,
String operation)
For use with a specific set of methods of this class that create new purchase order-derived document types in response to
user actions, including
closePo , reopenPo , paymentHoldPo , removeHoldPo ,
splitPo , amendPo , and voidPo . |
org.apache.struts.action.ActionForward |
blanketApprove(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
calculate(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Perform calculation on item line.
|
org.apache.struts.action.ActionForward |
cancel(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
boolean |
checkForCopiesAndLocation(OlePurchaseOrderItem item) |
boolean |
checkForItemCopiesGreaterThanQuantity(OlePurchaseOrderItem item) |
boolean |
checkForTotalCopiesGreaterThanQuantity(OlePurchaseOrderItem item) |
org.apache.struts.action.ActionForward |
createReceivingLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method is overridden to change receivingitem url with respect to OLE
|
org.apache.struts.action.ActionForward |
deleteCopy(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Remove a Copy for the selected Item .
|
org.apache.struts.action.ActionForward |
deleteNote(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
deletes the selected Note for the selected POItem
|
org.apache.struts.action.ActionForward |
deletePaymentHistory(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Remove a Payment History for selected Item
|
org.apache.struts.action.ActionForward |
firstTransmitPrintPo(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Is executed when the user clicks on the "print" button on a Purchase Order Print Document page.
|
static org.kuali.rice.core.api.config.property.ConfigurationService |
getConfigurationService() |
protected String |
getUrlForPrintPO(String basePath,
String docId,
String methodToCall)
Creates a URL to be used in printing the purchase order.
|
org.apache.struts.action.ActionForward |
insertSourceLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This action executes an insert of a SourceAccountingLine into a document only after validating the accounting line and
checking any appropriate business rules.
|
org.apache.struts.action.ActionForward |
performPRLookup(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Takes care of storing the action form in the User session and forwarding to the prlookup action.
|
org.apache.struts.action.ActionForward |
printPo(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
refresh(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Needed to override this to keep from losing Sales Tax information
|
org.apache.struts.action.ActionForward |
refreshVendor(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
route(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Overrides the superclass method so that it will also do proration for trade in and full order discount when the user clicks
on the submit button.
|
org.apache.struts.action.ActionForward |
selectVendor(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
OleRequisitionCopies |
setCopyValues(OlePurchaseOrderItem item)
This method takes purchaseorderItem as parameter, it will calculate and set partEnumerations and startingCopyNumber for each
lineItem
|
void |
setDocstoreDataForCopies(OlePurchaseOrderAmendmentDocument purDoc) |
void |
setEnumerationToCopies(List<OlePurchaseOrderItem> purItem) |
addAsset, addSensitiveData, addStipulation, addVendor, askSaveQuestions, assignSensitiveData, cancelPurchaseOrderSplit, cancelQuote, cancelSensitiveData, checkForPOWarnings, closePo, completeQuote, continuePurchaseOrderSplit, createSelectedItemIndexes, deleteSensitiveData, deleteStipulation, deleteVendor, deselectAllForRetransmit, docHandler, executeManualStatusChange, inactivateItem, initiateQuote, loadDocument, paymentHoldPo, printingPreviewPo, printingRetransmitPo, printingRetransmitPoOnly, printPoQuote, printPoQuoteList, printPoQuoteListOnly, printPurchaseOrderPDFOnly, removeAlternateVendor, removeHoldPo, reopenPo, resendPoCxml, retransmitPo, returnToPreviousPage, save, selectAllForRetransmit, setItemSelectedForRetransmitIndicatorFromPOInForm, splitPo, submitSensitiveData, transmitPurchaseOrderQuote, voidPo
addCapitalAssetLocationByDocument, addCapitalAssetLocationByItem, addItemCapitalAssetByDocument, addItemCapitalAssetByItem, approve, cancelAccountDistribution, changeSystem, clearAllTaxes, clearItemsCommodityCodes, clearNotCurrentYearByDocument, clearNotCurrentYearByItem, customAccountRetrieval, deleteCapitalAssetLocationByDocument, deleteCapitalAssetLocationByItem, deleteItem, deleteItemCapitalAssetByDocument, deleteItemCapitalAssetByItem, deleteSourceLine, doDistribution, downItem, findBuildingCodeFromCapitalAssetBuildingLookup, getCaptialAssetItemNumberFromParameter, getCaptialAssetLocationNumberFromParameter, importItems, processCustomInsertAccountingLine, removeAccounts, requiresCalculate, saveDocumentNoValidationUsingClearErrorMap, selectNotCurrentYearByDocument, selectNotCurrentYearByItem, selectSystem, selectSystemType, setManufacturerFromVendorByDocument, setManufacturerFromVendorByItem, setupAccountDistribution, setupCAMSSystem, updateBOReferenceforNewItems, updateCamsView, upItem, useOffCampusAssetLocationBuilding, useOffCampusAssetLocationBuildingByDocument, useOffCampusAssetLocationBuildingByItem, useOtherDeliveryBuilding, validateDistributeAccounts
copy, customCalculate, downloadBOAttachment, getSelectedLineForAccounts, getSourceAccountingLine, hideAllAccounts, insertAccountingLine, insertAccountingLine, insertBONote, processAccountingLineOverrides, refreshAccountSummary, showAllAccounts, updateBaseline, uploadAccountingLines
checkSalesTax, checkSalesTaxRequiredAllLines, checkUploadFile, deepCopyAccountingLinesList, deleteAccountingLine, deleteTargetLine, execute, getObjectTypeCodeFromLine, getTargetAccountingLine, handleSalesTaxRequired, handleSalesTaxRequiredAllLines, hasSalesTaxBeenEntered, hideDetails, insertAccountingLine, insertTargetLine, isSalesTaxRequired, isValidSalesTaxEntered, performBalanceInquiryForAccountingLine, performBalanceInquiryForSourceLine, performBalanceInquiryForTargetLine, performLookup, populateSalesTax, processAccountingLineOverrides, processAccountingLineOverrides, processAccountingLineOverrides, processAccountingLines, refreshSalesTaxInfo, removeSalesTax, showDetails, toggleTab, uploadSourceLines, uploadTargetLines
correct, isDocumentLocked
populateAuthorizationFields
acknowledge, attemptLockRelease, buildAuthorizationException, cancelBOAttachment, canSave, checkAndWarnAboutSensitiveData, checkAuthorization, close, combineAdHocRecipients, complete, convertSetToMap, createDocument, delete, deleteAdHocRoutePerson, deleteAdHocRouteWorkgroup, deleteBONote, determineNoteWorkflowNotificationAction, disapprove, doProcessingAfterPost, exitingDocument, fyi, generatePessimisticLockMessage, getAttachmentService, getBusinessObjectAuthorizationService, getBusinessObjectMetaDataService, getBusinessObjectService, getDataDictionaryService, getDocumentHelperService, getDocumentService, getEntityManagerFactory, getGroupService, getKualiConfigurationService, getKualiRuleService, getNoteService, getParameterService, getPessimisticLockService, getQuestion, hasPendingAdhocForCompletion, hideAllTabs, insertAdHocRoutePerson, insertAdHocRouteWorkgroup, isFormRepresentingLockObject, performRouteReport, populateAdHocActionRequestCodes, promptBeforeValidation, promptBeforeValidation, recall, refreshAdHocRoutingWorkgroupLookups, releaseLocks, reload, returnToSender, selectedAttachmentIndex, sendAdHocRequests, sendNoteWorkflowNotification, setupDocumentExit, setupPessimisticLockMessages, showAllTabs, streamToResponse, superUserApprove, superUserDisapprove, supervisorFunctions, takeSuperUserActions
addMethodToCallToUncheckedList, defaultDispatch, dispatchMethod, findMethodToCall, getApplicationBaseUrl, getEncryptionService, getHeaderTabDispatch, getHeaderTabNavigateTo, getImageContext, getKualiModuleService, getLineToDelete, getLineToEdit, getReturnLocation, getRoleQualification, getSelectedLine, getTabToToggle, headerTab, isModuleLocked, performInquiry, performQuestionWithInput, performQuestionWithInputAgainBecauseOfErrors, performQuestionWithoutInput, performWorkgroupLookup, postTextAreaToParent, retrieveLookupParameterValue, updateTextArea, validateLookupInquiryFullParameter
cancelled, getMethod, getMethodName, getParameter, unspecified
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
protected static org.apache.log4j.Logger LOG
public OlePurchaseOrderAction()
public org.apache.struts.action.ActionForward performPRLookup(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- form
- request
- response
- Exception
public org.apache.struts.action.ActionForward calculate(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
PurchasingAccountsPayableActionBase
calculate
in class PurchasingActionBase
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
PurchasingActionBase.calculate(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
public org.apache.struts.action.ActionForward addItem(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
PurchasingActionBase
addItem
in class PurchasingActionBase
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
PurchasingActionBase.addItem(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
public org.apache.struts.action.ActionForward addNote(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- form
- request
- response
- Exception
public org.apache.struts.action.ActionForward deleteNote(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- form
- request
- response
- Exception
public org.apache.struts.action.ActionForward createReceivingLine(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
protected String getUrlForPrintPO(String basePath, String docId, String methodToCall)
getUrlForPrintPO
in class PurchaseOrderAction
basePath
- String: The base path of the current URLdocId
- String: The document ID of the document to be printedmethodToCall
- String: The name of the method that will be invoked to do this particular printpublic org.apache.struts.action.ActionForward route(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
PurchasingActionBase
public void setDocstoreDataForCopies(OlePurchaseOrderAmendmentDocument purDoc) throws Exception
Exception
public void setEnumerationToCopies(List<OlePurchaseOrderItem> purItem)
protected org.apache.struts.action.ActionForward askQuestionsAndPerformDocumentAction(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String questionType, String confirmType, String documentType, String notePrefix, String messageType, String operation) throws Exception
closePo
, reopenPo
, paymentHoldPo
, removeHoldPo
,
splitPo
, amendPo
, and voidPo
. It employs the question framework to ask
the user for a response before creating and routing the new document. The response should consist of a note detailing a
reason, and either yes or no. This method can be better understood if it is noted that it will be gone through twice (via the
question framework); when each question is originally asked, and again when the yes/no response is processed, for
confirmation.askQuestionsAndPerformDocumentAction
in class PurchaseOrderAction
mapping
- These are boiler-plate.form
- "request
- "response
- "questionType
- A string identifying the type of question being asked.confirmType
- A string identifying which type of question is being confirmed.documentType
- A string, the type of document to createnotePrefix
- A string to appear before the note in the BO Notes tabmessageType
- A string to appear on the PO once the question framework is done, describing the action takenoperation
- A string, the verb to insert in the original question describing the action to be takenException
public org.apache.struts.action.ActionForward refresh(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
KualiAccountingDocumentActionBase
refresh
in class PurchaseOrderAction
Exception
KualiAction.refresh(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
public org.apache.struts.action.ActionForward amendPo(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
PurchaseOrderAction
PurchaseOrderAmendmentDocument
has been routed.amendPo
in class PurchaseOrderAction
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
PurchaseOrderAmendmentDocument
public org.apache.struts.action.ActionForward firstTransmitPrintPo(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
performPurchaseOrderFirstTransmitViaPrinting
method is invoked. On a javascript enabled browser, it will
display both the PO tabbed page containing the updated PO document info and the pdf on the next window/tab of the browser.firstTransmitPrintPo
in class PurchaseOrderAction
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
public org.apache.struts.action.ActionForward printPo(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception
public org.apache.struts.action.ActionForward insertSourceLine(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
KualiAccountingDocumentActionBase
insertSourceLine
in class PurchasingAccountsPayableActionBase
Exception
KualiAccountingDocumentActionBase.insertSourceLine(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
public org.apache.struts.action.ActionForward addCopy(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception
public boolean checkForCopiesAndLocation(OlePurchaseOrderItem item)
public boolean checkForItemCopiesGreaterThanQuantity(OlePurchaseOrderItem item)
public boolean checkForTotalCopiesGreaterThanQuantity(OlePurchaseOrderItem item)
public OleRequisitionCopies setCopyValues(OlePurchaseOrderItem item)
item
- public org.apache.struts.action.ActionForward deleteCopy(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
public org.apache.struts.action.ActionForward addPaymentHistory(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
public org.apache.struts.action.ActionForward deletePaymentHistory(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- form
- request
- response
- Exception
public static org.kuali.rice.core.api.config.property.ConfigurationService getConfigurationService()
public org.apache.struts.action.ActionForward blanketApprove(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
blanketApprove
in class PurchasingActionBase
Exception
public org.apache.struts.action.ActionForward selectVendor(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception
public org.apache.struts.action.ActionForward refreshVendor(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception
public org.apache.struts.action.ActionForward cancel(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
cancel
in class PurchaseOrderAction
Exception
KualiDocumentActionBase.cancel(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.