public class AuxiliaryVoucherForm extends VoucherForm
AuxiliaryVoucherDocument
can be accessed and modified through UI.Modifier and Type | Class and Description |
---|---|
protected class |
AuxiliaryVoucherForm.OpenAuxiliaryVoucherPredicate |
Modifier and Type | Field and Description |
---|---|
protected String |
originalVoucherType |
static String |
REVERSAL_DATE_DEFAULT_DAY_OF_THE_MONTH_PARM_NAME |
accountingPeriods, newSourceLineCredit, newSourceLineDebit, selectedAccountingPeriod, voucherLineHelpers
editableAccounts, forcedLookupOptionalFields, hideDetails, newSourceLine, newTargetLine, sourceFile, targetFile
forcedReadOnlyFields
adHocActionRequestCodes, attachmentFile, documentActions, editingMode, suppressAllButtons
Constructor and Description |
---|
AuxiliaryVoucherForm() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAccountingPeriodCompositeValueList() |
List<String> |
getAccountingPeriodLabelList() |
AuxiliaryVoucherDocument |
getAuxiliaryVoucherDocument() |
protected Date |
getAvReversalDate()
Gets today's date and then sets the day of the month as 15th, irrespective of the current day of the month
|
protected String |
getDefaultDocumentTypeName() |
String |
getFormattedAuxiliaryVoucherType()
Returns a formatted auxiliary voucher type:
|
String |
getFormattedReversalDate()
This method returns the reversal date in the format MMM d, yyyy.
|
String |
getOriginalVoucherType() |
protected int |
getReversalDateDefaultDayOfMonth()
get the reversal date default day of month defined as an application parameter
|
void |
populate(javax.servlet.http.HttpServletRequest request)
Overrides the parent to call super.populate and then to call the two methods that are specific to loading the two select
lists on the page.
|
void |
populateAccountingPeriodListForRendering()
This method generates a proper list of valid accounting periods that the user can select from.
|
void |
populateReversalDateForRendering()
Handles special case display rules for displaying Reversal Date at UI layer
|
void |
setAuxiliaryVoucherDocument(AuxiliaryVoucherDocument auxiliaryVoucherDocument) |
void |
setOriginalVoucherType(String originalVoucherType) |
getAccountingPeriod, getAccountingPeriods, getCurrencyFormattedCreditTotal, getCurrencyFormattedDebitTotal, getCurrencyFormattedTotal, getNewSourceLineCredit, getNewSourceLineDebit, getSelectedAccountingPeriod, getSelectedPostingPeriodCode, getSelectedPostingYear, getVoucherDocument, getVoucherLineHelper, getVoucherLineHelpers, populateCreditAndDebitAmounts, populateDefaultSelectedAccountingPeriod, populateSelectedVoucherAccountingPeriod, populateSourceAccountingLine, processDebitAndCreditForAllSourceLines, processDebitAndCreditForNewSourceLine, processDebitAndCreditForSourceLine, setAccountingPeriods, setNewSourceLineCredit, setNewSourceLineDebit, setSelectedAccountingPeriod, setVoucherLineHelpers, validateCreditAndDebitAmounts
createNewSourceAccountingLine, createNewTargetAccountingLine, customInitMaxUploadSizes, getAccountingLineImportInstructionsUrl, getCurrencyFormattedSourceTotal, getCurrencyFormattedTargetTotal, getEditableAccounts, getExcludedmethodToCall, getFinancialDocument, getForcedLookupOptionalFields, getHideDetails, getNewSourceLine, getNewTargetLine, getSourceFile, getTargetFile, harvestAccountingLines, isHideDetails, populateAccountingLine, populateAccountingLines, populateAccountingLinesForResponse, populateTargetAccountingLine, repopulateOverrides, setEditableAccounts, setForcedLookupOptionalFields, setHideDetails, setNewSourceLine, setNewTargetLine, setSourceFile, setTargetFile, shouldMethodToCallParameterBeUsed
extendDocInfoToThreeColumns, generateErrorCorrectionButton, getExtraButtons, populateHeaderFields
discoverDocumentTypeName, formatReversalDate, getForcedReadOnlyFields, getTransactionalDocument, instantiateTransactionalDocumentByDocumentTypeName, populateEmptyMultiSelect, populateFalseCheckboxes, populationSpecialEmptyFields, setForcedReadOnlyFields
addRequiredNonEditableProperties, buildHtmlLink, getActionRequests, getActionRequestsRequiringApproval, getAdditionalScriptFile, getAdditionalScriptFiles, getAdHocActionRequestCodes, getAdHocRoutePerson, getAdHocRoutePersons, getAdHocRouteWorkgroup, getAdHocRouteWorkgroups, getAnnotation, getAttachmentFile, getBoNotes, getCommand, getDocId, getDocNum, getDocTypeName, getDocument, getDocumentActions, getDocumentHandlerUrl, getEditingMode, getFormKey, getInitiator, getInitiatorNetworkId, getMessageMapFromPreviousRequest, getNewAdHocRoutePerson, getNewAdHocRouteWorkgroup, getNewNote, getPersonInquiryUrlLink, getSelectedActionRequests, getStandardHeaderFields, getSuperUserAnnotation, getWorkflowDocument, hasDocumentId, initializeHeaderNavigationTabs, instantiateDocument, isDocumentEnRoute, isFormDocumentInitialized, isHasWorkflowDocument, isReturnToActionList, isStateAllowsApproveOrDisapprove, isStateAllowsApproveSingleActionRequest, isStateInitiatedFinalCancelled, isStateProcessedOrDisapproved, isSuperUserActionAvaliable, isSuperUserApproveDocumentAuthorized, isSuperUserApproveSingleActionRequestAuthorized, isSuperUserAuthorized, isSuperUserDisapproveDocumentAuthorized, isSuppressAllButtons, isUserDocumentInitiator, reset, setActionRequests, setAdditionalScriptFile, setAdditionalScriptFiles, setAdHocActionRequestCodes, setAdHocRoutePersons, setAdHocRouteWorkgroups, setAnnotation, setAttachmentFile, setBoNotes, setCommand, setDerivedValuesOnForm, setDocId, setDocNum, setDocTypeName, setDocument, setDocumentActions, setEditingMode, setFormKey, setMessageMapFromPreviousRequest, setNewAdHocRoutePerson, setNewAdHocRouteWorkgroup, setNewNote, setReturnToActionList, setSelectedActionRequests, setSuperUserAnnotation, setSuppressAllButtons, shouldPropertyBePopulatedInForm, validate
clearEditablePropertyInformation, getActionFormUtilMap, getAnchor, getBackLocation, getCurrentTabIndex, getDisplayedErrors, getDisplayedInfo, getDisplayedWarnings, getDocInfo, getExtraButton, getFieldNameToFocusOnAfterSubmit, getHeaderNavigationTabs, getMethodToCall, getNavigationCss, getNextArbitrarilyHighIndex, getNumColumns, getRefreshCaller, getTabState, getTabStates, incrementTabIndex, isFieldLevelHelpEnabled, populateBackLocation, populateFieldLevelHelpEnabled, reset, retrieveFormValueForLookupInquiryParameters, setActionFormUtilMap, setAnchor, setBackLocation, setCurrentTabIndex, setDocInfo, setExtraButton, setExtraButtons, setFieldLevelHelpEnabled, setFieldNameToFocusOnAfterSubmit, setHeaderNavigationTabs, setMethodToCall, setNavigationCss, setNumColumns, setRefreshCaller, setTabStates
addMaxUploadSize, cacheUnconvertedValue, copyPopulateEditablePropertiesToActionEditableProperties, formatterClassForKeypath, formatValue, getActionEditablePropertiesGuid, getEditableProperties, getFormatter, getFormatterTypes, getIsNewForm, getMaxUploadSizes, getMethodToCallsToBypassSessionRetrievalForGETRequests, getParameter, getParameterValues, getPopulateEditableProperties, getPopulateEditablePropertiesGuid, getPropertyType, getRequiredNonEditableProperties, getStrutsActionMappingScope, getUnconvertedValues, getUnknownKeys, initMaxUploadSizes, isPropertyEditable, isPropertyNonEditableButRequired, populateForProperty, postprocessRequestParameters, processValidationFail, registerEditableProperty, registerIsNewForm, registerRequiredNonEditableProperty, registerStrutsActionMappingScope, setActionEditablePropertiesGuid, setFormatterType, setFormatterTypes, setPopulateEditablePropertiesGuid, setUnconvertedValues
protected String originalVoucherType
public static final String REVERSAL_DATE_DEFAULT_DAY_OF_THE_MONTH_PARM_NAME
public AuxiliaryVoucherForm()
protected String getDefaultDocumentTypeName()
getDefaultDocumentTypeName
in class KualiDocumentFormBase
public void populate(javax.servlet.http.HttpServletRequest request)
populate
in interface org.kuali.rice.kns.web.struts.form.pojo.PojoForm
populate
in class VoucherForm
org.kuali.rice.kns.web.struts.pojo.PojoForm#populate(javax.servlet.http.HttpServletRequest)
public AuxiliaryVoucherDocument getAuxiliaryVoucherDocument()
public void setAuxiliaryVoucherDocument(AuxiliaryVoucherDocument auxiliaryVoucherDocument)
serviceBillingDocument
- The serviceBillingDocument to set.protected Date getAvReversalDate()
public void populateReversalDateForRendering()
public String getFormattedReversalDate()
getFormattedReversalDate
in class VoucherForm
public String getOriginalVoucherType()
public void setOriginalVoucherType(String originalVoucherType)
originalVoucherType
- public String getFormattedAuxiliaryVoucherType()
public void populateAccountingPeriodListForRendering()
populateAccountingPeriodListForRendering
in class VoucherForm
VoucherForm.populateAccountingPeriodListForRendering()
public List<String> getAccountingPeriodCompositeValueList()
public List<String> getAccountingPeriodLabelList()
protected int getReversalDateDefaultDayOfMonth()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.