public class VendorCreditMemoAction extends AccountsPayableActionBase
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.log4j.Logger |
LOG |
UPDATE_EVENT_ACTIONSMODULE_LOCKED_MESSAGE, MODULE_LOCKED_URL_SUFFIXDOCUMENT_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(org.kuali.rice.kns.web.struts.form.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(org.kuali.rice.kns.web.struts.form.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, getPOItem, getQuestionProperty, getSelectedItemNumber, initiateReopenPurchaseOrder, loadDocument, recalculateItemAccountsAmounts, refresh, reopenPo, requiresCaculate, restoreItemAccountsAmounts, restoreItemAccountsAmounts, route, save, updateItemAccountLinecopy, customAccountRetrieval, deleteSourceLine, downloadBOAttachment, getSelectedLineForAccounts, getSourceAccountingLine, hideAllAccounts, insertAccountingLine, insertAccountingLine, insertBONote, insertSourceLine, processAccountingLineOverrides, processCustomInsertAccountingLine, refreshAccountSummary, showAllAccounts, updateBaseline, uploadAccountingLinesapprove, 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, 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, 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, setServletprotected static org.apache.log4j.Logger LOG
public VendorCreditMemoAction()
protected void createDocument(org.kuali.rice.kns.web.struts.form.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 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 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
mapping - An ActionMappingform - An ActionFormrequest - The HttpServletRequestresponse - The HttpServletResponseExceptionprotected 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 CreditMemoDocumentExceptionCreditMemoServiceprotected void customCalculate(PurchasingAccountsPayableDocument apDoc)
customCalculate in class PurchasingAccountsPayableActionBaseapDoc - 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 HttpServletResponseExceptionpublic 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 HttpServletResponseExceptionpublic String getActionName()
AccountsPayableActionBasegetActionName in class AccountsPayableActionBaseAccountsPayableActionBase.getActionName()protected void populateAdHocActionRequestCodes(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase formBase)
populateAdHocActionRequestCodes in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBaseCopyright © 2004–2014 The Kuali Foundation. All rights reserved.