public class PaymentRequestAction extends AccountsPayableActionBase
UPDATE_EVENT_ACTIONSMODULE_LOCKED_MESSAGE, MODULE_LOCKED_URL_SUFFIXDOCUMENT_LOAD_COMMANDS| Constructor and Description |
|---|
PaymentRequestAction() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.struts.action.ActionForward |
addHoldOnPayment(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Puts a payment on hold, prompting for a reason beforehand.
|
org.apache.struts.action.ActionForward |
approve(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Overrides to invoke the updateAccountAmounts so that the account percentage will be
correctly updated before validation for account percent is called.
|
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) |
org.apache.struts.action.ActionForward |
changeUseTaxIndicator(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 |
clearInitFields(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Clears the initial fields on the
PaymentRequestDocument which should be accessible from the given form. |
org.apache.struts.action.ActionForward |
clearTaxInfo(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Calls service to clear tax info.
|
org.apache.struts.action.ActionForward |
continuePREQ(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Executes the continue action on a payment request.
|
protected void |
createDocument(KualiDocumentFormBase kualiDocumentFormBase)
Do initialization for a new payment request.
|
protected void |
customCalculate(PurchasingAccountsPayableDocument apDoc)
Calls a service method to calculate for a payment request document.
|
String |
getActionName()
Returns the current action name.
|
protected boolean |
isEncumberNextFiscalYear(PaymentRequestDocument paymentRequestDocument)
Check if the current PREQ encumber next fiscal year from PO document.
|
protected org.apache.struts.action.ActionForward |
performDuplicatePaymentRequestAndEncumberFiscalYearCheck(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
PaymentRequestDocument paymentRequestDocument)
This method runs two checks based on the user input on PREQ initiate screen: Encumber next fiscal year check and Duplicate
payment request check.
|
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)
Performs refresh of objects after a lookup.
|
org.apache.struts.action.ActionForward |
removeCancelRequestFromPayment(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Removes a request for cancel on a payment request.
|
org.apache.struts.action.ActionForward |
removeHoldFromPayment(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Removes a hold on the payment request.
|
org.apache.struts.action.ActionForward |
requestCancelOnPayment(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This action requests a cancel on a preq, prompting for a reason before hand.
|
protected boolean |
requiresCalculateTax(PaymentRequestForm preqForm)
Checks if tax calculation is required.
|
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) |
org.apache.struts.action.ActionForward |
useAlternateVendor(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 |
useOriginalVendor(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
askCancelQuestion, askQuestionsAndPerformReopenPurchaseOrder, askQuestionWithInput, askQuestionWithInput, calculate, cancelCallbackMethod, cancelPOActionCallbackMethod, clearAllTaxes, execute, getOleSelectDocumentService, getPOItem, getQuestionProperty, getSelectedItemNumber, initiateReopenPurchaseOrder, loadDocument, recalculateItemAccountsAmounts, reopenPo, requiresCaculate, restoreItemAccountsAmounts, restoreItemAccountsAmounts, save, setOleSelectDocumentService, updateItemAccountLinecopy, customAccountRetrieval, deleteSourceLine, downloadBOAttachment, getSelectedLineForAccounts, getSourceAccountingLine, hideAllAccounts, insertAccountingLine, insertAccountingLine, insertBONote, insertSourceLine, processAccountingLineOverrides, processCustomInsertAccountingLine, refreshAccountSummary, showAllAccounts, updateBaseline, uploadAccountingLinesblanketApprove, checkSalesTax, checkSalesTaxRequiredAllLines, checkUploadFile, deepCopyAccountingLinesList, deleteAccountingLine, deleteTargetLine, getObjectTypeCodeFromLine, getTargetAccountingLine, handleSalesTaxRequired, handleSalesTaxRequiredAllLines, hasSalesTaxBeenEntered, hideDetails, insertAccountingLine, insertTargetLine, isSalesTaxRequired, isValidSalesTaxEntered, performBalanceInquiryForAccountingLine, performBalanceInquiryForSourceLine, performBalanceInquiryForTargetLine, performLookup, populateSalesTax, processAccountingLineOverrides, processAccountingLineOverrides, processAccountingLineOverrides, processAccountingLines, refreshSalesTaxInfo, removeSalesTax, showDetails, toggleTab, uploadSourceLines, uploadTargetLinescorrect, isDocumentLockedpopulateAuthorizationFieldsacknowledge, attemptLockRelease, buildAuthorizationException, cancelBOAttachment, canSave, checkAndWarnAboutSensitiveData, checkAuthorization, close, combineAdHocRecipients, complete, convertSetToMap, delete, deleteAdHocRoutePerson, deleteAdHocRouteWorkgroup, deleteBONote, determineNoteWorkflowNotificationAction, disapprove, docHandler, 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, takeSuperUserActionsaddMethodToCallToUncheckedList, 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, validateLookupInquiryFullParametercancelled, getMethod, getMethodName, getParameter, unspecifiedaddErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServletpublic PaymentRequestAction()
protected void createDocument(KualiDocumentFormBase kualiDocumentFormBase) throws org.kuali.rice.kew.api.exception.WorkflowException
createDocument in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBaseorg.kuali.rice.kew.api.exception.WorkflowExceptionKualiDocumentActionBase.createDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase)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
AccountsPayableActionBaserefresh in class AccountsPayableActionBaseExceptionKualiAction.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 continuePREQ(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 HttpServletResponseExceptionpublic org.apache.struts.action.ActionForward clearInitFields(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
PaymentRequestDocument which should be accessible from the given form.mapping - An ActionMappingform - An ActionForm, which must be a PaymentRequestFormrequest - The HttpServletRequestresponse - The HttpServletResponseExceptionprotected org.apache.struts.action.ActionForward performDuplicatePaymentRequestAndEncumberFiscalYearCheck(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, PaymentRequestDocument paymentRequestDocument) throws Exception
PaymentRequestService to perform the duplicate payment request
check. If one is found, a question is setup and control is forwarded to the question action method. Coming back from the
question prompt the button that was clicked is checked and if 'no' was selected they are forward back to the page still in
init mode.mapping - An ActionMappingform - An ActionFormrequest - The HttpServletRequestresponse - The HttpServletResponsepaymentRequestDocument - The PaymentRequestDocumentExceptionPaymentRequestServiceprotected boolean isEncumberNextFiscalYear(PaymentRequestDocument paymentRequestDocument)
paymentRequestDocument - public org.apache.struts.action.ActionForward addHoldOnPayment(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 HttpServletResponseExceptionpublic org.apache.struts.action.ActionForward removeHoldFromPayment(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 HttpServletResponseExceptionpublic org.apache.struts.action.ActionForward requestCancelOnPayment(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 HttpServletResponseExceptionpublic org.apache.struts.action.ActionForward removeCancelRequestFromPayment(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 HttpServletResponseExceptionprotected void customCalculate(PurchasingAccountsPayableDocument apDoc)
customCalculate in class PurchasingAccountsPayableActionBaseapDoc - The AccountsPayableDocumentpublic String getActionName()
AccountsPayableActionBasegetActionName in class AccountsPayableActionBaseAccountsPayableActionBase.getActionName()public org.apache.struts.action.ActionForward useAlternateVendor(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exceptionpublic org.apache.struts.action.ActionForward useOriginalVendor(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exceptionpublic 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
route in class AccountsPayableActionBaseExceptionKualiDocumentActionBase.route(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)public org.apache.struts.action.ActionForward approve(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
approve in class KualiAccountingDocumentActionBaseExceptionKualiDocumentActionBase.approve(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)protected boolean requiresCalculateTax(PaymentRequestForm preqForm)
apForm - A Form, which must inherit from AccountsPayableFormBasepublic org.apache.struts.action.ActionForward changeUseTaxIndicator(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exceptionpublic org.apache.struts.action.ActionForward clearTaxInfo(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exceptionpublic 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 AccountsPayableActionBaseExceptionKualiDocumentActionBase.cancel(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)Copyright © 2004–2015 The Kuali Foundation. All rights reserved.