public class VoucherAction extends KualiAccountingDocumentActionBase
LOG, UPDATE_EVENT_ACTIONSMODULE_LOCKED_MESSAGE, MODULE_LOCKED_URL_SUFFIXDOCUMENT_LOAD_COMMANDS| Constructor and Description |
|---|
VoucherAction() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.struts.action.ActionForward |
copy(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Overridden to reset the available and selected accounting periods on the form, so that copies are moved forward to the current accounting period correctly
|
org.apache.struts.action.ActionForward |
correct(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Overrides to call super, and then to repopulate the credit/debit amounts b/c the credit/debit code might change during a
voucher error correction.
|
org.apache.struts.action.ActionForward |
deleteSourceLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Overrides parent to remove the associated helper line also, and then it call the parent's implementation.
|
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)
Overrides parent to first populate the new source line with the correct debit or credit value, then it calls the parent's
implementation.
|
protected void |
loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase)
Overrides the parent to make sure that the AV specific accounting line helper forms are properly populated when the document
is first loaded.
|
protected void |
populateAllVoucherAccountingLineHelpers(VoucherForm voucherForm)
This method builds the corresponding list of voucher acounting line helper objects so that a user can differentiate between
credit and debit fields.
|
protected VoucherAccountingLineHelper |
populateNewVoucherAccountingLineHelper(VoucherForm voucherForm)
This populates a new helperLine instance with the one that was just added so that the new instance can be added to the
helperLines list.
|
protected void |
populateSelectedAccountingPeriod(VoucherDocument voucherDocument,
VoucherForm voucherForm)
This method parses the accounting period value from the bo and builds the right string to pass to the form object as the
selected value.
|
protected VoucherAccountingLineHelper |
populateVoucherAccountingLineHelper(VoucherForm voucherForm)
This populates a new helperLine instance with the one that was just added so that the new instance can be added to the
helperLines list.
|
protected org.apache.struts.action.ActionForward |
processRouteOutOfBalanceDocumentConfirmationQuestion(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This helper method determines from the request object instance whether or not the user has been prompted about the journal
being out of balance.
|
protected void |
uploadAccountingLines(boolean isSource,
org.apache.struts.action.ActionForm form)
This method determines whether we are uploading source or target lines, and then calls uploadAccountingLines directly on the
document object.
|
org.apache.struts.action.ActionForward |
uploadSourceLines(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 a call to upload CSV accounting line values as SourceAccountingLines for a given transactional document.
|
approve, blanketApprove, checkSalesTax, checkSalesTaxRequiredAllLines, checkUploadFile, deepCopyAccountingLinesList, deleteAccountingLine, deleteTargetLine, execute, getObjectTypeCodeFromLine, getSourceAccountingLine, getTargetAccountingLine, handleSalesTaxRequired, handleSalesTaxRequiredAllLines, hasSalesTaxBeenEntered, hideDetails, insertAccountingLine, insertTargetLine, isSalesTaxRequired, isValidSalesTaxEntered, performBalanceInquiryForAccountingLine, performBalanceInquiryForSourceLine, performBalanceInquiryForTargetLine, performLookup, populateSalesTax, processAccountingLineOverrides, processAccountingLineOverrides, processAccountingLineOverrides, processAccountingLineOverrides, processAccountingLines, refresh, refreshSalesTaxInfo, removeSalesTax, route, save, showDetails, toggleTab, uploadTargetLinesisDocumentLockedpopulateAuthorizationFieldsacknowledge, attemptLockRelease, buildAuthorizationException, cancel, cancelBOAttachment, canSave, checkAndWarnAboutSensitiveData, checkAuthorization, close, combineAdHocRecipients, complete, convertSetToMap, createDocument, delete, deleteAdHocRoutePerson, deleteAdHocRouteWorkgroup, deleteBONote, determineNoteWorkflowNotificationAction, disapprove, docHandler, doProcessingAfterPost, downloadBOAttachment, exitingDocument, fyi, generatePessimisticLockMessage, getAttachmentService, getBusinessObjectAuthorizationService, getBusinessObjectMetaDataService, getBusinessObjectService, getDataDictionaryService, getDocumentHelperService, getDocumentService, getEntityManagerFactory, getGroupService, getKualiConfigurationService, getKualiRuleService, getNoteService, getParameterService, getPessimisticLockService, getQuestion, hasPendingAdhocForCompletion, hideAllTabs, insertAdHocRoutePerson, insertAdHocRouteWorkgroup, insertBONote, 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 VoucherAction()
public org.apache.struts.action.ActionForward correct(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
correct in class FinancialSystemTransactionalDocumentActionBaseException - KRAD Conversion: Customizing the extra buttons on the formFinancialSystemTransactionalDocumentActionBase.correct(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)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
insertSourceLine in class KualiAccountingDocumentActionBaseExceptionorg.kuali.module.financial.web.struts.action.KualiFinancialDocumentActionBase#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 deleteSourceLine(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
deleteSourceLine in class KualiAccountingDocumentActionBaseExceptionorg.kuali.module.financial.web.struts.action.KualiFinancialDocumentActionBase#deleteSourceLine(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)protected void loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase) throws org.kuali.rice.kew.api.exception.WorkflowException
loadDocument in class KualiAccountingDocumentActionBaseorg.kuali.rice.kew.api.exception.WorkflowExceptionKualiDocumentActionBase.loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase)protected void populateSelectedAccountingPeriod(VoucherDocument voucherDocument, VoucherForm voucherForm)
voucherDocument - voucherForm - protected VoucherAccountingLineHelper populateVoucherAccountingLineHelper(VoucherForm voucherForm)
voucherForm - protected void populateAllVoucherAccountingLineHelpers(VoucherForm voucherForm)
voucherForm - protected org.apache.struts.action.ActionForward processRouteOutOfBalanceDocumentConfirmationQuestion(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 - Exceptionprotected VoucherAccountingLineHelper populateNewVoucherAccountingLineHelper(VoucherForm voucherForm)
voucherForm - public org.apache.struts.action.ActionForward uploadSourceLines(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws FileNotFoundException, IOException
uploadSourceLines in class KualiAccountingDocumentActionBasemapping - form - request - response - FileNotFoundExceptionIOExceptionprotected void uploadAccountingLines(boolean isSource, org.apache.struts.action.ActionForm form) throws FileNotFoundException, IOException
uploadAccountingLines in class KualiAccountingDocumentActionBaseisSource - form - FileNotFoundExceptionIOExceptionpublic org.apache.struts.action.ActionForward copy(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
copy in class org.kuali.rice.kns.web.struts.action.KualiTransactionalDocumentActionBaseExceptionKualiTransactionalDocumentActionBase.copy(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.