public class VendorCreditMemoAction extends AccountsPayableActionBase
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 |
---|
VendorCreditMemoAction() |
Modifier and Type | Method and Description |
---|---|
org.apache.struts.action.ActionForward |
addHoldOnCreditMemo(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Puts a credit memo on hold, prompting for a reason before hand.
|
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 out fields of the init tab.
|
org.apache.struts.action.ActionForward |
continueCreditMemo(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles continue request.
|
protected void |
createDocument(KualiDocumentFormBase kualiDocumentFormBase)
Do initialization for a new credit memo.
|
protected void |
customCalculate(PurchasingAccountsPayableDocument apDoc)
Calls methods to perform credit allowed calculation and total credit memo amount.
|
String |
getActionName()
Returns the current action name.
|
protected org.apache.struts.action.ActionForward |
performDuplicateCreditMemoCheck(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
VendorCreditMemoDocument creditMemoDocument)
Calls
CreditMemoService to perform the duplicate credit memo check. |
protected void |
populateAdHocActionRequestCodes(KualiDocumentFormBase formBase) |
org.apache.struts.action.ActionForward |
removeHoldFromCreditMemo(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 credit memo.
|
askCancelQuestion, askQuestionsAndPerformReopenPurchaseOrder, askQuestionWithInput, askQuestionWithInput, calculate, cancel, cancelCallbackMethod, cancelPOActionCallbackMethod, clearAllTaxes, execute, getOleSelectDocumentService, getPOItem, getQuestionProperty, getSelectedItemNumber, initiateReopenPurchaseOrder, loadDocument, recalculateItemAccountsAmounts, refresh, reopenPo, requiresCaculate, restoreItemAccountsAmounts, restoreItemAccountsAmounts, route, save, setOleSelectDocumentService, updateItemAccountLine
copy, customAccountRetrieval, deleteSourceLine, downloadBOAttachment, getSelectedLineForAccounts, getSourceAccountingLine, hideAllAccounts, insertAccountingLine, insertAccountingLine, insertBONote, insertSourceLine, processAccountingLineOverrides, processCustomInsertAccountingLine, refreshAccountSummary, showAllAccounts, updateBaseline, uploadAccountingLines
approve, blanketApprove, 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, uploadTargetLines
correct, isDocumentLocked
populateAuthorizationFields
acknowledge, 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, 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 VendorCreditMemoAction()
protected void createDocument(KualiDocumentFormBase kualiDocumentFormBase) throws org.kuali.rice.kew.api.exception.WorkflowException
createDocument
in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
org.kuali.rice.kew.api.exception.WorkflowException
KualiDocumentActionBase.createDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase)
public org.apache.struts.action.ActionForward continueCreditMemo(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 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
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponseException
protected org.apache.struts.action.ActionForward performDuplicateCreditMemoCheck(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, VendorCreditMemoDocument creditMemoDocument) throws Exception
CreditMemoService
to perform the duplicate credit memo 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 HttpServletResponsecreditMemoDocument
- The CreditMemoDocumentException
CreditMemoService
protected void customCalculate(PurchasingAccountsPayableDocument apDoc)
customCalculate
in class PurchasingAccountsPayableActionBase
apDoc
- An AccountsPayableDocumentpublic org.apache.struts.action.ActionForward addHoldOnCreditMemo(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 removeHoldFromCreditMemo(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 String getActionName()
AccountsPayableActionBase
getActionName
in class AccountsPayableActionBase
AccountsPayableActionBase.getActionName()
protected void populateAdHocActionRequestCodes(KualiDocumentFormBase formBase)
populateAdHocActionRequestCodes
in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.